10.8 Unregistering a Device

A device is automatically unregistered when the ZENworks Agent is uninstalled. You can manually unregister a device if necessary.

Unregistering a device by using zac

Unregistration of a device can be done at the device using ZENworks Agent command line utility (zac):

  1. At the device, open a command prompt.

  2. Enter the following command:

    zac unr [-f] [-u ZENworks Administrator username -p ZENworks Administrator password]

    For example:

    zac unr -u zadmin -p novell

    The -f, -u, and -p parameters are optional. If you do not use the -u and -p parameters, you are prompted to enter a username and password. The -f parameter ignores the ZENworks database and forces the device to be unregistered locally; this option is only necessary if the device object has already been deleted from the ZENworks database or if the device cannot connect to the database.

Unregistering a device by using the Unregister Device action

To manually unregister a device, do the following:

  1. Log in to ZENworks Control Center.

  2. Click Devices > Managed.

  3. Select either Servers or Workstations as the type of the device, then select the devices you want to unregister from the Management zone. The unregistered devices will be removed from ZCC, and you will not be able to reregister the device through ZCC. However, you can use the zac reg command to reregister the device.

  4. Click Action > Unregister Device.