Q. How can I use the command line to uninstall an application?
John Savill
July 14, 2008
1 Min Read
A. You can use the Windows Instrumentation command-line interface (WMIC) to uninstall an application if you know the name of the application. (To learn how to use the command line to obtain a list of all the applications installed on a computer, see the July 14, 2008, FAQ "How can I use the command line to receive a list of all the applications installed on my computer?"). The uninstall command is
For example, to remove the Microsoft Forefront Client Security State Assessment Service software from my computer, I used the following code (which is followed by the output from my computer):
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like