WSUS Deprecation: Your Next Move in Patch Management

This Wednesday | 12 PM EST / 11 AM CET

Action1 5 How-to Articles 5 How to Uninstall Software Remotely via Command Line Tool

How to Uninstall Software Remotely via Command Line Tool

January 25, 2019

By Peter Barnett

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 an action on multiple computers simultaneously.
  • You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software deployment, remote desktop, software/hardware inventory, endpoint management, and endpoint configuration.

See What You Can Do with Action1

 

Join our weekly LIVE demo “Patch Management That Just Works with Action1” to learn more

about Action1 features and use cases for your IT needs.

 

spiceworks logo
getapp logo review
software advice review
trustradius
g2 review
spiceworks logo

Related Posts