Uninstalling Applications in Server Core
Hi,
How do I uninstall applications/programs in Server Core as there is no add/remove programs option.
Thanks,
Sudhir
Answers
Sudhir,
I've been thinking about this too and I came to the conclusion that there are actually four places to watch for the information that 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
I hope this information helps.
-
All Replies
Hi,
It depends on the application/program. If it is an MSI based install you can run: msiexec /uninstall <msi name>
You can run msiexec /? to see all the options and syntax.
Andrew
Sudhir,
I've been thinking about this too and I came to the conclusion that there are actually four places to watch for the information that 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
I hope this information helps.
-
Hi,
Thanks a lot for your inputs. I was able to uninstall the application using the UninstallString from the registry. Appreciate your inputs in helping us resolve this.
Regards,
Sudhir
