Mac , primary,user,account,disappeared

HELP !!! I just lost my primary user on my MAC , try to outline what happened below ;


I experienced some issues with Safari earlier today and was not able to start Safari , I then restarted the Mac and it went only to a black screen , waited for some time and I restartet once more( hard by pressing the power button ) Now it looked fine but to my surprise my primary user account was not available anymore , only 2 secondary accounts ( almost never used ) was available. I have googled for some time today but I can't find a good solution


Anyone that could help me restoring my main user on the Mac , important to not loose any data .


Jarle , Norwegian

iMac, macOS Sierra (10.12.3)

Posted on Feb 5, 2017 9:21 AM

Reply
11 replies

Feb 27, 2017 8:53 AM in response to jarle50

Very much look forward to hearing more on this thread. Just received a call from wife, for third time in last two months the primary user account on her macbook pro has disappeared from the login screen. No errors in system logs, verify/disk repair finds no errors to resolve. I have twice now used a secondary account I have to sudo su - and run a custom script written to make various dscl executions to recreate her primary user account. But that doesn't recover the Keychain. Now facing a third fix episode. Mac OS is most current and kept patched. Seems incredible that almost no one else is posting with this issue?

Dec 26, 2017 8:16 PM in response to jarle50

have this problem too, and find out the solution. At least works for me...


The idea is to delete a config file, and make the Mac think it is a new Mac, then the Mac will bring me to the setup screen, just like what you see in a new Mac.


After that, the Mac will create a new admin account for you, and with this account, you can create back your lost account, or recover any file. The whole steps only spend me 15 minutes.


After the fix, make sure that your Mac got at least 2 GB of free space.


here is the detail instruction

Mac password / account recovery (English subtitle) - YouTube

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.

Mac , primary,user,account,disappeared

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