fb
Homepage 5 How-to Articles 5 3 Ways To Uninstall Software Remotely Using WMI on Windows

3 Ways To Uninstall Software Remotely Using WMI on Windows

Manage remote endpoints, deploy software and patches with Action1 cloud RMM solution.

Sign up and use free on up to 50 endpoints with no functionality limits or expiration.



February 7, 2020

 AcSRemoving single or multiple programs from remote computers is a common administrative task. There are many solutions and software tools available for uninstalling and installing software on remote computers. This article explains how to uninstall software on remote machines using built-in Windows tools by using Windows Management Instrumentation (WMI), as well as how to remove several apps from multiple remote computers in bulk using Action1.

What Is Windows Management Instrumentation Command

WMI is Windows Management Instrumentation. From the name, it is clear why this technology was created and applied. It is worth adding that it has long stepped over the scope of managing only the Windows operating system and allows controlling many other compatible applications.

WMI is an enhanced and adapted Microsoft implementation of the WBEM standard (WebBased Enterprise Management by DMTF Inc). At the heart of WBEM is the idea of ​​creating a universal monitoring and control interface to various systems and components of a distributed enterprise information environment using an object-oriented ideology and widespread web-based information presentation technologies: XML and HTTP protocols. The WBEM standard is the successor to the DMI standard (Desktop Management Interface).

The basis of the data representation structure in the WBEM standard is CIM (Common Information Model – a general type of information model) that implements an object-oriented approach to representing system components as classes with their own set of properties and methods, as well as inheritance principles.

How to Start Windows Management Instrumentation

WMI is launched from the command line. You can open the command line from “Start -> All Programs -> Accessories -> Command Prompt”, or just press the “WIN + R” keys, the “Run” window will open in which in the “open” box type “cmd” and click “OK “

uninstall software remotely

In the command window that opens, type wmic and press “Enter”

uninstall software from remote computer

Thus, we launched a console utility for interacting with the WMI structure on a local or remote computer. Now using the WMI Query Language (WQL), you can execute various WMI commands.

For example, we get the entire list of installed software on a remote computer. To do this, run the following query:

/ node: {computer name} product get name

Where instead of {computer name} we substitute the name of the remote and local machine with which you want to get an installed programs list. The computer name is better for quoting. Click “Enter”, wait for some time to collect information and get about the following picture:

delete software remotely

How to Uninstall Software Using WMI

You can remove the program using the following query:

/ node: {computer name} product where name = {program name} call uninstall

Where instead of {computer name} we insert the name of the computer from which the program will be deleted, and instead of {program name} the name of the deleted program as in the received software list.

For example, we need to remove “Microsoft Office Professional Plus 2010”. Then the query will look something like this:

/ node: {home2} product where name = "Microsoft Office Professional Plus 2010" call uninstall

Press “Enter” and respond to the request for offers to remove the program Y:

  • wmic:root\cli>/node:"tep-ws000010" product where name="Microsoft Office Professional Plus 2010" call uninstall
  • Execute (\\TEP-WS000010\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{90140000-0011—0000-1000-0000000FF1CE}",Name="Microsoft Office Professional Plus 2010",Version="14.0.4763.1000") -
  • >Uninstall () (Y/N/?)? Y

After the attempt to delete, a message about the results will be displayed. In case of successful deletion, the message will look like this:

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

How to Uninstall Software Using Action1:

Step 1: Log in to your Action1 dashboard

Action1 rmm software console

Step 2: Enter AD Domain in Discovery Settings

remotely uninstall software

Step 3: See All Managed Computers

Action1 will automatically find all domain computers and show them in the list of managed endpoints.

Step 4: Select Programs to Uninstall

Navigate to Installed Apps to see the entire list of programs installed on all computers on your entire network, filter the list by program name and then select the apps you want to uninstall:

how to uninstall software remotely action1 rmm

Step 5: Confirm Programs to Uninstall

Review the list and click Next Step:

how to uninstall software remotely action1 rmm

Step 6: Select Computers

Select the individual computers or groups or computers from which you want to remove the apps and click Next Step:

how to uninstall software remotely action1 rmm

Step 7: Run Now or Schedule

You can then start the uninstall immediately or set it to ran later, such as overnight, to avoid any disruption to your users. Click Finish after choosing the appropriate uninstallation time:

how to uninstall software remotely action1 rmm

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 automation, software distribution tools, remote desktop, software asset inventory, endpoint management.

Related Articles

How To Delete User Profiles Remotely with PowerShell

When a user logs onto the computer for the first time (not via the network to access shared folders or printers), Windows creates a user profile. Among its contents are the NTUSER.DAT file (user profile settings), user-specific folders (My Documents, Desktop, etc.),...

About Action1 RMM

Action1 RMM is a cloud-based IT solution for remote monitoring and management, patching, and remote support.

Start your free two-week trial of Action1, or use RMM tools for free forever on 50 endpoints with no functionality limitations!



0 Comments

Submit a Comment

Your email address will not be published.

cloud patch management solutions action1

MSP Solution

Centralize endpoint management and boost efficiency of IT service delivery.

automated server patch management action compliance

Patch Management

Identify and deploy missing OS and third-party software updates.

cloud software deployment tools windows

Software Deployment

Distribute software and updates across managed endpoints.

software distribution tools software inventory action1

IT Asset Inventory

Keep a detailed inventory and manage hardware and software assets.

web client remote desktop

Remote Desktop

Support users via seamless remote desktop connection.

web based rdp client

Unattended Access

Provide administrative support and manage remote devices.

automated patch management action1

Endpoint Management

Run PowerShell, custom scripts, reboot computers and restart services.

API integrations action1

RESTful API

Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.