Announcements

Remote Control for all devices running Android 7+ is here!

(Incl. Google Pixel series, Xiaomi smartphones, Oppo devices, and many more)


Learn more

Highlighted
Posted by
Photon

Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Hello!

Am in a bit of a pickle after a succesful upgrade to Catalina and then uninstalling Teamviewer through CleanMyMac uninstaller utility. It all seemed fine till i had rebooted and it fails with an Unrecoverable error for security agent Teamviewer auth plugin.start.

Anyone know how to fix this, w/o needing to install all from scratch?

Thanks in advance.

1 Accepted Solution

Accepted Solutions
Highlighted
Posted by TeamViewer Staff
TeamViewer Staff
Solution

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

This issue can be caused by deleting an authorization plugin on macOS (in this case, TeamViewerAuthPlugin.bundle) without de-registering it first.

We recommend always using the built-in uninstaller in TeamViewer (Preferences > Advanced). This makes sure that the plugin is properly de-registered before deletion.

In my tests,  CleanMyMac X versions prior to 4.4.5 seem to be deleting the plugin without de-registering it, so that could have caused the issue. If you use CleanMyMac X, you'll want to make sure to use the newest version.

If you do not have the possibility to restore the plugin as described by @Mrsharifi, you may instead be able to delete your Mac's authorization database. Your Mac re-creates a missing database during the next startup (using some default settings that are fine for most users).

  1. Start your Mac in macOS Recovery by holding down Cmd-R until the Apple logo appears.
    Once your Mac has booted into macOS Recovery, you should see a window titled "macOS Utilities".
  2. To delete the authorization database, your Mac's hard disk needs to be mounted and you will need to know its name (usually something like "Macintosh HD" or "macOS").
    1. Open Disk Utility and check the left sidebar for the name of your disk. For Macs running Catalina, look for the name that does not end in "- Data".
    2. Select the disk in the sidebar.
    3. Click "Mount" in the toolbar (if you only see "Unmount", it is already mounted and you don't need to do anything).
    4. Quit Disk Utility.
  3. You should be back at the "macOS Utilities" window.
  4. From the menu bar on top of the screen, open Utilities > Terminal.
  5. Enter the command
    rm "/Volumes/<your disk>/var/db/auth.db"
    Replace <your disk> with the name of your built-in hard disk, e.g.
    rm "/Volumes/Macintosh HD/var/db/auth.db"
    Make sure not to forget the quotes in case your disk name contains spaces.
  6. Restart your Mac.

View solution in original post

48 Replies
Highlighted
Posted by
Photon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I also have this problem, I'm so sad I can't use my mac.
Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I had exactly the same problem and the following helped me to resolve the problem. 

  1. Install the TeamViewer app on another MacOS
  2. Copy the "TeamViewerAuthPlugin.bundle" from  "/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle" to a USB. Make sure the USB is formatted in the native MacOS filesystem to avoid incompatibility issues in the next steps.
  3. Restart your machine and hold Command+R to enter the MacOS Recovery mode until the Apple Logo appears. this process may take some time
  4. Upon entering the recovery mode, you'll be instructed to select the language, username, and finally to enter your password.
  5. After a few minutes, the macOS Utilities window will appear
  6. From the list select Disk Utility
  7. In the Disk Utility window, from the left pane select the "macOS" disk and in the right pane click on the "Mount" button. If asked, enter your login password. Now, the macOS disk is mounted. to verify this, look at the info bar on the page. it should be active and show detail information about the disk.
  8. Close the Disk Utility window and from the menu bar, select Utilities and select Terminal
  9. Once the Terminal window opened, connect the USB to the machine and type following: 
    cp -r /Volumes/<your USB name>/TeamViewerAuthPlugin.bundle /Volumes/macOS/Library/Security/SecurityAgentPlugins/
  10. To verify the above operation, enter the following; it should show the "TeamViewerAuthPlugin.bundle". 
    ls -l /Volumes/macOS/Library/Security/SecurityAgentPlugins/
    If not shown, try to retype step 9 but use the Tab key to autocomplete the path step by step. Don't rush!!!
  11. If successful, from Apple logo on the top left corner select Restart and wait for the machine to restart
  12. Now you should be able to successfully login to your machine.

In case of any problem during step 9, especially receiving "Operation not permitted". enter the following:

csrutil disable

Restart the machine for the changes to take effect. Then, repeat step 3 and follow the instructions again. Once the macOS booted successfully, open a Terminal and reverse the  setting by entering:

csrutil enable

NOTE: I tried to recall all the steps after two days, so I might have missed something. So, in case of any problem please email me at mrsharifi.it@gmail.com.

Hope it helps

Cheers, 

Rez

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

It seems like cp command is not working. every time i'm trying to use it the following error accures

no such file or directory

so i decided moving the .bundle would help, but still the same error

please help

Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

pls, post the screenshot of the exact command you use and the output.

7 Replies
Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

IMG_0385.JPG

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

cp -r /Volumes/<my USB name>/TeamViewerAuthPlugin.bundle /Volumes/macOS\ Base\ System/Library/Security/SecurityAgentPlugins/

that's the code i've been using

Highlighted
Posted by
Henagon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I am having the same problems and took your advice and installed teamviewer on another mac.  (Mojave). There is no authplugin.bundle in the directory with the application so I cannot copy the plugin? What shoul I do? 

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

You're copying the file to a wrong directory "/Volumes/macOS Base System". Put it simply, consider macOS Base as a light version of macOS to provide necessary tools for troubleshooting and recovery. Therefore, the filesystem is in Read-only mode. That's why you can't write or modify.

As instructed in step 7, you should FIRST mount the macOS disk so that you can access the main filesystem and copy the file to the right path.

Once done, open the terminal and use enter following:

Spoiler
ls -l /Volumes

You should be able to see following in the output in addition to "macOS Base System":

Spoiler
macOS
macOS - Data

If so, you can continue with step 9 and so on. But, as shown below, make sure to use "macOS" in the destination instead of "macOS Base System".

/Volumes/macOS/Library/Security/SecurityAgentPlugins/

Hope it helps.

Rez

 

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

IMG_0402.JPGwhich disk shall I mount?

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Macintosh HD. but it seems it's already mounted. so try the command "ls -l /Volumes" to see if it lists the "Macintosh HD". If so, continue with copying the file to: 

/Volumes/Macintosh\ HD/Library/Security/SecurityAgentPlugins/
Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

OMG! You are great! Works fine! Now I am able to use my computer!  THANK YOU!!!!

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

it's TeamViewerAuthPlugin.bundle not authplugin.bundle. it's case sensitive so make sure you're looking for the right file.

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Hi,

Please see my new post on this issue here. I rewrote the entire instruction. I fixed some minor mistakes and added more details including the errors.

I hope it helps. 
 
Rez
Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I am also having this same problem. The codes aren’t working and say wrong path but it some it says that it has found the locations but hasn’t copied. I am trying to upload a picture but it won’t let me. Can someone help? I miss my Mac :(
Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

thanks broh.. 

Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Anyone has theses files somewhere i can download .. i don't have another MAC .. so i can't appy this solution ...

 

Anyone else found a way of removing the file that does prevent us to get to the login page without having to Copy back the file from another computer?

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff
Solution

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

This issue can be caused by deleting an authorization plugin on macOS (in this case, TeamViewerAuthPlugin.bundle) without de-registering it first.

We recommend always using the built-in uninstaller in TeamViewer (Preferences > Advanced). This makes sure that the plugin is properly de-registered before deletion.

In my tests,  CleanMyMac X versions prior to 4.4.5 seem to be deleting the plugin without de-registering it, so that could have caused the issue. If you use CleanMyMac X, you'll want to make sure to use the newest version.

If you do not have the possibility to restore the plugin as described by @Mrsharifi, you may instead be able to delete your Mac's authorization database. Your Mac re-creates a missing database during the next startup (using some default settings that are fine for most users).

  1. Start your Mac in macOS Recovery by holding down Cmd-R until the Apple logo appears.
    Once your Mac has booted into macOS Recovery, you should see a window titled "macOS Utilities".
  2. To delete the authorization database, your Mac's hard disk needs to be mounted and you will need to know its name (usually something like "Macintosh HD" or "macOS").
    1. Open Disk Utility and check the left sidebar for the name of your disk. For Macs running Catalina, look for the name that does not end in "- Data".
    2. Select the disk in the sidebar.
    3. Click "Mount" in the toolbar (if you only see "Unmount", it is already mounted and you don't need to do anything).
    4. Quit Disk Utility.
  3. You should be back at the "macOS Utilities" window.
  4. From the menu bar on top of the screen, open Utilities > Terminal.
  5. Enter the command
    rm "/Volumes/<your disk>/var/db/auth.db"
    Replace <your disk> with the name of your built-in hard disk, e.g.
    rm "/Volumes/Macintosh HD/var/db/auth.db"
    Make sure not to forget the quotes in case your disk name contains spaces.
  6. Restart your Mac.

View solution in original post

Highlighted
Posted by
Henagon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

"/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle"   cant find this can you please shar the screen shot where exactly  i will find this file

Highlighted
Posted by
Henagon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

its saying permission denied 

Highlighted
Posted by
Henagon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

You just need to reinstall Teamviewer from Recovery Mode

1-Download Teamviewer .dmg file from Teamviewer site to a usb https://www.teamviewer.com/en/download/mac-os/

2-start computer in recovery mode (Command+R)

3-plug your usb

4- go Terminal from Uitility

5-install Teamviewer .dmg file using:

installer -package /Volumes/<your usb name>/TeamViewer.dmg -target /Volumes/<your main hdd>

Example:

installer -package /Volumes/sandisk/TeamViewer.dmg -target /Volumes/Macintosh\ HD

 

Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

i have it too

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I would like to thank you for the post and also the readers who have had faced similar issue before. 

Copying to macOS folder does not work on 10.15 but copying .bundle folder to Machintosh HD does work.

:D


@Mrsharifi wrote:

I had exactly the same problem and the following helped me to resolve the problem. 

  1. Install the TeamViewer app on another MacOS
  2. Copy the "TeamViewerAuthPlugin.bundle" from  "/Library/Security/SecurityAgentPlugins/TeamViewerAuthPlugin.bundle" to a USB. Make sure the USB is formatted in the native MacOS filesystem to avoid incompatibility issues in the next steps.
  3. Restart your machine and hold Command+R to enter the MacOS Recovery mode until the Apple Logo appears. this process may take some time
  4. Upon entering the recovery mode, you'll be instructed to select the language, username, and finally to enter your password.
  5. After a few minutes, the macOS Utilities window will appear
  6. From the list select Disk Utility
  7. In the Disk Utility window, from the left pane select the "macOS" disk and in the right pane click on the "Mount" button. If asked, enter your login password. Now, the macOS disk is mounted. to verify this, look at the info bar on the page. it should be active and show detail information about the disk.
  8. Close the Disk Utility window and from the menu bar, select Utilities and select Terminal
  9. Once the Terminal window opened, connect the USB to the machine and type following: 
    cp -r /Volumes/<your USB name>/TeamViewerAuthPlugin.bundle /Volumes/macOS/Library/Security/SecurityAgentPlugins/
  10. To verify the above operation, enter the following; it should show the "TeamViewerAuthPlugin.bundle". 
    ls -l /Volumes/macOS/Library/Security/SecurityAgentPlugins/
    If not shown, try to retype step 9 but use the Tab key to autocomplete the path step by step. Don't rush!!!
  11. If successful, from Apple logo on the top left corner select Restart and wait for the machine to restart
  12. Now you should be able to successfully login to your machine.

In case of any problem during step 9, especially receiving "Operation not permitted". enter the following:

csrutil disable

Restart the machine for the changes to take effect. Then, repeat step 3 and follow the instructions again. Once the macOS booted successfully, open a Terminal and reverse the  setting by entering:

csrutil enable

NOTE: I tried to recall all the steps after two days, so I might have missed something. So, in case of any problem please email me at mrsharifi.it@gmail.com.

Hope it helps

Cheers, 

Rez


 

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Thanks for raising this issue bro


@rafinelio wrote:

IMG_0402.JPGwhich disk shall I mount?


 

Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

rm "/Macintosh HD/private/var/db/auth.db"

reboot
Highlighted
Posted by
Trigon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

The solution with deleting var/db/auth.db didn't work for me while I was using the machine in Target Disk mode. So I tried this solution and it worked immediatly. Thank you very much.

Highlighted
Posted by
Digon

uninstalled TeamViewer on Macos Catalina Black Screen

Hello

I've uninstalled TeamViewer on my iMac and right after I restarted the iMac. Now, whenever I try to put on the computer it takes me to the login page where I put in my passwords. As soon as it loads all I get is a black screen and a small popup box:

"Unrecoverable error.

SecurityAgent was unable to create requested mechanism TeamViewerAuthPlugin:start.

OK"

Clicking "OK" makes no difference. 

Apple doesn't know what to do. The one I spoke to didn't at least.

Any advice please let me know.

Thanks in Advance 

Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

I had the same problem with that code it doesn't work for me. But I resolved it just changing the (rm) for RM means in capital letters that worked for me. I hope that can help more!! 
 Thanks for alot for the post.

Highlighted
Posted by
Digon

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

on step 5 when putting the first command says there is no such file

 

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina


@DaySleeper wrote:

on step 5 when putting the first command says there is no such file


Make sure to replace <your disk> with the name of your actual disk, and make sure it is mounted. Look to step 2 to find the correct disk name and mount it. It's also important that you keep the quotes around the path in case your disk name contains any spaces.

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

The very clear solution, It worked for me. Thanks

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Please help. I followed your instructions exactly. But it did not help at all. I can't use my Mac. I get the same massages as before: 

Onherstelbare fout. 

SecurityAgent kan het gevraagde mechanisme TeamViewerAuthPluginniet aanmaken:start

I'll try to translate it in Englisch

Irrecoverable error.

SecurityAgent can not create the asked mechanism (?) TeamViewerAuthPlugin:start

What happened before: I put the Teamviewer app and all the documents that contained the words Teamviewer in the garbage bin of my Mac. 

 

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

@PaulineM 

Unfortunately, macOS has no mechanism that would warn you when deleting a SecurityAgentPlugin without first deregistering it. I recommend always using the uninstaller provided in TeamViewer Preferences > Advanced if you want to remove TeamViewer.

Can you please double-check that you removed the authorization database in the correct location? Follow https://community.teamviewer.com/t5/General-Questions/Can-t-Boot-after-uninstalling-Teamviewer-on-Ma.... Take particular care in steps 2 and 5, as there are multiple possibilities how your Mac could be partitioned and your disk(s) could have different names.

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

When I go to the Terminal is says: -bash-3.2#. What is this, I can not remove it. Should I?

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Thank you, I checked and double checked. I also tried the instruction RM and not rm. Id did not help!

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina


@PaulineM wrote:

When I go to the Terminal is says: -bash-3.2#. What is this, I can not remove it. Should I?


That's the "prompt", it's Terminal saying "I'm ready, tell me what to do". It'll also appear again after each command, indicating that the Terminal is ready for the next command.

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina


@PaulineM wrote:

Thank you, I checked and double checked. I also tried the instruction RM and not rm. Id did not help!


Lowercase rm is correct, no need to try uppercase.

Can you tell me the exact command you used, and what the output was? If you don't want to copy it all manually, taking a photo of what you're seeing on screen using your phone might be an option.

Highlighted
Posted by
Neutron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

How much coffee do you want?;-) It worked out, just did not know I had to press Enter at the end, for a second  -bash-3.2#.

Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

Hi - really hope that someone might be able to help. Since yesterday I'm receiving the Unrecoverable error message. I'm pretty certain that I didn't delete the TeamViewer plugin but I was trying to download the desktop version of Skype. The download wasn't working, so I moved earlier attempts to the bin and force quit as my laptop had stopped responding. 
I've tried the fix but the error message is still there.

Thanks in advance for suggestions that might get my laptop up and running again.

Highlighted
Posted by
Henagon

Uninstalled issue mac os

Hi, Recently i uninstalled teamviewer on my mac os and restart on my laptop showing the error is unrecoverable error. Please explain how to fix this issue. I am so sad because i can't use my laptop 

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Uninstalled issue mac os

Hi @Rahul03Kp 

Could you please clarify the error exactly?

Has an error code or it sais more details on it?

You mac until what step reaches when booting? Do you see the login screen?

Best regards

Pro
Highlighted
Posted by
Henagon

Re: Uninstalled issue mac os

The error I am seeing is this.

unrecoverable error. security agent was unable to create requested mechanism teamviewer authplugin: start 

when I put it on recovery mode, it asks for my password, which I have forgotten, which is why I am not able to use my laptop. so please help me to this issue

Highlighted
Posted by
Henagon

Uninstall Team Viewer MacOs issue

The error I am seeing is this

unrecoverable error. security agent was unable to create requested mechanism teamviewer authplugin: start

And when I put it on recovery mode, it asks for my password, which I have forgotten, which is why I am not able to use my laptop. so please help me how to resolve this issue.

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Uninstall Team Viewer MacOs issue

Hi @Rahul03Kp 

There is a fix for such errors. I would suggest you look at this related post, But please, you must be very careful when entering the disk utility menu or when executing commands at the level of permission within the operating system.

Please look to the Solution of this post and be very careful. 

I hope this helps you solve it. 

Best regards

Pro
Highlighted
Posted by
Electron

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

At this step I am having issues

  1. Enter the command
    rm "/Volumes/<your disk>/var/db/auth.db"
    Replace <your disk> with the name of your built-in hard disk, e.g.
    rm "/Volumes/Macintosh HD/var/db/auth.db"
    Make sure not to forget the quotes in case your disk name contains spaces.

I type in the name of my built in disc. I have a macbook air catalina os. The computer responds No such file or directory.

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina

@123456qwe  

Check in Disk Utility to make sure the disk is actually mounted (see step 2). 

Also, don't forget the quotes around the path, and make sure the spelling is correct, including capitalization.

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Uninstall Team Viewer MacOs issue

@Rahul03Kp Are you sure you have forgotten your password? You would have needed your Mac's admin account password to delete the authentication plugin (or to install software that can do that).

If you think you have the correct password but it isn't accepted, check in the upper right corner of the screen if macOS Recovery might be using a different keyboard layout from the one you're used to.

If your Mac permits starting from an external hard drive/USB drive, booting from an installation medium might be another way to recover from this. You can find more informtion about this on Apple's website: https://support.apple.com/en-us/HT201314

Highlighted
Posted by
Neutron

MacBook not turning on due to teamviewer

Hello,

teamviewer was not working on my MacBook OS Catalina after I downloaded it as my broadband would not authorise it. I subsequently dragged and dropped it in trash. I shut down yesterday and this morning I cannot get on my MacBook! The home screen does not load it says "UNRECOVERABLE ERROR SecurityAgent was unable to create requested mechanism TeamViewerAuthPlugin:start. " 

I have all my work on there and it has not been backed up please help I need to access my documents

C9A34751-9C87-4ED9-9E26-333EC7905960.jpeg

 

Highlighted
Posted by Moderator Moderator
Moderator

Re: MacBook not turning on due to teamviewer

Hello @namiraj,

Thank you for your message and welcome to the TeamViewer Community! 🙌

We explain how to proceed in this post right here: Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina 

I hope this could help. 🍀

If not, do not hesitate to ask your questions here. 👇

Best regards

Jean 

French Community Moderator
Did my reply answer your question ? Accept it as a solution to help others.
Find this helpful ? Say thanks by clicking on the Thumbs Up button.