{"id":495,"date":"2020-03-14T19:40:55","date_gmt":"2020-03-14T06:40:55","guid":{"rendered":"http:\/\/wp.gaborhargitai.hu\/?p=495"},"modified":"2020-03-14T19:57:50","modified_gmt":"2020-03-14T06:57:50","slug":"disable-forticlient-vpn-autostart-on-login-under-macos","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/disable-forticlient-vpn-autostart-on-login-under-macos\/","title":{"rendered":"Disable FortiClient VPN autostart on login under macOS"},"content":{"rendered":"\n

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

Instead, FortiClient uses LaunchAgents<\/strong> to start itself – what we have to do is edit the following plist<\/strong> files with our text editor of choice.<\/p>\n\n\n\n

1. Open the following plist<\/strong> file using elevated privileges and edit it with nano<\/strong> using the Terminal:<\/p>\n\n\n\n

sudo nano \/Library\/LaunchAgents\/com.fortinet.forticlient.credential_store.plist<\/code><\/pre>\n\n\n\n

2. Find the RunAtLoad<\/strong> key and change true<\/strong> to false<\/strong>:<\/p>\n\n\n\n

<key>RunAtLoad<\/key>\n<true\/><\/code><\/pre>\n\n\n\n

like so:<\/p>\n\n\n\n

<key>RunAtLoad<\/key>\n<false\/><\/code><\/pre>\n\n\n\n

3. Save and exit nano by pressing [CTRL + X<\/em>] , [Y<\/em>] and [Return\/Enter<\/em>]<\/p>\n\n\n\n

4. Do the same steps<\/strong> for fct_launcher<\/strong> as well:<\/p>\n\n\n\n

sudo nano \/Library\/LaunchAgents\/com.fortinet.forticlient.fct_launcher.plist<\/code><\/pre>\n\n\n\n

5. Change RunAtLoad<\/strong> to false<\/strong>:<\/p>\n\n\n\n

<key>RunAtLoad<\/key>\n<false\/><\/code><\/pre>\n\n\n\n

6. Done!<\/p>\n","protected":false},"excerpt":{"rendered":"

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 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,17],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/495"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":5,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":500,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/495\/revisions\/500"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}