Application Delivery Management
Application Modernization & Connectivity
CyberRes by OpenText
IT Operations Management
How to automatically remove the ZCM 10.0.3 agent (silently) via a script
If you need to remove the 10.0.3 agent via a script (run as a batch file, placed in a login script or GPO in AD), here's some information you'll need first.
Here's a batch file I created that will remove the agent silently and then reboot the workstation. This was only tested with ZCM 10.0.3 on Windows XP. It may work with ZCM 10.1, but I would expect the GUID numbers to be different. ZCM 10.1 also does appear to need the Windows Firewall to be active as well (again, for some strange reason).
@echo off
cd "C:\Program files\novell\zenworks\bin"
REM This starts the Windows XP Firewall Service
net start sharedaccess
REM This removes the ZCM agent from the workstation ONLY.
zenworksuninstall.exe -c -q
REM This removes the Novell CASA Authentication Token Client
MsiExec.exe /x{E016C7E1-AC80-4C90-9F8B-3EF16ABA2834} /qb!
REM This removes the CASA Client
MsiExec.exe /x{F5313E94-F17E-4AF6-8E46-6D97ECF4C370} /qb!
REM This stops the Windows XP Firewall Service
net stop sharedaccess
REM This reboots the workstation with a 30 second countdown
shutdown -r
@echo off
cd "C:\Program files\novell\zenworks\bin"
net start sharedaccess
zenworksuninstall.exe -c -q
MsiExec.exe /x{E016C7E1-AC80-4C90-9F8B-3EF16ABA2834} /qb!
MsiExec.exe /x{F5313E94-F17E-4AF6-8E46-6D97ECF4C370} /qb!
net stop sharedaccess
shutdown -r
Windows XP with the XP Firewall Service shut off (ie, using third party firewall such as Cisco Security Agent)
ZCM 10.0.3
You want to remove the ZCM agent from the workstation only (ie, not remove it from the ZONE). Useful if the ZCM server is not working or no longer in existence anymore.