Cannot re-register VMWARE workstation

  • 3273817
  • 31-Oct-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

ERROR: "[DEBUG] [30/07/2007 19:32:10] [] [RegistrationManager] [] [Error during device registration: Unexpected server result. Server code: -34. Server message Invalid Device Authentication Information.] [] []"
shown in %ZENWORKS_HOME%\logs\LocalStore\zmd-messges.log
After installing the ZCM agent on a workstation, then reverting to a snapshot taken prior to the install, when re-installing the agent, the workstation will not register.

Resolution

There are three ways to fix this:
  1. Delete the GUID from the registry
    (ZCM 10.3 onwards, HKLM\Software\Novell\ZCM\PreAgent
    for previous versions, HKLM\Software\Novell\Zenworks\PreAgent
  2. Remove the workstation from the database.
  3. In ZENworks 10.2.1 and above use
    zac reg -g
    to create a new GUID for this device.  NOTE:  -g must not be used on a server or satellite device.

Additional Information

The problem occurs, because the workstation has registered, and ZCM expects that it will know the password it was provided with at registration time: the workstation will not know the password, because the VMWARE snapshot was from a time prior to registration. Deleting the GUID from the registry will make the workstation register as a fresh device, as will removing the device from the database.