Useful command for identifiying and removing software remotely

I found a very useful command for quickly removing software from a PC remotely and wanted to share it.



An example of how I just used it:


a user requested that the recently installed program be uninstalled from a select list of PCs.

I created a text file on my c: drive called “UninstallList.txt.” containing the names of the PCs she wanted it removed from.

At Start -> Run I entered wmic

From there I ran the command:


/failfast:on /node:@"c:\UninstallList.txt" product where name="Leadbuilder 2008.1 Monitor" call uninstall /nointeractive


It ran through the list and uninstalled the program from all the PCs.


Done.  No errors.


There may be more effective ways of doing this through SCCM, but I found this to be a quick and simple solution in this case and thought you might find it useful yourselves one day.


This post is locked
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