In our previous article, we shared a guide on how to uninstall antiviruses on a Mac computer. You should note, that some antiviruses create a kernel file and hide them in Extensions folder is deep subfolders. Also, they protect kernel files from being deleted. If you try to remove such a file to Trash, you will face a situation when Finder ignores the removal command. So today, we are going to explain how to remove the kernel extensions.
1. First, write down the path of the kernel file. Then restart your Mac and press Command+R key shortcut while the reboot is in progress. You will see an unusual startup window – this is the recovery mode.
2. In the Menu bar click Utilities → Terminal.
3. Enter the following command and click Enter:
cd [the path of the kernel fil]
If there is a space sign in the path name, you should replace it with the backslash sign.
4. Then type this command:
rm -rf [extension name=””][/extension]
5. The last step is to restart your Mac.
After these steps finally, the kext file will be removed completely.