Showing results for 
Search instead for 
Did you mean: 
New member
2 1 0 0
Message 1 of 2
Flag Post

HP SA automated uninstall

HP Recommended
HP Server Automation agent ver 60.0.72215.1
Microsoft Windows Server 2012 and older

I've tried various methods for an automated uninstall of the HP SA agent on Windows servers.  I'm unable to get a true unattended removal to work.  I've tried the following to no avail, any thoughts?  


START /WAIT CMD.EXE /c msiexec /q /x {D9ADF11F-7A67-4E70-BD89-F29DE876C982}
^that using the GUID from the uninstall registry hive, it spawns a window and requires two confirmations, 'y'
I've also tried this one in a couple forms:
start "Uninstall" /WAIT /SEPARATE cmd.exe /C "%SYSTEMDRIVE%\Program Files\Opsware\agent\pylibs\cog\uninstall\agent_uninstall.bat" --force
^that calls the msi uninstall in the same path. 
also tried:
set OPSW_DIR=%SystemDrive%\Program Files\Opsware
set AGENT_DIR=agent
set uninstall_msi=%ADIR%\pylibs\cog\uninstall\agent_uninstall_x64.msi
msiexec /qn /x "%uninstall_msi%" REMOVE_MSI_ONLY=1



0 Kudos
New member
2 1 0 0
Message 2 of 2
Flag Post
HP Recommended

Also tried deactivating the server from the HPSA console.  Same issue/error as before.  Output is from the msiexe using the uninstall QUID from the registry.  


START /WAIT CMD.EXE /c msiexec /q /x {D9ADF11F-7A67-4E70-BD89-F29DE876C982}


Spawned window:

info: Launching opsware uninstaller
info: Working directory: C:\Program Files\Opsware\agent\pylibs\cog\uninstall
info: Command interpreter: C:\Program Files\Opsware\agent\lcpython15\python.exe
info: arguments:
0: "C:\Program Files\Opsware\agent\lcpython15\python.exe"
1: "C:\Program Files\Opsware\agent\pylibs\cog\uninstall\agent_uninstall.pyc"
Looking for Opsware agent to uninstall.

WARNING: This server's list of attached nodes could not be determined.
This is likely due to a network condition preventing this server from
contacting the Opsware core or because this server has not been
previously registered or is already deactivated.

Do you want to proceed with uninstalling the Opsware Agent? [y/n]:

0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation