Windows Instrumentation command-line interface (WMIC)

By using the Windows Instrumentation command-line interface (WMIC), you can easily uninstall an application without having to use the GUI. Once you become familiar with the steps, it will be much faster than having to access the Add/Remove Programs applet in the Control Panel.

1. In a command prompt type WMIC and press Return. You will see a prompt that looks like this: wmic:root\cli>

2. At the new prompt, execute the following command that will generate a list of installed applications : product get name

3. At the prompt, execute the following command: 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 were wanting to uninstall 7-Zip 9.20 , my command would look like this:
product where name="7-Zip 9.20 (x64 edition)" call uninstall

5. When prompted, input y to confirm that you wish to uninstall the application and press Return.

If you get ReturnValue = 0; then the application is uninstalled.

Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 0;
};

6. Sometimes WMIC is unable to uninstall applications and you get ReturnValue = 1603; :

Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 1603;
};

wmic:root\cli>