How to Uninstall an Application from the Command Prompt in Windows
If you ever need to uninstall a program using batch script or Command Prompt then this tutorial will guide you on how to uninstall programs using a Command Prompt.

1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows Vista and later versions of Window operating systems type cmd.exe into Start Screen or Start Menu, right-click on Cmd.exe, and open it as an administrator.

2. Type following command and press Enter key.

Code:

Wmic


2. Type following command and press Enter key to generate a list of installed applications.

Code:

product get name


How to Uninstall an Application from the Command Prompt in Windows ELKeeKE

3. Type following command and press Enter key.

Code:

product where name="application 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 Chrome, The command would look like this:

Code:

product where name="chrome" call uninstall


4. When prompted, input Y to confirm that you wish to uninstall the application and press Enter.

That's it, the application will be uninstalled.