How to Uninstall Software Remotely via Command Line Tool

Author: Peter Barnett           Date: Jan 25, 2019

In this manual, I will show how you can uninstall software remotely using command line (and not delete files, but silent 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 Command Prompt as Administrator

In order to remove the program via the command line from remote computer, 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.

Step 1 to uninstall software remotely using command line is to open CMD

2. Enter the Necessary Command in Cmd Software Shell

In the command line window that appears, type wmic and click Enter on the keyboard. As a result wmic cli tool will be opened.

Step 2 to uninstall software remotely using command line is to type wmic command

3. The next Step to Uninstall Software Remotely Using Command Line

Enter the following command in the console:

product get name
this will display a list of software installed on the computer.

Step 2 to uninstall software remotely using command line is to enter the command product where name = ”program name” call uninstall

4. Enter the Following Command to Remove Software

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 successful. You can close the command line.

Enter the command: product where name

Consider using Action1 to uninstall software remotely if:

  • - You need to perform this action on multiple (hundreds or even thousands) computers simultaneously.
  • - You have remote employees with computers not connected to your corporate network at all times.

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


Fully functional free edition for up to 10 endpoints with no expiration date. More details >

Relevant How To Articles and Action1 Features:

By continuing to use our website, you agree with our use of cookies in accordance with our Privacy Policy. You can reject cookies by changing your browser settings.     
Ok, got it