Uninstall Global Protect 5.2.5 via Intune Scripts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uninstall Global Protect 5.2.5 via Intune Scripts

L0 Member

Good day,

 

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:

Jabulani15_0-1639402078994.png

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.

Regards 

 

 

 

3 REPLIES 3

Cyber Elite
Cyber Elite

@Jabulani15,

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. 

 

 

 

Cyber Elite
Cyber Elite

@Jabulani15,

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. 

  • 3395 Views
  • 3 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!