I wanted to remove an installed app from my server core, and it came to my attention: I’ve got no idea how to really get this done!
So, the short of it- its pretty simple. I wanted to remove a barracuda backup agent, and so I used the Regedit method.
Thanks to Sander Berkouwer for the info.
The “Add or Remove programs” Control Panel applet (appwiz.cpl) shows:
-
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
(use regedit.exe or regedt32.exe to modify the registry) -
wmic product (which only shows installed software through msiexec, fast but incomplete)
-
sc query type= driver (for installed drivers)
-
wmic qfe (for installed Windows updates)
How to uninstall software depends on where you found the program to uninstall. Respectively you should:
- Use the UninstallString registry value as commandline
-
Use msiexec /x package.msi (More info)
-
Use pnputil -u -f drivername.inf (More info)
-
Use Wusa.exe patchname.msu