How to uninstall GlobalProtect without user intervention?

How to uninstall GlobalProtect without user intervention?

72975
Created On 10/05/20 02:13 AM - Last Modified 02/04/25 22:03 PM


Objective


GlobalProtect app can be uninstalled without user intervention. It can be done either using a script or via Active Directory Group Policy Object (GPO).

Environment


  • Windows 10 and above
  • Active Directory environment
  • GlobalProtect App 4.0+
    • Ex. Install location (C:\Users\user1\Downloads\GlobalProtect64.msi)


Procedure


We're able to use either of the two msiexec commands shown below to silently uninstall GlobalProtect app:

> msiexec /x C:\Users\user1\Downloads\GlobalProtect64.msi /qn
> msiexec /x C:\Users\user1\Downloads\GlobalProtect64.msi /quiet

 

Notes:

  • These commands must be ran with administrator privileges, otherwise they'll fail. 
  • If the uninstall flag is set in Portal Agent, then no user (even elevated admin) will not be able to run 'msiexec' to uninstall GP. 
 


 



Additional Information


learn.microsoft.com: msiexec

For additional information regarding the removal of the GlobalProtect App using scripts within a Windows environment, please refer to the following document: Using Active Directory GPO to Install the GlobalProtect Client



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000HB3bCAG&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language