How to Uninstall GlobalProtect on Mac
In this article
To uninstall GlobalProtect from your Mac, you can either use the official uninstaller script that comes with the app or manually remove all its files. The quickest way is to run the uninstall script in Terminal, which removes the VPN client and its background processes completely. If you prefer a visual method, you can drag the app to Trash and then delete the leftover files manually. This guide walks you through both methods, what to check before you start, and what to do if the uninstaller fails.
What You'll Need
- Administrator (admin) access on your Mac – you'll need to enter your password during the process.
- Your Mac's login password.
- If GlobalProtect was installed by your company or school, you may need their permission or an admin password to remove it. Check with your IT department first.
Step-by-Step
Method 1: Use the Official Uninstaller (Recommended)
- Quit GlobalProtect – Look for the GlobalProtect icon in the menu bar (top-right of your screen, near the clock). Click it and select Quit or Disconnect. If you can't find it, open the app from the Applications folder and quit it from the menu bar (GlobalProtect > Quit GlobalProtect).
- Open Terminal – Go to Applications > Utilities and double-click Terminal. You can also search for it with Spotlight (Cmd+Space).
- Run the uninstall script – In Terminal, type the following command and press Enter:
sudo /Applications/GlobalProtect.app/Contents/Resources/uninstall_gp.sh
If you installed GlobalProtect in a different location, adjust the path accordingly. For example, if it's in your home folder, use:
sudo ~/Applications/GlobalProtect.app/Contents/Resources/uninstall_gp.sh - Enter your password – When prompted, type your admin password (you won't see characters as you type) and press Enter.
- Confirm the uninstall – The script will ask you to confirm. Type
yand press Enter. Wait for it to finish – it may take a minute. When it's done, you'll see a message like "GlobalProtect has been uninstalled." - Restart your Mac – This clears any remaining background processes. After restart, check that the GlobalProtect icon is gone from the menu bar and the app is no longer in Applications.
Method 2: Manual Removal (If the Script Doesn't Work)
- Quit GlobalProtect – As above, quit the app from the menu bar or the app itself.
- Move the app to Trash – Open Applications and drag GlobalProtect.app to the Trash. You'll be asked for your admin password.
- Delete leftover files – Open Finder and press Cmd+Shift+G (Go to Folder). Type each of the following paths one by one, and delete any files or folders that exist there. Be careful – only delete items that clearly belong to GlobalProtect (names like "GlobalProtect", "PaloAlto", or "PanGPA").
/Library/Application Support/PaloAlto Networks/– delete the whole folder if it only contains GlobalProtect./Library/Preferences/com.paloaltonetworks.GlobalProtect.plist– delete this file./Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist– delete this file./Library/LaunchDaemons/com.paloaltonetworks.gp.pangpa.plist– delete this file./Library/Logs/PaloAlto Networks/– delete the folder if it exists.~/Library/Preferences/com.paloaltonetworks.GlobalProtect.plist– delete this file (in your user library).
- Empty the Trash – Right-click the Trash and select Empty Trash. You may be asked for your password again.
- Restart your Mac – This ensures all background processes are stopped.
Common Mistakes
- Skipping the quit step – If GlobalProtect is still running, the uninstaller may fail or leave files behind. Always quit the app first.
- Using the wrong path in Terminal – If you installed GlobalProtect in a custom location, the default path won't work. Verify the path by dragging the app into Terminal to get its full path.
- Deleting only the app – Dragging the app to Trash alone leaves behind background processes and configuration files that can cause issues or reinstall the app.
- Forgetting to restart – Some processes stay in memory until you restart. A restart ensures everything is cleared.
- Ignoring admin prompts – The uninstaller needs admin rights. If you're not an admin, you'll get a "permission denied" error.
Tips
- Before uninstalling, note any VPN configuration you might need later (like server addresses). You can find these in GlobalProtect's settings (click the icon > Settings).
- If your Mac is managed by an organization, the uninstaller may be disabled. In that case, contact your IT department – they can remove it remotely or give you the proper method.
- After uninstalling, check that your network connections still work. If you have other VPN clients, they should be unaffected.
- If you plan to reinstall later, download the latest version from your organization's portal – don't keep old installers.
Troubleshooting
"Permission denied" when running the script
Make sure you're using sudo at the beginning of the command. If you're still getting denied, your user account may not have admin rights. Try logging in as an admin user or contact your IT admin.
The script runs but says "GlobalProtect is not installed"
This can happen if the app is in a non-standard location. Use Finder to locate GlobalProtect.app, then run the script with the full path to that app. For example, if it's in /Applications/Utilities, use:
sudo /Applications/Utilities/GlobalProtect.app/Contents/Resources/uninstall_gp.sh
GlobalProtect icon still appears after uninstall
Restart your Mac. If it still appears, check for leftover files in the paths listed in Method 2. Also check your user's Login Items (System Settings > General > Login Items) and remove any GlobalProtect entries.
Cannot delete files because they are "in use"
This usually means a background process is still running. Open Activity Monitor (in Applications/Utilities), search for "GlobalProtect" or "pan", select the processes, and click the X to force quit them. Then try deleting the files again.
The uninstaller asks for a password but doesn't accept it
You must use the password of an admin user. If you're not sure, try the password you use to log in. If that fails, ask your IT admin to run the uninstaller for you.
Frequently Asked Questions
Do I need to uninstall GlobalProtect before installing a new version?
Yes, it's recommended to uninstall the old version first, then install the new one. This avoids conflicts between versions.
Will uninstalling GlobalProtect affect my internet connection?
No, GlobalProtect is only a VPN client. Once uninstalled, your internet connection will work as before, unless your network requires VPN to access certain resources (like a corporate network).
Can I just drag the app to Trash and be done?
No, that leaves behind background processes and configuration files. Use the official uninstaller or the manual method described above to remove everything.
What if my company installed GlobalProtect and I can't remove it?
If the uninstaller is blocked by your company's management policy, you'll need to contact your IT department. They can remove it remotely or provide instructions.
Is there a way to uninstall without Terminal?
Yes, you can use the manual method (Method 2) which only uses Finder. However, you'll still need to delete some files in the Library folders, which may require admin access.
After uninstalling, I see a "GlobalProtect" process in Activity Monitor. What do I do?
Force quit the process in Activity Monitor, then delete any leftover files from the paths listed in Method 2. Restart your Mac to clear everything.