Hi, I am trying to restore a user account on my MacBook. Normally I have 3 user accounts and a guest account. One user account is the admin and the other 2 are not.
Recently I was in my admin account and the laptop froze. I waited 15 min and then decided to power it off by long pressing the power button. When I turned the mac back on, I only saw 2 of my user accounts and the guest account on the start screen. The admin account is gone.
Normally you can restore a deleted account however you need to use the admin account and password to do this. This is not possible now since mine is deleted. If I log in to one of the 2 non admin accounts and go to users & groups I can see that my admin account is still there with all the files. I just don’t have access to it.
I’m trying to restore this since I have some files that I want to get back.
I tried following the steps in this link:
https://appletoolbox.com/mac-user-account-disappeared-fix/
However when I type /sbin/mount -uw / I get remounting system volume /dev/disk1s5 in read/write mode
And when I type in rm /var/db/.AppleSetupDone I get override -w---r—root/wheel for rm /var/db/.AppleSetupDone? I typed in yes and pressed enter. Next I get rm: /var/db/.AppleSetupDone: read only filesystem
Next reboot just starts up the mac normally. I still see the 2 user accounts.
This is basically the same approach but I also get the same outcome. It just starts up normally:
I don't have administrator account on my mac
The MacBook is from mid-2012 and runs macOS Catalina 10.15.6
Does somebody know what I should do?
Thanks in advance.
Recently I was in my admin account and the laptop froze. I waited 15 min and then decided to power it off by long pressing the power button. When I turned the mac back on, I only saw 2 of my user accounts and the guest account on the start screen. The admin account is gone.
Normally you can restore a deleted account however you need to use the admin account and password to do this. This is not possible now since mine is deleted. If I log in to one of the 2 non admin accounts and go to users & groups I can see that my admin account is still there with all the files. I just don’t have access to it.
I’m trying to restore this since I have some files that I want to get back.
I tried following the steps in this link:
https://appletoolbox.com/mac-user-account-disappeared-fix/
However when I type /sbin/mount -uw / I get remounting system volume /dev/disk1s5 in read/write mode
And when I type in rm /var/db/.AppleSetupDone I get override -w---r—root/wheel for rm /var/db/.AppleSetupDone? I typed in yes and pressed enter. Next I get rm: /var/db/.AppleSetupDone: read only filesystem
Next reboot just starts up the mac normally. I still see the 2 user accounts.
This is basically the same approach but I also get the same outcome. It just starts up normally:
I don't have administrator account on my mac
The MacBook is from mid-2012 and runs macOS Catalina 10.15.6
Does somebody know what I should do?
Thanks in advance.