Tuesday 11 November 2014

Uninstall an application or program through SCCM or CMD line

Although there are a great many different ways to uninstall an applicaiton or program, one of the most straightforward and customisable options is to use wmic. If you need to quickly uninstall a particular applicaiton or program use the following cmd line:

wmic.exe product where "name like 'Example Program'" call uninstall

It's worth noting that you can also utilise the % if, for example you wish to uninstall all verisons of a given program, e.g.

wmic.exe product where "name like 'Adobe Reader%'" call uninstall

If you need to perform a mass uninstall, simply create an empty package and set the program to run the above command line:

No comments:

Post a Comment