Within PowerShell, this is very easy to do.

The below block of script will take a computer name, your username and password, connect to the remote computer and list all installed software by name:

$computerName = "SomeComputerName"
$yourAccount = Get-Credential
Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
    Get-WmiObject Win32_Product | Select Name
}

When you have the name of the product you want to uninstall remotely - you can the perform an uninstall like this:

$computerName = "SomeComputerName"
$appName = "AppName"
$yourAccount = Get-Credential
Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
    Get-WmiObject Win32_product | Where {$_.name -eq $appName} | ForEach {
        $_.Uninstall()
    }
}

In the above eaxmples - replace "SomeComputerName" with the name of the computer you wish to uninstall from.

You can also make the script prompt you for a computer name if you prefer with the following line:

$computerName = Read-Host "Enter Computer Name"

If you have multiple computers with the same piece of software that you want to uninstall - you can also define an array of computers to work with and do uninstalls from lots of machines:

$computerNames = @("SomeComputerName1", "SomeComputerName2", "SomeComputerName3")
$appName = "AppName"
$yourAccount = Get-Credential
ForEach ($computerName in $computerNames) {
    Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
        Get-WmiObject Win32_product | Where {$_.name -eq $appName} | ForEach {
            $_.Uninstall()
        }
    }
}
Answer from Fazer87 on Stack Exchange
Top answer
1 of 2
2

Within PowerShell, this is very easy to do.

The below block of script will take a computer name, your username and password, connect to the remote computer and list all installed software by name:

$computerName = "SomeComputerName"
$yourAccount = Get-Credential
Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
    Get-WmiObject Win32_Product | Select Name
}

When you have the name of the product you want to uninstall remotely - you can the perform an uninstall like this:

$computerName = "SomeComputerName"
$appName = "AppName"
$yourAccount = Get-Credential
Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
    Get-WmiObject Win32_product | Where {$_.name -eq $appName} | ForEach {
        $_.Uninstall()
    }
}

In the above eaxmples - replace "SomeComputerName" with the name of the computer you wish to uninstall from.

You can also make the script prompt you for a computer name if you prefer with the following line:

$computerName = Read-Host "Enter Computer Name"

If you have multiple computers with the same piece of software that you want to uninstall - you can also define an array of computers to work with and do uninstalls from lots of machines:

$computerNames = @("SomeComputerName1", "SomeComputerName2", "SomeComputerName3")
$appName = "AppName"
$yourAccount = Get-Credential
ForEach ($computerName in $computerNames) {
    Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
        Get-WmiObject Win32_product | Where {$_.name -eq $appName} | ForEach {
            $_.Uninstall()
        }
    }
}
2 of 2
0

If you create a file called "servers.txt" and place your list of servers in it you could also reference $computerNames as follows:

$computerNames = Get-Content "C:\some-directory\servers.txt"
$appName = "AppName"
$yourAccount = Get-Credential
ForEach ($computerName in $computerNames) {
    Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
        Get-WmiObject Win32_product | Where {$_.name -eq $appName} | ForEach {
            $_.Uninstall()
        }
    }
}

I've used this approach many times in production environments and it seems to work for me. Always test this in a non-production environment before completing in a prod environment.

🌐
Action1
action1.com › home › blog › how to uninstall software remotely using wmi on windows?
How to Uninstall Software Remotely Using WMI on Windows? | Action1
March 21, 2025 - There are many solutions and software tools available for installing and uninstalling 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.
Discussions

Uninstall software remotely using the command line - Software & Applications - Spiceworks Community
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 ... More on community.spiceworks.com
🌐 community.spiceworks.com
26
February 11, 2019
Remotely uninstall apps on multiple Win10 clients...
PowerShell. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-7.1#:~:text=The%20Invoke%2DCommand%20cmdlet%20runs,computer%2C%20use%20the%20ComputerName%20parameter . More on reddit.com
🌐 r/sysadmin
9
1
June 21, 2021
Uninstall programs remotely - has Active Directory
Hi Heroes, We deployed a program(trial version) to some of our machines and now this program has expired. the program vendor only provides a standalone uninstall tool to uninstall it, but it will be a lot of work if we uninstall it manually. Since we… More on learn.microsoft.com
🌐 learn.microsoft.com
2
0
October 25, 2020
Remotely Uninstall Software
Just a quick chime in for the Powershell Deployment Toolkit. If they can run PowerShell scripts, this has some dead-simple ways to uninstall software. Remove-MSIApplications -Name 'Adobe Flash' OR Execute-Process -Path 'Adobe_flash_player.exe' -Parameters '/uninstall' -WindowStyle 'Hidden' It has lots of options, and can be run with a GUI or not. More on reddit.com
🌐 r/sysadmin
30
29
December 13, 2016
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows-server › remote › remote-desktop-services › remotepc › uninstall-remote-desktop-connection
Uninstall and Reinstall the Remote Desktop Connection App in Windows | Microsoft Learn
To uninstall the Remote Desktop Connection app using the Command Prompt: Open Command Prompt as an administrator. You can use Windows Terminal with a Command Prompt profile.
🌐
NirSoft
nirsoft.net › articles › uninstall_software_remotely.html
How to uninstall software on remote Windows machine
How to uninstall software on remote Windows computer, using the UninstallView tool of NirSoft and PsExec tool of Sysinternals
🌐
Spiceworks
community.spiceworks.com › software & applications
Uninstall software remotely using the command line - Software & Applications - Spiceworks Community
February 11, 2019 - 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 Progra…
🌐
Reddit
reddit.com › r/sysadmin › remotely uninstall apps on multiple win10 clients...
r/sysadmin on Reddit: Remotely uninstall apps on multiple Win10 clients...
June 21, 2021 -

Is it possible to remove a Windows 10 'app' from multiple remote computers? For example, lets say I wanted to have Paint 3D uninstalled from every Windows 10 Enterprise computer in our domain/network. Right now, the only way I know how to do that is to manually sign on to every single computer, one at a time, either directly or via Remote Desktop Connection, and run a PowerShell command that removes the app for all users. But I have hundreds of machines so hopefully there is a quicker way. Can I run 'Remove-AppxPackage' remotely from a central location? or run it as a logon script? or something like that? Again, the goal is have an app removed from every Win10 device and every user profile on every Win10 device. Thank you in advance!

🌐
HelpWire
helpwire.app › helpwire blog › how to › remote software uninstallation on windows 10/11 and linux
Remote Software Uninstallation on Windows 10/11 and Linux
March 13, 2025 - In the remote session, open Settings > Apps. You can now freely install and uninstall software on the remote PC.
Rating: 5 ​ - ​ 49 votes
Find elsewhere
🌐
EMCO Software
emcosoftware.com › remote-installer › doc › uninstalling-software
Uninstalling Software - Remote Installer
Having completed a software scan, ... can see in the Windows Programs and Features, so the same way you can uninstall software from the Windows Programs and Features, you can uninstall it remotely using Remote Installer....
🌐
NirSoft
nirsoft.net › utils › uninstall_view.html
UninstallView - View installed applications on Windows 11 / 10 / 8 / 7 / Vista and optionally uninstall them
View installed applications on Windows 11 / 10 / 8 / 7 / Vista and optionally uninstall them. You can view the uninstall list on local system, remote computer, or external drive
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 138319 › uninstall-programs-remotely-has-active-directory
Uninstall programs remotely - has Active Directory - Microsoft Q&A
October 25, 2020 - Hi Heroes, We deployed a program(trial version) to some of our machines and now this program has expired. the program vendor only provides a standalone uninstall tool to uninstall it, but it will be a lot of work if we uninstall it manually. Since we…
🌐
AirDroid
airdroid.com › home › remote support › how to uninstall software remotely on windows
How to Uninstall Software Remotely on Windows – AirDroid
July 12, 2024 - Step 2. Connect to the remote computer with WMIC(Windows Management Instrumentation Command-line). The syntax is: ... Step 3. List installed software on the remote computer: wmic /node:"remote_computer_name" product get name,version · Step 4. To uninstall a specific program, use the following command:
🌐
NinjaOne
ninjaone.com › home › blog › software deployment › 4 ways to remotely uninstall software (and keep it uninstalled with automation)
How to Remotely Uninstall Software with NinjaOne | NinjaOne
April 29, 2025 - Get started with NinjaOne Software Management. Ninja provides four ways to uninstall applications: Specifically, users can remotely uninstall software via the software inventory tab, within organizations, or on devices.
🌐
Reddit
reddit.com › r/sysadmin › remotely uninstall software
r/sysadmin on Reddit: Remotely Uninstall Software
December 13, 2016 -

