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
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 “…”
Select Application
If the application does not have a silent installation key, we write a UI recording script.
Select “UI Avtomation script” and click “Record”
Follow the Silent Install Builder instructions to record all the steps.
The result of recording all the steps looks like this. Click OK.
Now we build the MSI to remove the software via intune or 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