It took me a week to resolve this error. It was painful. I hope this post would help reduce the pain for someone out in the universe.
Issue:
- After updating to Big Sur, in “System Preference” -> “Users & Groups,” no user was an “Admin.” There were only “Standard” users.
The Fix:
- Remove a file to trick the computer to think that it has not have any user set up. This way you would be able to set up a new admin user
- The file to be removed is .AppleSetupDone
- The steps to remove the file are:
- Re-start your computer in Recovery Mode, by holding down Command-R during boot-up
- Open “Terminal” from the top menu under “Utilities.” See image below:
- Type this command including spaces and quotes:
rm "/Volumes/Macintosh HD/var/db/.AppleSetupDone"
- Then re-start your computer, and you will be taken into Setup Assistant in which you can create a new user.
If you receive the error “No such file or directory,” try the following:
- Re-start your computer in Recovery Mode, by holding down Command-R during boot-up
- Go to “Disk Utility”
- Check and see if any of your volumes from the list on the left hand side are “unmounted.” Mount any volumes that are unmounted.
- If you do NOT see any unmounted volumes, go ahead and unmount and mount the volumes one by one.
- Exit “Disk Utility” and open “Terminal”
- Type this command including spaces and quotes:
rm "/Volumes/Macintosh HD/var/db/.AppleSetupDone"
If it returns on error, restart your computer, and you will be taken into Setup Assistant.
Thank you to user rossonet. S/he was the one that figured this out.
Leave a Reply