• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
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
 
 
 
 
 

 

 

1 REPLY 1
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]:

 
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.