Skip to content

Instantly share code, notes, and snippets.

@eFishCent
Created September 11, 2022 20:25
Show Gist options
  • Save eFishCent/7fa0f5cc0dd5b7ef511a9b344bbb08dc to your computer and use it in GitHub Desktop.
Save eFishCent/7fa0f5cc0dd5b7ef511a9b344bbb08dc to your computer and use it in GitHub Desktop.
Disable FortiClient VPN autostart on login under macOS

Disabling the FortiClient VPN from starting automatically during user login is not currently possible from System Preferences > Users & Groups > Login Items like in most cases.

Instead, FortiClient uses LaunchAgents to start itself – what we have to do is edit the following plist files with our text editor of choice.

  1. Open the following plist file using elevated privileges and edit it with nano using the Terminal:
sudo nano /Library/LaunchAgents/com.fortinet.forticlient.credential_store.plist
  1. Find the RunAtLoad key and change true to false:
<key>RunAtLoad</key>
<true/>

like so:

<key>RunAtLoad</key>
<false/>
  1. Save and exit nano by pressing [CTRL + X] , [Y] and [Return/Enter]

  2. Do the same steps for fct_launcher as well:

sudo nano /Library/LaunchAgents/com.fortinet.forticlient.fct_launcher.plist
  1. Change RunAtLoad to false:
<key>RunAtLoad</key>
<false/>
  1. Done!

Source: GÁBOR HARGITAI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment