7.2 Uninstalling a Windows Primary Server, Satellite, or Managed Device

Before uninstalling the ZENworks software from the Windows Satellite, if you demote the device to managed device, you must run the uninstallation program only after the Satellite roles (Authentication, Imaging, Content, and Collection) are removed from the device. To ensure that the roles are removed from the Windows managed device, double click the ZENworks icon icon in the notification area. The left navigation pane should not contain the Satellite pages.

To uninstall a Windows Primary Server, Satellite, or managed device:

  1. On the server or managed device, run:

    zenworks_installation_directory\novell\zenworks\bin\ZENworksUninstall.exe
    

    To see the list of uninstall options, run ZENworksUninstall.exe --help.

  2. Refer to the information in the following table during uninstallation.

    The information is listed in the order of the uninstallation flow.

    Information

    Explanation

    Administrator Information of the zone to which the device is registered

    Configure the following settings:

    Primary Server: Specify the IP address of the Primary server in the following format:

    https:// IP_address or DNS_name_of_the_server:port_number

    NOTE:You must specify the port number if you are not using the default port.

    Username: Specify the username. By default, the username is administrator.

    Password: Specify the password for the ZENworks administrative user specified in the Username field.

    Local Uninstallation Only (Retain the Device in the Zone): Select this option if you only want to uninstall ZENworks software from the device. The device continues to be registered in the Management Zone.

    NOTE:Ensure that you have the permission to uninstall the ZENworks Adaptive Agent. The Allow Users to Uninstall Agent option must be selected by the zone administrator in ZENworks Control Center (the Configuration tab > Management Zone Settings > Device Management > ZENworks Agent > General).

    This option is useful if you don’t have a connection with the Management Zone when you want to remove ZENworks from the device, or if the device’s ZENworks installation is corrupted and needs to be reinstalled.

    If you select the Local Uninstallation Only (Retain the Device in the Zone) option, then click Next, the Components To Be Retained page is displayed.

    Operations To Perform

    Select an option:

    • Retire the Device from the Zone: Makes all ZENworks operations ineffective on the managed device. However, the ZENworks Adaptive Agent is not uninstalled and the device continues to be registered in the Management Zone. This option is available only for a managed device.

    • Uninstall the ZENworks Agent and Unregister the Device from the Zone: Uninstalls ZENworks Adaptive Agent from the device and removes the device from the Management Zone.

      NOTE:Ensure that you have the permission to uninstall the ZENworks Adaptive Agent. The Allow Users to Uninstall Agent option must be selected by the zone administrator in ZENworks Control Center (the Configuration tab > Management Zone Settings > Device Management > ZENworks Agent > General).

    • Uninstall the ZENworks Server and Unregister the Device from the Zone: Uninstalls the ZENworks Server from the device.

      WARNING:If this device hosts the Management Zone, then the zone is also removed.

    • Transfer the Device to Another Zone: Unregisters the managed device from the existing zone and reregisters it to the new Management Zone. This option is available only for the managed device.

      If you select the Transfer the Device to Another Zone option, then the New Zone Information page is displayed.

    • Demote the Satellite Server: Demotes the Satellite to a managed device and removes all the roles assigned to the server. This option is available only for the Satellite.

    New Zone Information

    This page is displayed only if the Transfer the Device to Another Zone option is selected in the Actions page.

    Configure the following settings:

    New Primary Server: Specify the IP address of the new Primary server in the following format:

    https:// IP_address or DNS_name_of_the_server:port_number

    NOTE:You must specify the port number if you are not using the default port.

    Username: Specify the username. By default, the username is administrator.

    Password: Specify the password for the ZENworks administrative user specified in the Username field.

    Components To Be Retained

    This page is displayed only if you chose to uninstall the Primary Server, have selected the Local Uninstallation Only (Retain the Device in the Zone) option, or have selected the Demote the Satellite Server option for the Satellite with the Imaging role.

    Select an option:

    • ZENworks Pre-Agent: Leaves the ZENworks Pre-Agent installed on the device, but removes all other ZENworks software. By default, this is not selected. If the ZENworks Pre-Agent continues to remain on the device, then it responds to the Advertised discovery requests, and also to ZENworks Ping requests if an IP-based discovery is performed on the device.

      To remove the ZENworks Pre-Agent from a device after ZENworks has been uninstalled from the device, see Removing the ZENworks Pre-Agent from a Device in ZENworks 10 Asset Management System Administration Reference.

    • CASA: Leaves the CASA software installed. By default, this is selected because CASA can be used by other software programs.

    • ZENworks Imaging Files: Leaves the ZENworks Imaging files on the device. By default, this is selected.

    NOTE:If you have selected the Demote the Satellite Server option and the device has the Imaging role configured, or if the device is a Primary Server, then only the ZENworks Imaging Files option is enabled.

    Uninstallation Summary

    Review the information and, if necessary, use the Back button to make changes to the information.

    Status

    Displays the status of uninstallation.

    By default, the Restart Now option is selected.

    Restarting completes the uninstallation process. Some files are not deleted until the device is restarted.

  3. Click Finish to complete the uninstallation.

    If you selected Restart Now, the device is rebooted to complete the uninstallation. If not, the uninstallation is not complete until you reboot.

  4. If there are any files in the following locations after the device has rebooted, you can delete them manually:

    • CASA: If you select to retain CASA during the uninstallation, and want to remove it later, you can do it from Windows Add/Remove Programs. If the c:\program files\novell\casa directory exists even after you select to uninstall CASA, you can manually delete it.

    • ZENworks: Log files are purposely left here for your review. You can manually delete the ZENworks_installation_path\ZENworks directory at any time.

  5. For Windows, if the ZENworks Control Center icon remains on the desktop, you can manually delete it.

  6. (Conditional) If you have uninstalled the ZENworks agent, you must manually delete the registry entries from the Windows managed device that has ZENworks 10 Asset Management SP3 uninstalled (after it has rebooted).

    1. Launch the Windows Registry Editor.

    2. Search for the following files, and delete their registry entries:

      • nalshell.dll
      • nalui.dll
      • nalredir.tlb
      • msrdp.ocx
    3. (Conditional) On Windows 2000, delete HKey_Local_Machine\Software\Netware.

    4. Close the Windows Registry Editor.