Skip to content

Instantly share code, notes, and snippets.

@defrindr
Created November 11, 2025 04:20
Show Gist options
  • Select an option

  • Save defrindr/f0a0b4bda4ecc718b89cbd59928bbca7 to your computer and use it in GitHub Desktop.

Select an option

Save defrindr/f0a0b4bda4ecc718b89cbd59928bbca7 to your computer and use it in GitHub Desktop.
# 1️⃣ Unload FortiClient’s LaunchDaemons
sudo launchctl bootout system /Library/LaunchDaemons/com.fortinet.*
# 2️⃣ Unload FortiClient LaunchAgents (for the user)
sudo launchctl bootout gui/$(id -u) /Library/LaunchAgents/com.fortinet.*
# 3️⃣ Stop any remaining Forti daemons manually
sudo pkill -f forti
# 4️⃣ Verify nothing restarts
sudo launchctl list | grep forti
ps aux | grep -i forti
sudo pkill -9 Forti
sudo pkill -9 forticlient
sudo pkill -f fortinet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment