How To Fix macOS Issue When Encountering the Unrecoverable Error: Security Agent was unable to create requested mechanism TeamViewerAuthPlugin:start | macOS

**NOTE** You will need to download the TeamViewerMKAuth zip file on a flash drive…I used a secondary Macbook I had to download the file and transfer to a flash drive.  **NOTE**

Recently (November 2019) 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 restarted my MacBook a few days later I received the same Unrecoverable Error that probably led you to this article.

Below is the method I used to get the missing file back on to my MacBook.

 

Unrecoverable error. SecurityAgent was unable to create requested mechanism TeamViewerAuthPlugin:start. popup


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.

 

macOS Utilities - macOS Recovery

  • 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

 

macOS Disk Utility

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 log in to your MacBook.

 

 

 

31 thoughts on “How To Fix macOS Issue When Encountering the Unrecoverable Error: Security Agent was unable to create requested mechanism TeamViewerAuthPlugin:start | macOS

  1. 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

    Liked by 1 person

    1. 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

      Like

      1. 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.

        Liked by 1 person

  2. 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.

    Liked by 1 person

    1. 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

      Like

  3. 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.

    Liked by 1 person

  4. 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

    Like

    1. 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.

      Liked by 1 person

      1. 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.

        Liked by 1 person

      2. 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?

        Liked by 1 person

  5. 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

    Liked by 1 person

  6. 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.

    Liked by 1 person

      1. 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

        Liked by 1 person

      1. 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.

        Liked by 1 person

    1. 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.

      Liked by 1 person

    1. 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.

      Liked by 1 person

  7. 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?

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.