刪除 FortiClient VPN 軟體教學(MacOS 適用)

刪除 FortiClient VPN 軟體教學(MacOS 適用)
解除安裝 FortiClient 教學

English Version

FortiClient 這個 VPN 軟體是台灣很多公司或是學校會用到的,它有一個很大的優勢就是「免費」。

由於最近遠距辦公已結束,加上我的電腦只有 256GB 實在是有點不夠用,短期內不會用到的軟體都會想要把它清掉。

但在要刪除 FortiClient 的時候我遇到一個很大的困難,那就是它是 Locked(被鎖住)的 App,無法透過 AppCleaner 或直接拖移到垃圾桶裡面去刪除。我有看到網路上有人教學可以到「應用程式」的資料夾中找到 FortiClient 對它按右鍵,點 info ,把 locked 的選項給解除勾選,但那個選項是反灰的我根本不能動作!

我花了大概 20 分鐘嘗試了各種方法,包括透過重新安裝 FortiClient 後會同時安裝的 FortiClientUninstall 程式來解除安裝,但完全沒有用。FortiClient 硬生生的一直存留在我的應用程式裡。

我心裡想這到底是什麼流氓程式啊?對於使用者也太不友善了吧?想解除安裝都不行?

不過我轉念一想,如果我搜尋「how to uninstall forticlient macos」都行不通的話,我應該可以嘗試搜尋看看如何把 locked 住的 app unlocked,想著解鎖後總該能夠把它刪掉了吧?

於是乎找到了一篇有類似問題的文章How to unlock an OS X app?

以下是解除 FortiClient 的鎖定狀態的方法

打開你的 terminal 或是你熟悉的終端機程式(我是用 Warp),並輸入以下指令

/bin/ls -dleO@ /Applications/FortiClient.app/

系統會回傳下方值,其中那個 "schg" 就是 FortiClient 程式被鎖住的代號

drwxr-xr-x@ 3 <username>  staff  schg 96 May  3  2022 /Applications/FortiClient.app/
	com.apple.macl	144

接著輸入下方指令來 unlock FortiClient,這邊有用到 sudo 指令,主要是要用系統管理員權限來更改這個程式的鎖定權限。

sudo /usr/bin/chflags -R noschg /Applications/FortiClient.app/

輸入完後它會要你輸入你的密碼,這邊就輸入登入使用者的開機密碼即可。

接著你可以再到你的應用程式資料夾,應該可以發現 FortiClient 已經沒有鎖定符號了,可以直接把它移除啦!

希望以上的方法對你有用,如果你喜歡我的文章的話歡迎點擊右下角註冊或是分享給更多人知道,有什麼想說的也都歡迎在下方留言與我討論。


English Version

The english version is translate by ChatGPT.

FortiClient is a VPN software widely used by many companies and schools in Taiwan, and one of its major advantages is that it is "free".

Recently, as remote work has ended and my computer has only 256GB of storage, it is a bit insufficient. I want to remove software that I won't be using in the short term.

However, I encountered a major difficulty when trying to remove FortiClient - it is a locked app and cannot be deleted through AppCleaner or by dragging it to the trash bin. I saw some tutorial online that suggested going to the "Applications" folder, right-clicking on FortiClient, clicking "Info," and unchecking the locked option, but that option was grayed out and I couldn't do anything!

I spent about 20 minutes trying various methods, including using the FortiClientUninstall program that is installed when reinstalling FortiClient to uninstall it, but it didn't work at all. FortiClient stubbornly remained in my applications.

I thought to myself, what kind of rogue program is this? It's so unfriendly to users, isn't it? Can't even uninstall it?

But then I had another thought. If searching for "how to uninstall forticlient macos" didn't work, I should try searching for how to unlock a locked app. I thought that after unlocking it, I should be able to delete it, right?

So I found an article with a similar problem, titled "How to unlock an OS X app?"

Below is the method to unlock FortiClient:

Open your terminal or your preferred command line program (I use Warp) and enter the following command:

/bin/ls -dleO@ /Applications/FortiClient.app/

The system will return the following values, and the "schg" is the code indicating that FortiClient is locked:

drwxr-xr-x@ 3 <username>  staff  schg 96 May  3  2022 /Applications/FortiClient.app/
	com.apple.macl	144

Then enter the following command to unlock FortiClient. Here, we use the sudo command to change the lock permissions of this program with administrator privileges.

sudo /usr/bin/chflags -R noschg /Applications/FortiClient.app/

After entering the command, it will ask for your password. Enter your user login password.

Then you can go back to your applications folder and you should find that FortiClient no longer has the locked symbol, so you can remove it directly!