Hey Defenders of the Systems of the Universe,

Anyone know of a tool that can uninstall software remotely, that is me being able to uninstall software on someone else's computer? Here's some background:

My team uses BigFix to push software and the majority of our users do not have local admin rights on their machines. For us to create an uninstall job from .exe files can be challenging and/or time consuming. I need to empower my help desk to be able to uninstall software even if an uninstall job does not exist. Caveats:

  1. The helpdesk has an elevated AD account that gives them local admin rights to any machine. I know that they can remote into the user's machine, temporarily give the user local admin rights, and uninstall said software. I also know that they can just RDP into the user's box and uninstall software using their aforementioned elevated accounts. Looking for an 'easier' solution for them.

  2. I know there is a way to remove software remotely using the cmd line and registry. Expecting them to use that method is out of the question as it is too complex and/or detailed for them.

Anyone know if any tools that would allow the uninstalls?

🌐
Microsoft Support
support.microsoft.com › en-us › windows › uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98
Uninstall or remove apps and programs in Windows - Microsoft Support
Your PC will still work, but we recommend moving to Windows 11.​​​​​​​​​​​​​​​​​​​​​ ... Select Start and look for the app or program in the list shown. Press and hold (or right-click) on the app, then select Uninstall.
🌐
YouTube
youtube.com › watch
How To Remotely Uninstall A Program using PowerShell | Uninstall Software using powershell - YouTube
How To Remotely Uninstall A Program using PowerShell | Uninstall Software using powershellLooking to elevate your IT skills to the next level? Check out this...
Published   June 1, 2021
🌐
Action1
action1.com › home › blog › how to uninstall software remotely via command line tool
How to Uninstall Software Remotely with Command Line Tool
December 5, 2024 - 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 ...
🌐
Hasanaltin
hasanaltin.com › how-to-remove-software-remotely-using-psexec
How to remove software remotely using PsExec – Hasan Altin
July 29, 2023 - C:\Windows\system32>wmic product where name="Java 8 Update 321 (64-bit)" call uninstall /nointeractive Executing (\\MRTVDIDEMO-003\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{26A24AE4-039D-4CA4-87B4-2F64180321F0}",Name="Java 8 Update 321 (64-bit)",Version="8.0.3210.7")->Uninstall() Method execution successful. Out Parameters: instance of __PARAMETERS { ReturnValue = 0; }; C:\Windows\system32> Now when you run the second command again, you will see that the software is removed on the remote computer that you wanted to uninstall.
🌐
Super User
superuser.com › questions › 1265994 › how-to-remotely-uninstall-a-program-on-another-domain-users-computer
windows 7 - How to remotely uninstall a program on another domain user's computer? - Super User
November 6, 2017 - If you have access to the original msi file of installer of your app, you can find [ProductID GUID] by opening the msi file in orca.exe and clicking on the "Property" on the left in orca, and looking for "ProductCode" line on the right. If you do not have access to original *.msi file, you can just search registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall for the name of the app.