How to stop/quit GlobalProtect in MacOS Monterey on a personal workstation?

The setting screen from GlobalProtect VPN
Select the row and double click to show the process detail

The moment I clicked the quit button, the program restarted and became active again!

Luckily, there is another not-so-straight-forward way to stop GlobalProtect VPN from running into the background.

sudo sed -i '' -e "s/true/false/g" /Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist

Explanation: Under /Library/LaunchAgents , there is a file called com.paloaltonetworks.gp.pangpa.plist , we need to modify the 2 keywords, RunAtLoad and KeepAlive to be false. By doing this, This program will not run at start up time and it will disconnect after a certain amount of time.

If you wish to use the keep alive function, you may keep the KeepAlive parameter to be true by using editor.

Notes: This solution may not work in a corporate laptop since you may not have administrator permission to change the file.

Tested on 30 Jan 2022

Reference

Disclaimer

My stories on Medium.com are distributed for general informational and educational purposes only and are not intended to constitute legal, tax, accounting or investment advice.

I expressly disclaim any liability or loss incurred by any person who acts on the information, ideas or strategies discussed in my stories on Medium.com.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store