I hope the above method is useful for you. If you like my article, kindly click the register button in the bottom right corner or share it with more people. Feel free to leave a comment below for any discussions you would like to have.

Read more

2024 年的日常和工作軟體清單

2024 年的日常和工作軟體清單

* 待辦事項:Things 3,原本嘗試使用 Linear 這個專案管理工具,但因為現在沒有協作的對象,所以還回歸專注把「待辦事項」這個事情做好的 Things。 * 郵件:Apple Mail,原本有嘗試 Spark、Canary 等,但還是回歸內建的比較輕量。 * 筆記軟體 * Bear:日常紀錄、部落格文章和不需要分享的工作筆記,在 iOS 和 Mac 間快速的同步以及流暢的使用是其他軟體少有的。 * Craft:需要分享給其他人的筆記,大多數為工作用。 * 行事曆:Apple Calendar 搭配 Fantastical 使用。Fantastical 的自然語言輸入功能真的很方便,可惜要付年費。 * 音樂:Spotify,我很喜歡他的 start jam 的功能,當跟別人一起出遊的時候大家都可以放自己喜歡的歌。 * 專注:Endel,可以根據不同的情境有不同的音樂,

2024 年回顧,以及 2025 年展望(關於人生)

2024 年回顧,以及 2025 年展望(關於人生)

年底到了,這時候不免俗的要來發一下今年回顧和明年展望。 如果大家不知道要怎麼回顧自己的一年,我還蠻推薦可以用知名的筆記軟體 Obsidian 的開發者 Kepano 的年度 40 問(原文:40 questions to ask yourself every year),可以到這裡下載範本。 透過回答這些問題,你會開始回想自己在今年度發生的重大事件,並且把它刻畫在腦海中,加強自己對它的記憶。這是一個蠻有趣的過程,因為你會發現你在記錄的當下不一定會想到可以寫什麼,但幾天後你會突然靈光一閃的覺得「啊!這件事好像可以補上去。」 這就是人腦神奇的地方。 我的 2024 年回顧 我在今年自己有了蠻多人生中的第一次,想想自己活到了 34 歲了還是有很多事情沒做過啊!這讓我想到《我的完美日常》中媽媽桑的前夫說的「世上有太多我不懂的事了,結果什麼都沒搞清楚,就要結束了」。 但我想只要是有累積了一些經驗、多了一些知識、領悟了一些道理,那就還是可以繼續往前進吧! 2024 年,人生中的第一次 * 第一次接到開箱文業配。

2024 年黑五推薦的軟體購買清單

2024 年黑五推薦的軟體購買清單

看到大家都在推薦自己這次的黑五購買清單,我也來分享一下自己這次購入的軟體,以及推薦覺得可以趁這次優惠中購入的軟體。 本次已購買 * Things 3:2024/12/2 前,全平台 7 折優惠。 我之前就有 iPhone, Mac 版本,趁著今年入手了 iPad 版本以防自己之後可能會手滑想要買一台 iPad mini 7。這邊要注意的是 Things 他是每個平台分開賣,所以如果各裝置都有的話建議全收了,是難得還可以買斷的好軟體。 * Capture - Quick Notes:不確定截止時間。目前內購的終身付費只要 NT$190(原價 $390)。 這個軟體比較像是 inbox 收集資料的地方,當你想到什麼還不知道要輸入在哪邊例如要把它轉成待辦事項或是紀錄後寫成長文時,就可以先收集到這邊,之後再輸出到你指定的軟體(他支援的軟體很多,可以先下載免費版本來看是不是有你常用的軟體) * TabTab:不確定截止時間。結帳時輸入 TABTABLAUNCH

iPhone 16 心得,iPhone 11 Pro 使用者的升級體驗

iPhone 16 心得,iPhone 11 Pro 使用者的升級體驗

不得不說 Apple 的產品真的很耐用,我的 iPhone 11 Pro 用了將近 5 年硬體還是頭好壯壯,而且軟體還能升級到最新的 iOS 18。只是因為當初我是買 64gb 的容量,就算買了 400g 的 iCloud,都還是對這一年多來開始入坑玩手遊的我來說感到深刻的不夠用。尤其是現在手遊的容量一款比一款還大,於是就一直在考慮想要換手機這件事。 直到 Apple Intelligence 在 iOS 18.1 現身,,需要 iPhone 15 Pro 以後的機型才能用。看到 Twitter(X) 上大家都在討論 Apple Intellgience 的相關訊息,身為一個科技宅的我,怎麼能放任自己無法享受到最新的軟體服務呢?(之前的 Apple Watch 也是因為一直無法升級 OS