Force Uninstall Forticlient via Terminal

pkill FortiClientAgent
launchctl unload /Library/LaunchDaemons/com.fortinet*

rm -Rfv /Applications/FortiClient.app
rm -Rfv /Applications/FortiClientUninstaller.app
rm -Rfv /Library/Application\\ Support/Fortinet
rm -Rfv /Library/Internet\\ Plug-Ins/FortiClient_SSLVPN_Plugin.bundle
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.vpn.plist'
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.wf.plist'
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.fmon.plist'
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.epctrl.plist'
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.appfw.plist'
rm -Rfv '/Library/LaunchDaemons/com.fortinet.forticlient.fssoagent_launchdaemon.plist'

localAccounts=$(dscl . list /Users UniqueID | awk '$2 > 500 { print $1 }')

for user in $localAccounts ;
do
rm -Rfv /Users/"$user"/Library/Application\\ Support/Fortinet/
done

--

--

--

Obsessed in Cloud Computing. AWS, GCP, Alicloud. Working in a top 10 finance industry in Indonesia currently. Let's get connnected!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Reasons I chose a career Ruby on Rails Developer

Journey of Spring Boot project with Java and Kotlin

Enemy Laser

How does JVM, JDK and JRE work?

Debugging Query in Laravel

Day 23: The “Top K Frequent Elements” Problem

droidcon APAC — Sneak Peak

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andre Kurnia

Andre Kurnia

Obsessed in Cloud Computing. AWS, GCP, Alicloud. Working in a top 10 finance industry in Indonesia currently. Let's get connnected!

More from Medium

The layman guide to concepts that keep your online account secure

8 Cybersecurity Best Practices for Startups

Are you using modern TLS?

Using Modern Authentication on Office 2013 Apps

Modern Authentication