I Need To Make A Change With My IT Support! Call (225) 706-8414

Remove a Windows Program via the Command Line

Programs often get removed off of PCs, however many times we have to remove them manually, machine by machine.

The script below is a template on how to remove programs site wide silently using a simple script that can be pushed out to PCs via GPO, LogonScript, or even your favorite RMM.


  1. Open up Notepad.
  2. Type in the following commands as is: MSIEXEC.exe /x {GUID} /q
  3. Replace GUID with the proper GUID of the program.

If you are having trouble locating the GUID of the program, follow this link http://puryear.wpengine.com/blog/2014/07/31/how-to-find-guid-of-a-program/

You’ve now successfully created a script that will uninstall programs as needed.

This will not work for programs that require passwords to uninstall them (e.g., Trend Office Scan).

Concerned About Cyber Attacks?


Want to Migrate to the Cloud?

Office 365

Ready to Experience Microsoft Office 365?

Want the latest IT news directly in your inbox? Subscribe now!