2020 – June 2021 versions — Updated June 25, 2021 — Security Agent Unrecoverable Error Mac TeamViewer. Recently I was cleaning up some space on my MacBook and decided to uninstall TeamViewer. However, I failed to properly uninstall the program, and when I turned on my MacBook a few days later I encountered this unrecoverable error mac issue that leads you to this article. Below is a solved walkthrough.
last updated: January 2021
Unrecoverable Error Mac – SOLVED
It’s highly suggest you refer to the comments at the end of this post if you encounter an issue. There has been a pretty active community working together when questions pop up.
Below is the method I used to get the missing file back on to my MacBook.
Security Agent Team Viewer Error SecurityAgenet TeamViewer Auth Plugin Unrecoverable Error Security Agent Team Viewer Error
Fixing the Unrecoverable Error Mac Step 1: Download the Missing File
- Download the needed TeamViewer file TeamViewerAuthPlugin.bundle (if you can’t use the link just provided, try this updated link here )
- Copy the TeamViewerAuthPlugin.bundle from /Library/Security/SecurityAgent/ to a USB
NOTE: Make sure the USB is formatted for the macOS.
Recovery Mode
NOTE: Exercise patience when entering Recovery Mode.
- Restart your MacBook and hold Command (⌘)-R until the Apple logo appears on the screen.
NOTE: This process can take some time, so be patient.
- You might be prompted to enter the login password of the administrator of your Mac, or your Apple ID password, or a firmware password. Enter the requested password to continue.
- Once complete the macOS Utilities window will appear as seen below.
- Select Disk Utility
NOTE: May take a few minutes for the macOS Utilities window to load.

- Connect USB to your Mac
Disk Utility Window
- Under the Internal section on the left panel, select the Macintosh HD disk. At the top of the window, click Mount.
- Under the External section, select your USB and make sure it’s mounted as well
NOTE: The disk could already be mounted. When you select the disk in the left pane and you see the Unmount button instead of the Mount button, the disk is already mounted. Continue on to the next step.
NOTE: The name of the disk may differ from this example, but the procedure is the same.
Terminal
- In the menu bar at the top of your screen, select Utilities and select Terminal.
- Type the following command:
ls /Volumes/
- A list of all mounted disks will appear. You should see the name of your USB along with the main disk name i.e. Macintosh HD.


