Uninstall agent command?
We have been having a lot of issues with the agent sticking in "Unavailable" status. We are trying to get all of the agents uninstalled until this problem is resolved but when we click on a group of computers and choose "Uninstall Agent" it only uninstalls the agent about 25% of the time.
I'd like to setup a command line (package) to try and uninstall these agents on a schedule so I don't have to keep babysitting this process. What is the command to silently uninstall an agent from a workstation?
Comments
We are announcing the End of Life (EOL) of the optional PDQ Agent beta from our existing products. See this blog post for more information https://www.pdq.com/blog/pdq-agent-status-update/
FYI, I tried building an uninstall using Deploy but the uninstall deployment fails on every machine with the output log of:
C:\WINDOWS\AdminArsenal\PDQDeployRunner\service-1\exec>MsiExec.exe /qn /norestart /X{00F0B157-FEFB-4959-AC71-9D90AB8DAD2D}
It's throwing an error code of 1605 which means that the application is not installed but according to Inventory the Agent is installed.
Switch to Inventory Local Mode and use the Uninstall (right mousebutton) option. This removes the Agent Info from the DB. The Agents are uninstalled, but the current collection doesen‘t use the application entry, it use a extra DB entry.
There is a known issue with 16.3 where the uninstall doesn't clear out the database correctly. If you run it again a couple times it should clear everything out. I believe the latest customer build fixes this.
Got it, thanks everyone.
The Agent have different GUIDs for different versions.
You'll have to dynamically retrieve the GUID before running the install. PDQ Inventory should be able to generate a report on the uninstall string for the Agent as well.
Or use a PowerShell script that grabs the GUID out of the Registry.
This answer is from a year ago. I just want to confirm that if we want to uninstall PDQ Agent from all computers, this is still the best way to uninstall en mass?
Hi Robert, I'm in the same boat as you. Did you ever find an efficient way to uninstall Agent from all computers quickly?
I don't believe you need to switch to Local mode anymore. You should be able to fire off the uninstall from Server mode.