I need to uninstall Global Protect from bout 100 user devices.
We deploy and remove application using Microsoft Endpoint Manager (Intune).
I have created a script using this uninstall command:
This command reported that it ran successfully on the devices and uninstalled Global Protect as intended, however when I logged into the devices, the application still exist and hasn't uninstalled.
So I would like to fin out if this is the correct command or there is a different command that can do this.
Your assistant will be highly appreciated.
The last time I looked at this, the product code for GlobalProtect changes upon every single agent upgrade. I would double check that you're using the correct product code for the agent version you have deployed. I'd also recommend trying this on a standalone machine outside of Intune and making sure it actually functions properly outside of being pushed.
Hi @BPry ,
Thank you so much your response.
I did check the product version (5.2.5) and also checked the Identity number ( 4560481C-1B09-4F56-9E52-8BA44B2E729E ).
Did test the script in my VM and it worked but for some reason when pushed via Intune it does nothing, also made sure that I can run PowerShell on those devices.
Since this would seem to indicate that the issue is specific to when you are trying to push the script via Intune, I would review the local client policy results file to see what exactly is causing the script to fail. As long as the device is AzureAD joined, and you have the proper powershell execution configuration applied to your endpoints, this should be a relatively straightforward process.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!