Unable to script removal of ZCM Agent

  • 7001445
  • 27-Sep-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management Installation - Agent
Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1 Installation - Agent

Situation

Although the ZCM agent can be uninstalled through add/remove programs, there is no way to automate this in a script or batch file.

Since 10.1 was released, it has been reported that using the quiet switch stops the uninstall program from exiting

Resolution

For the ability to uninstall automatically: This is fixed in version 10.1 - see KB 7001200 "ZENworks 10 Configuration Management with SP1 (10.1)" which can be found at https://www.novell.com/support

To uninstall the agent programmatically, use the command
"%ZENWORKS_HOME%\bin\zenworksuninstall.exe" --quiet
For the inability to use the quiet switch, this is fixed in version 10.1.2 - see KB 7001914 "ZENworks 10 Configuration Management 10.1.2a - patch information and list of fixes" which can be found at https://www.novell.com/support

Additional Information

Using "%ZENWORKS_HOME%\bin\zenworksuninstall.exe" -help will show the available options for this command