Copy The File
- Now enter the following in the Terminal to copy the missing file from the USB to the Macintosh HD: (Pay close attention to spacing and be aware that the command is case sensitive.)
cp -r /Volumes/USB/TeamViewerAuthPlugin.bundle /Volumes/Macintosh\ HD/Library/Security/SecurityAgentPlugins/
NOTE: This is where I kept messing up. It can be difficult to tell where spacing takes place. There should be space between bundle /Volumes and again between Macintosh\ HD/
bundle /Volumes
Macintosh\ HD/
NOTE: Any error message such as No such file or directory or Read-only file system, means either the source or the destination path or both are not entered correctly.
Verify
- Now let’s verify the file copied without issue. Enter the following command:
ls /Volumes/Macintosh\ HD/Library/Security/SecurityAgentPlugins/
- If the file does not appear after entering the above command, go back to the TERMINAL section above and try again.
- Once you’ve successfully copied the missing file to your MacBook, click the Apple logo at the top left corner and click Restart.
NOTE: Be patient while your MacBook restarts. This can take a few minutes.
You should now be able to successfully start up and have now solved your unrecoverable error mac issue.
This website is targeted towards digital health news, but I’m going to leave this article up because of the thousands of viewers each month that visit this page. If you have an interest in digital health please subscribe to my email updates (I only email when new posts are submitted). If you want to learn about digital health from a consumer standpoint, I recommend my article Healthcare Consumerism as a good starting point.
What should we do if it says permission denied?
its not working, the file I’m copying once download it doesn’t show up in the library/ security/ securityplugin is that why its not working ?
Solution Works.
Glad it works. Thanks for commenting!
I completed the above steps and I verified the file to be in the Macintosh HD but I still receive the same error on restart.
Interesting. Let me do some ‘investigative Googling’ and see if I can help you troubleshoot. Please keep me updated.
– Logan
Will this work with the .dmg file or do we need to unzip it first. I downloaded the file from a windows computer onto my flash drive as a Mac download but the file reads: TeamViewer.dmg
hi I googled and found this cause and solution that solved my problem, as stated this issue can be caused by deleting an authorization plugin on macOS (in this case, TeamViewerAuthPlugin.bundle) without de-registering it first.
in The Terminal i key in the below command and it works for me (replace with your HardDisk name as discussed). Hope it helps.
rm “/Volumes//var/db/auth.db”
Below is the link from TeamViewer community
https://community.teamviewer.com/t5/Previous-versions-EN/Can-t-Boot-after-uninstalling-Teamviewer-on-Mac-OS-Catalina/m-p/75701#M9709
It doesn’t work. It says there’s no such directory. And don’t tell me I typed something wrong, I went to this website and copy-pasted the command. It doesn’t work on my French MacBook Pro. France
Thank you for this update! I’m in the US, so I’m curious if the different countries could be why it’s not working. I’m not very knowledgeable about this topic, so I’m hoping someone can respond to help you out more soon. I’ll do some Googling this evening and reply to you if I find anything. – Logan
Thank you. I also tried to reinitialize my mac by making a bootable USB key first. But it doesn’t work : I only am able to access to recovery mode and the sudo command isn’t available for me to install catalina on my usb.
It doesn’t work. It says there’s no such directory. And don’t tell me I typed something wrong, I went to this website and copy-pasted the command. It doesn’t work on my French MacBook Pro.
Thank you for this update! I’m in the US, so I’m curious if the different countries could be why it’s not working. I’m not very knowledgeable about this topic, so I’m hoping someone can respond to help you out more soon. I’ll do some Googling this evening and reply to you if I find anything. – Logan
Please help me When I do the verify the result always Nothing What wrong , What I need tO do?
Hey ! thanks for this tutorial. I have a question about the ‘cp’ part. I have a lot of ‘Read-only’ and ‘not such file’ errors when I try to copy my file, have you any idea where it can come from ? I use ‘Tab’ to write correctly names of files but it didn’t work.
Hello, please i need help to fix the same error
In disk utility i checked and i have only machein and machein- data ,
And I couldn’t find
“Terminal”
In the menu bar
So i couldn’t complete the recovery
You have to close the disk windows. Then you go back on the screen wheer you can find Time machine, Reinstall, Online Hlep options. In the top bar you will find Utilitary>Terminal.
HEy I cant find the result for verify, the results always Nothing I already try And try But same Its Nothing
Hi there I couldn’t complete the recovery as I couldn’t check if item is copied it just keeps popping up the same things over and over again.
After typing cp -r and the rest of the code, what u see is
cp: illegal option — /
usage : some codes and source_file target_file and second row is source _file target directory and when I check the bash keeps reappearing does it mean is not copied?
Owner disappeared from message print-out. They are 501 staff and root wheel, respectively.
V Important
I do not see “ terminal” on the menu. I have a presentation in the morning and my laptop is still at this state. Please reply asap if you are of any assistance
same issue i cannot see terminal after the mount step . please help
MenuBar: click
Row 3 = terminal
MenuBar -> utilities -> Terminal
Hey Logan, I am at VERIFY in your manual, in Terminal. I do command ls, getting MKAuthPlugin.bundle TeamViewerAuthPlugin.bundle . In top left corner I do Restart. Takes short time. Screen opens. I do pw. White line. Macbook never starts. Unfavourable surprise.
John: I’ve similar uncoverable problem with MKAuthPlugin:prelogin and Catalina OS. Where to find a corresponding MKAuthPlugin.bundle?
Hey John,
If you haven’t solved this yet or didn’t see the MKAuthPlugin.bundle file in one of the comments on this article, here is the file link. I will also update my article right now to reflect the new link for the bundle file.
https://www.easymacsupport.com/uploads/4/7/9/9/47995763/teamviewerauthplugin.bundle.zip
I load TeamViewerAuthPlugin.bundle on USB, but I observe that my error concerns MKAuthPlugin. Never mind, I go on. Connecting USB to mac. Following instructions about Disk Utility Window. USB is on, it happens to contain 42 MB in all.
At the top of the screen is Apple and Disk Utility — but no Terminal to click at — STOP
Hi John, what did you do when you weren’t able to find “terminal” on the menu. I’m having the same issue
About missing MKAuthplugin.bundle. I fetched it from Logan’s site on the net and repeated all instructions. Terminal window. Made ls -l /Volumes/Macintosh\ HD/Library/Security/SecurityAgentPlugins/. Got MakauthPlugin.bundle and TeamViewerPlugin.bundle. Picked the Apple in top left corner. Did Restart. Immediately the personal screen opens. Did Password. Not after patient many minutes as Logan says, but immediately: No-MKAuthPlugin-Dagnosis. — What is the error? — Does macbook refuse because MKAuthPlugin. bundle has owner instead of ? I don’t know how to change owner on files. Best, John.
MenuBar -> Utilities -> terminal
Thanks bro, you save my life, I use te Option 2 and it’s works.
Glad I could help out. I panicked whenever I encountered this problem and knew I wouldn’t be the only one. I consider myself pretty tech-savvy, but this error can really set you in a panic whenever it happens at an inconvenient time.
Success!
That’s awesome! Glad I could help out. I spent a lot of time trying to figure out the process myself, so it led me to go ahead and post it on this website even if it’s not what I usually write about. Please let me know if there are any steps that need to be updated or clarified so we can continue helping others.
HEy Hello Why I cant verify the results always Nothing , I try And try And same result
Where can I download the file you noted? I have tried to find it online and on my TeamViewer on the windows computer. Will I need another Mac computer that has the program?
Here is an updated link I found. I hope you have success! I’ll update my post with the new link I found online. https://www.easymacsupport.com/uploads/4/7/9/9/47995763/teamviewerauthplugin.bundle.zip
I just want to give an update and the instruction worked. You need to understAnd that you have to change USB – to your USB name. Also you need to check further which Internal Disk youre using is it Macintosh HD or ghe MAC OS. It worked for me. Thank you so much