Uninstall Software Remotely - Quick Reference Guide
Uninstall Software Remotely - Quick Reference Guide
Uninstall Software Remotely - Quick Reference Guide
If you need to remove software from a remote machine you can do so using a combination of PSEXEC and MSIEXEC.
To uninstall software remotely using the method below, the software needs to have been installed using an MSI file.
Since this is a standard deployment method for most commercial packages, this should not be too problematic. Of
course, to do this, you also must have administrative rights to the remote machine.
1. Download PSEXEC:
- Download PSEXEC from Microsoft at http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx. Install
it onto your computer by copying the file to a directory in your PATH. System32 will do nicely, or you can create
a new directory to store your favorite command line tools and add it to your path.
The UNC path to the remote computer can use either the NetBIOS name or the FQDN. The path to the MSI file
must be relative to the machine you are uninstalling the software from. Again, a UNC path works well here.
The /x means to uninstall, and /q means to do so without user input (quietly.)
Pro tip: If you use psexec \\* it will run against every computer in the domain!
_________________________________________________________________________________________
Action1 is a Cloud-based lightweight endpoint security platform that discovers all of your endpoints in
seconds and allows you to retrieve live data from the entire network using plain English queries, with a
Google-like experience, right in your web browser. Sign up for Action1 Free Edition to explore the platform
first hand.