How to uninstall software by Group Policy (GPO) or intune

There are several ways to uninstall applications via GPO or intune:
1. standard gpo tools are limited to msi and what is already installed via gpo
(intune supports exe via intunewin)
2. PowerShell. The tool is quite complex and time consuming.
3. exe installer that starts the removal process, wrapped in an msi package.
In this article, we will talk about the 3rd method.

Quick video about “Uninstall gpo”

Msi for uninstall programs through gpo and intune

(We recommend creating a good msi file for intune if your applications do not exceed 4 GB)

Run the tool and perform the following steps:
1.Create a package
2.Click “Uninstall”
3.Click “add”
4.Click “Uninstall Application”
5.Click Uninstall key “…”

uninstall software
Uninstall Application gpo

Select Application

Uninstall Application 7-zip gpo

If the application does not have a silent installation key, we write a UI recording script.
Select “UI Avtomation script” and click “Record”

Application recorder

Follow the Silent Install Builder instructions to record all the steps.

Uninstall Application recorder

The result of recording all the steps looks like this. Click OK.

ui recorder 7-zip

Now we build the MSI to remove the software via intune or GPO

(You can also assemble an exe for intune with future conversion to intunewin yourself)
 
msi to Uninstall Application gpo


It remains to add msi to gpo or intune.
We solved the issue of uninstalling software via gpo and intune.

We briefly list the pros and cons of this method

One of the main advantages is simplicity and speed.
Cons: binds msi to the Silent Install Builder 6 product.
Everyone chooses for himself what is more important: rapid deployment of software or writing scripts and then testing them on their own.

Sometimes it happens that the script grows to such a size that deleting in this way becomes simply inconvenient and dangerous through gpo.
For these reasons, we have added software uninstallation to Silent Install Builder 6 in such a way that the system thinks the user is uninstalling the software.


Download Silent Install Builder 6

See also:
Silent Install Builder 6 Documentation
How to deploy an exe-file using Group Policy (exe to gpo)
Other software at apreltech.com