How to uninstall an application from command line?
Uninstall an Application from the Command Line
WMIC - Windows Management Instrumentation Command.
1. Open a command prompt.
2. Type WMIC. You will see a prompt that looks like,
3. At the new prompt, execute the following command:
wmic:rootcli>product get name
This will generate a list of installed applications.
Adobe Flash Player 9 ActiveX
Internet Explorer Developer Toolbar
4. At the prompt, execute the following command:
wmic:rootcli>product where name="" call uninstall
where application name is the name of the program you wish to uninstall
(use the exact name provided by the previously generated list).
For example, if I want to uninstall Adobe Reader 9, my command would look like this:
wmic:rootcli>product where name="Adobe Reader 9" call uninstall
5. When prompted, type "y" to confirm that you wish to uninstall the application and press Return.
The application will be uninstalled.