Uninstalling multiple programs in Windows 7?
Solution 1:
You could use PowerShell and WMI to find programs based on search patterns, and then issue an uninstall.
Here's an example script I've used successfully many times:
$apps = Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name like '%Partial Product Name%'"
foreach ($app in $apps) {
"Name = " + $app.name
$app.Uninstall()
}
So, for example, changing the filter to '%Microsoft%'
would attempt to uninstall every program listed in Add/Remove programs that has the word "Microsoft" in its name.
You could also expand on WMI query (WQL) with OR
commands to search for more than one pattern at the same time.
More info:
- Use PowerShell to Find and Uninstall Software
- How can I uninstall an application using PowerShell?
- Uninstall method of the Win32_Product class
Solution 2:
It's possible but not via Windows. You would need 3rd party software to uninstall in bulk. Here is a list of some good ones: http://www.makeuseof.com/tag/install-uninstall-programs-bulk-windows/