Skip to content

Instantly share code, notes, and snippets.

@arschles
Created March 17, 2020 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arschles/2dccb61e70527e57d0c17d113f4fbb96 to your computer and use it in GitHub Desktop.
Save arschles/2dccb61e70527e57d0c17d113f4fbb96 to your computer and use it in GitHub Desktop.
Delete GlobalProtect on Mac OS X
ps -ef | grep GlobalProtect
# take note of the GlobalProtect PID, store in $GP_PID
sudo kill -9 $GP_PID
sudo rm -f /Library/LaunchAgends/com.paloaltonetworks.gp.*
# this will restart the machine. Continue below after it comes back
sudo shutdown -r now
# finally, clear the staging kernel cache
sudo kextcache --clear-staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment