HOWTO: Uninstall software remotely using command line

In this manual, I will show how you can uninstall software remotely from your computer using the command line (and not delete files, but uninstall the program), without going into the control panel and running the Programs and Features applet. I do not know how much this will be useful to most readers in practice, but I think the opportunity itself will be interesting to someone.

1. Open CMD:

   - In order to remove the program via the command line, first of all run it as an administrator. In Windows 7, to do this, find it in the Start menu, right-click and select Run as Administrator, and in Windows 8 and 8.1, you can click the Win + X keys and select the desired item from the menu.

2. Type wmic:

   - At the command prompt, type wmic.

3. Enter the command product get name:

   - Enter the command
product get name
this will display a list of installed programs on the computer.

4. Enter the command: product where name = ”program name” call uninstall:

   - Now, to remove a specific program, enter the command:
product where name = ”program name” call uninstall
in this case, you will be asked to confirm the action before uninstalling. If you add the / nointeractive parameter, the query will not appear.
When the program is completed, you will see the message Method execution successfull. You can close the command line.

Also consider using Action1 to uninstall software remotely if:
- You need to perform this action on multiple (hundreds or even thousands) computers simultaneously.
- Some of your endpoints are laptops not connected to corporate network at all times.

Action1 is a cloud-based platform for software deployment, software/hardware inventory, patch management, endpoint configuration and more. It is free with basic functionality.

Other Relevant HOWTOs: