/ / How to uninstall forticlient completely

How to uninstall forticlient completely?

0

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

macOS-Scripts / Uninstall FortiClient.sh

#! /bin/sh
# Uninstall FortiClient.sh
# This script will completely uninstall FortiClient and all supporting components
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

  • Copy lines
  • Copy permalink
  • View git blame
  • Reference in new issue

  • © 2020 GitHub, Inc.
  • Terms
  • Privacy
  • Security
  • Status
  • Help

  • Contact GitHub
  • Pricing
  • API
  • Training
  • Blog
  • About

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Comments:
Comment on
reload, if the code cannot be seen