unrecoverable error security agent was unable to create requested mechanism builtin:prelogin

Hi All,


So, my Mac caught some kind of virus and my security software was unable to fix the issue. Chrome and Safari stopped working, programmes were not opening etc.

I decided wipe the computer and then use time machine to upload a previous version of the computer from before the virus landed.

I keep getting the above message... most info online talks about team viewer, but this message isn’t about that it seems... I’m not tech savvy really, can anyone explain what I can do to fix this?


Would recovery mode, load big sur, then use migration assistant work instead?


thanks

iMac 27″, macOS 11.1

Posted on Dec 26, 2020 12:54 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 26, 2020 8:27 PM

Hey again!


Well you have a backup, so you’re ahead of the game already!


I would boot to recovery mode as I think you did:

Startup holding Command R.


The first thing I’d check is the date and time the system is showing:

On the top menu, select Utilities > Terminal. Once there, type “date” (without quotes) and hit Return, the results should reflect the current time and date, (It May use universal time (UTC), so be sure to check current UTC time online), if that’s all good, you can hit Terminal > Quit Terminal.


Then in Disk Utility select three startup drive, (Usually Macintosh HD).


Then on the top menu, select View > Show All Devices.


Then above the Macintosh HD’s you should see the Container Disk, and above that, the SSD/HDD.


Click on the main drive, (SSD/HDD) > Erase, make sure the format is set to APFS, and scheme to GUID, give the volume a name (Usually Macintosh HD, it may default to Untitled, but you can change the name to your preference) > Erase.


Once done, Quit Disk Utility > Reinstall Mac OS.


Make sure you’re connected to your network first, otherwise you may get a server-type error, but you know the drill.


It sounds to me like the recovery version and the current OS version maybe different, so this is a good way to reset it.


Once done installing, (If you need to), you can select the option to move your data back from your backup drive, (Or skip that and set it up as new, you can still access the backup files later if you need to).


Hope that works!

Similar questions

4 replies
Question marked as Top-ranking reply

Dec 26, 2020 8:27 PM in response to curting2000

Hey again!


Well you have a backup, so you’re ahead of the game already!


I would boot to recovery mode as I think you did:

Startup holding Command R.


The first thing I’d check is the date and time the system is showing:

On the top menu, select Utilities > Terminal. Once there, type “date” (without quotes) and hit Return, the results should reflect the current time and date, (It May use universal time (UTC), so be sure to check current UTC time online), if that’s all good, you can hit Terminal > Quit Terminal.


Then in Disk Utility select three startup drive, (Usually Macintosh HD).


Then on the top menu, select View > Show All Devices.


Then above the Macintosh HD’s you should see the Container Disk, and above that, the SSD/HDD.


Click on the main drive, (SSD/HDD) > Erase, make sure the format is set to APFS, and scheme to GUID, give the volume a name (Usually Macintosh HD, it may default to Untitled, but you can change the name to your preference) > Erase.


Once done, Quit Disk Utility > Reinstall Mac OS.


Make sure you’re connected to your network first, otherwise you may get a server-type error, but you know the drill.


It sounds to me like the recovery version and the current OS version maybe different, so this is a good way to reset it.


Once done installing, (If you need to), you can select the option to move your data back from your backup drive, (Or skip that and set it up as new, you can still access the backup files later if you need to).


Hope that works!

Dec 26, 2020 1:07 AM in response to curting2000

Hey Curting2000!


I’d probably say that restoring the backup brought back any related/corrupted files that were pre-existing possibly.


You maybe on the right track with Team Viewer, or some other third party program installed that’s causing an issue.


I would first:

Remove all login Items and Restart:

System Preferences > Users and Groups > Login Items.

Highlight any apps there that are set to open at login, and hit the “-“ sign below to remove, then Restart your Mac and test.


If the error persists:

I’d startup in Safe Mode:

https://support.apple.com/en-in/guide/mac-help/mh21245/mac


Shut down, startup while holding the Shift key, (If its not the new M1 Macs), let go once you see the Apple logo.


While in Safe Mode:

First, see if the issue happens. If not, then it’s most likely due to third party installed software causing the problem. OR, it’s a file system issue, if that is the case, then most likely restarting as normal may fix the issue.


Otherwise, can you say when this error occurs exactly? Right at login? Or when accessing a certain app? Or doing a certain function? Cheers.

Dec 26, 2020 3:45 AM in response to curting2000

That one went...


I'll try again then!


So, I tried safe mode, no go...


This is all happening on start up so can't get to system preferences or even loging page


I then tried loaded the OS (Catalina even though I was running Big Sur) without time machine... Nearly got there but had an error message saying I needed to update...


Really unsure what to do next


Your help is appreciated





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.

unrecoverable error security agent was unable to create requested mechanism builtin:prelogin

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