Is there a way I can uninstall programs without the graphical interface and doing it via CMD?
|
Every program that properly installs itself according to Microsoft's guidelines makes a registry entry in If you already know ahead of time what you will be uninstalling, it should be easy enough to just put that in your batch file. It gets tricky when you try to automate that process though. You can use the |
|||
|
|
|
If a program uses Windows Installer, you can use one of the following commands:
However, you're likely have neither the product code nor the original MSI file used for installation. Other than that, there is no generic uninstall command, since installers that do not make use of Windows Installer are "unknown" by the operating system. They might supply their own uninstall executable, but whether that executable includes a way to run it without GUI depends on the individual software package. |
||||
|
|
|
If you know where the MSI installer file is you can use:
|
|||
|
|