Skip to content

Instantly share code, notes, and snippets.

@jwhb
Created September 30, 2025 12:32
Show Gist options
  • Save jwhb/269f6e5eedddb730864ba94cfff6d95a to your computer and use it in GitHub Desktop.
Save jwhb/269f6e5eedddb730864ba94cfff6d95a to your computer and use it in GitHub Desktop.
Deep uninstall Ivanti Secure Connect (PulseSecure VPN) on macOS
#!/bin/sh -ex
# https://help.ivanti.com/ps/help/en_US/ISAC/22.X/ag-22.X/uninstall_isac.htm
sudo rm -rf /Applications/Ivanti\ Secure\ Access.app/
# not required:
#defaults write com.apple.Finder AppleShowAllFiles true
killall -v Finder
sudo rm -rf ~/Library/Application\ Support/Juniper\ Networks/SetupClient
sudo rm -rf ~/Library/Application\ Support/Juniper\ Networks/HostChecker.app
sudo rm -rf ~/Library/Application\ Support/Pulse\ Secure/SetupClient
sudo rm -rf ~/Library/Application\ Support/Pulse\ Secure/HostChecker.app
rm -rf ~/Library/Logs/Juniper\ Networks
rm -rf ~/Library/Logs/Pulse\ Secure
sudo rm -rf /Applications/Network\ Connect.app
sudo rm -rf /Applications/Pulse\ Secure.app
[ -f /usr/local/juniper/nc/install/uninstall_nc.sh ] && sudo /usr/local/juniper/nc/install/uninstall_nc.sh
sudo rm -rf ~/Library/Application\ Support/Pulse\ Secure
rm -rf ~/Library/Logs/Pulse\ Secure
sudo rm -rf /Applications/Ivanti\ Secure\ Access.app
rm -rf ~/Library/Application\ Support/Juniper\ Networks
rm -rf ~/Library/Application Support/Pulse\ Secure
sudo rm -rf /Library/Application\ Support/Juniper\ Networks
sudo rm -rf /Library/Application\ Support/Pulse\ Secure
# not applicable:
#/Library/LaunchDaemons/net.juniper.UninstallPulse.plist.org<http://net.juniper.UninstallPulse.plist.org>
#/Library/LaunchDaemons/net.pulse.UninstallPulse.plist.org<http://net.pulse.UninstallPulse.plist.org>
#/Library/LaunchAgents/net.juniper.UninstallPulse.plist.org<http://net.juniper.UninstallPulse.plist.org>
#/Library/LaunchAgents/net.pulse.UninstallPulse.plist.org<http://net.pulse.UninstallPulse.plist.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment