Uninstall Script from PDQ Inventory Uninstall
Martin Rudolph
I know you can uninstall specific applications from the PDQ Inventory asset applications tab, is there a way to generate a PDQ Deploy uninstall script automatically from that information? I know its not difficult to use the uninstall string to create one myself, just looking to streamline application deployments and uninstalls.
0
Comments
Hi Martin,
There isn't a native way to take the information from Inventory and create the package automatically in Deploy without a little cutting and pasting. I've found through personal experience that testing those commands in the Remote Command Window first is best practice as we only report what the software vendors have entered into the registry for their product. This information is not always right and sometimes not reported at all.
Once you've tested the commands and find them to be viable solutions, you can copy them and the Success Codes that were in the Remote Command Window and have a Deploy package in just a few minutes.
In this case I want to uninstall Picasa 3 but when I run the Uninstall command that's given, I get a Return Code of 0 but on further investigation and a fresh scan I see that it's still installed. A little Google Fu from this site and I was able to find the right parameters to make this work.
Ok, so I want to give this one an upvote. I was just sitting here thinking the same thing. There should be in a way in PDQ Inventory to do two things.
1. I look at the inventory of a machine, if I see a program I would like to inventory installed on that machine, let's say some kind of new weird toolbar that has managed to get installed, I should be able to right click and create a new inventory collection from that information.
2. When I open the uninstall for it, I should be able to export that information to PDQ Deploy and cut down on my work creating an uninstall deployment. I should definitely test it myself, but it would cut down on my work if it would allow me to get the uninstall, success codes, and throw that over to PDQ Deploy.
**Feature Request**
Thanks,
Tim Bryant
There's already an internal feature request ticket for #1. I also created a ticket for #2.
I the meantime, here's a script that will create packages for every Uninstall string in your database. It's a bit impractical, but kind of fun :)
https://support.adminarsenal.com/hc/en-us/community/posts/114095482692