How to delete a TotalAV system extension?

I installed and tried TotalAV several months ago. I quickly decided it

was not something I wanted, requested and received a refund. However,

after deleting this app and its support files, I found a system

extension file that I cannot delete. The file is named:

"net.protected.macos.TotalAV.ESAVExtension.systemextension". I've

attempted to contact TotalAV for help, but they do not respond. How can

I delete this file?

MacBook Air 13″, macOS 13.2

Posted on Feb 12, 2023 8:46 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 5, 2023 8:44 PM

I finally found a way to do this. Here's what I did:

  1. Booted into Recovery Mode, disabled SIP from Utilities menu -> Terminal (csrutil disable), reloaded.
  2. Booted normally and opened terminal again, from there saw the list of extensions using "systemextensionsctl list".
  3. Then used "systemextensionsctl uninstall - <extension name>"
  4. Closed Terminal and was able to drag the folder to the Trash.
  5. Rebooted into Recovery Mode and re-enabled SIP from Terminal using "csrutil clear" ("csrutil enable" gave me an error).
  6. Reloaded and no more system extension errors!

Hope this helps.

Similar questions

23 replies
Question marked as Top-ranking reply

Mar 5, 2023 8:44 PM in response to AMCarter3

I finally found a way to do this. Here's what I did:

  1. Booted into Recovery Mode, disabled SIP from Utilities menu -> Terminal (csrutil disable), reloaded.
  2. Booted normally and opened terminal again, from there saw the list of extensions using "systemextensionsctl list".
  3. Then used "systemextensionsctl uninstall - <extension name>"
  4. Closed Terminal and was able to drag the folder to the Trash.
  5. Rebooted into Recovery Mode and re-enabled SIP from Terminal using "csrutil clear" ("csrutil enable" gave me an error).
  6. Reloaded and no more system extension errors!

Hope this helps.

Feb 12, 2023 8:57 AM in response to AMCarter3

How did you uninstall TotalAV? Did you follow these instructions?

https://help.totalav.com/en/tech/av/setup/-/av-setup-how-to-uninstall-av


It has a built-in uninstall menu option. If you just deleted the App then this script wasn't run. You may need to re-install TotalAV then uninstall with the menu option within TotalAV. That should remove the system extension along with everything else. You may not need to register the software just re-install and uninstall it using the proper method.



Feb 12, 2023 9:01 AM in response to AMCarter3

Did you use it's built in uninstall or did you just delete manually?

If you didn't use their uninstaller, I'd re-install it. Then use it's uninstaller.


https://help.totalav.com/en/tech/av/setup/-/av-setup-how-to-uninstall-av


Further, instead of uninstalling again, you could install FAF and search for that file: "net.protected.macos.TotalAV.ESAVExtension.systemextension".

Once located, you can delete it.


https://apps.tempel.org/FindAnyFile/index.php


Chances are that it resides in one of these locations:


/Library/LaunchDaemons

/Library/LaunchAgents


And/Or....


/Library/StartupItems

~/Library/LaunchAgents


Feb 12, 2023 11:15 AM in response to AMCarter3

Find Any File can help in removing leftover components of apps that have been deleted. Do the following:  


#1 - boot into Safe Mode according to Start up your Mac in safe mode - Apple Support

NOTE: Safe Mode boot can take up to 10 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed
• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)
• Prevents Startup Items and Login Items from opening automatically
• Disables user-installed fonts 
• Deletes font caches, kernel cache, and other system cache files



#2 - download and run the shareware app Find Any File to search for any files with the application's or the developer's name in the file name.  For TotalAV software you'd do the following search(es): 

1 - Name contains totalav


Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.

FAF can search areas that Spotlight can't like invisible folders, system folders and packages.  

#3 - reboot normally.




Feb 12, 2023 9:26 AM in response to AMCarter3

The developer did not implement their system extension according to Apple standards. Therefore it did not uninstall like it should have.


The nuclear option: Backup your data and reload your operating system from scratch. Re-install your Apps minus the TotalAV and restore you data.


Alternative:

Google 'Derflounder remove system extension", read the whole blog post then read the comments.



Feb 12, 2023 9:45 AM in response to AMCarter3

I'm afraid you are stuck.


These system extensions have to be correctly removed. The only 100% reliable way to remove them is by dragging their containing app to the trash. Any other method, including using the developer's own uninstaller or uninstallation procedures, carries a risk of leaving the system extension orphaned. In the past, it was standard procedure to recommend a developer's official uninstaller or uninstallation procedures. But with the advent of these new System Extensions, that simply isn't reliable any more. Too many developers have faulty uninstallers. Some developers don't provide uninstallers at all. Running any kind of "app zapper" or "clean up" tool, which are widely recommended on the internet, is a 100% guarantee of failure.


Once in that orphan state, the system extension is protected by the operating system's own System Integrity Protection and cannot be removed by any normal method. The systemextensionctl is not deprecated, but that procedure involved disabling System Integrity Protection and the forum rules do not allow discussion of potentially dangerous procedures like that.


I do not know which app was the container for your particular system extension. It may have been an app in a hidden folder. If that is the case, then you may still be able to delete it. I don't know. I also don't know what procedure you used to remove the apps you did find. Everything these days is always a big mystery, isn't it?


At this point, given what little any of us know about what exactly you installed, how you uninstalled it, or what exactly you uninstalled, there is only one 100% guaranteed solution. You need to erase your hard drive and reinstall the operating system. When you restore from your Time Machine backup, you have to make sure to restore only user files and user accounts. You must NOT restore any apps, software, system settings, or "other files". Otherwise, that will put you right back where you started. Once you are back up and running, you can be more careful about installing 3rd party apps. The scamware software industry is totally out of control right now, and about to get much, much worse due to "government regulation".


I realize this is a pretty extreme step. Unfortunately, it is the only option I can offer you in this venue.


Edit: It took me longer to type all of that than it took the OP to find the "other" solution.

Feb 12, 2023 9:31 AM in response to AMCarter3

The extension is located here:


/Library/SystemExtensions


That's the root Library folder as seen at the top of the drive next to Applications, System and Users.


Put the extension in the trash. You'll likely have to enter your admin password to complete the action. Empty the trash and restart. You may have to possibly restart before the OS will let you empty the trash.

Feb 12, 2023 1:53 PM in response to AMCarter3

Older versions of VirtualBox used to do that. For a long time, it put a kernel extension in the System folder. When Apple started locking that folder down in Catalina, there was an API that allowed you to still put items there, even though the System folder was supposed to be off limits.


Well, VirtualBox could install the kernel extension, but their own uninstaller then couldn't remove it. And neither could you since it was in the System folder. Fortunately with Catalina, you could boot to another volume with Catalina on it, and then delete the extension on the non-startup drive.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to delete a TotalAV system extension?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.