Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to reset admin username and password

I have mac OS high sierra and upgraded to big sur. I changed the username from mac to my name then settings have changed and i cant undo it. Then it changed from admin to standard and only i have an option to restart it. Now i cannot access the user account neither the guest user. Please help!

MacBook Air 13″, macOS 11.6

Posted on Jul 28, 2022 8:32 PM

Reply
Question marked as Best reply

Posted on Jul 29, 2022 6:55 AM

Do you have a backup?


1. Start up from macOS Recovery

To start up from macOS Recovery, turn on your Mac and immediately press and hold one of the following combinations on your keyboard. Command-R is generally recommended, especially if you never installed macOS Sierra 10.12.4 or later… How to reinstall macOS - Apple Support

Command (⌘)-R

Install the latest macOS that was installed on your Mac.


Option-⌘-R

Upgrade to the latest macOS compatible with your Mac.


Shift-Option-⌘-R

Install the macOS that came with your Mac, or the closest version still available.


2. Decide whether to erase (format) your disk

If you need to erase your disk before installing macOS, select Disk Utility from the Utilities window, then click Continue. You probably don't need to erase, unless you're selling or giving away your Mac or have an issue that requires you to erase. Learn more about when and how to erase.

3. Install macOS

After starting up from macOS Recovery, follow these steps to install macOS:

  1. Choose Reinstall macOS (or Reinstall OS X) from the Utilities window.
  2. Click Continue, then follow the onscreen instructions to choose your disk and begin installation.
  3. If the installer asks to unlock your disk, enter the password you use to log in to your Mac. If it doesn't see your disk, or it says that it can't install on your computer or volume, you might need to erase your disk


  1. Please allow installation to complete without putting your Mac to sleep or closing its lid. During installation, your Mac might restart and show a progress bar several times, and the screen might be empty for minutes at a time.

If your Mac restarts to a setup assistant, but you're selling or giving it away, press Command-Q to quit the assistant without completing setup. Then click Shut Down. When the new owner starts up the Mac, they can use their own information to complete setup.



If you never installed macOS Sierra 10.12.4

If macOS Sierra 10.12.4 or later was never installed on your Mac, macOS Recovery works differently:

  • Command-R is still the recommended way to start up from macOS Recovery. This combination makes sure that the installation isn't associated with your Apple ID, which is important if you're selling or giving away your Mac.
  • Option-Command-R installs the macOS that came with your Mac, or the closest version still available.
  • Shift-Option-Command-R isn't available.

How to reinstall macOS - Apple Support 



3 replies
Question marked as Best reply

Jul 29, 2022 6:55 AM in response to JeanOng08

Do you have a backup?


1. Start up from macOS Recovery

To start up from macOS Recovery, turn on your Mac and immediately press and hold one of the following combinations on your keyboard. Command-R is generally recommended, especially if you never installed macOS Sierra 10.12.4 or later… How to reinstall macOS - Apple Support

Command (⌘)-R

Install the latest macOS that was installed on your Mac.


Option-⌘-R

Upgrade to the latest macOS compatible with your Mac.


Shift-Option-⌘-R

Install the macOS that came with your Mac, or the closest version still available.


2. Decide whether to erase (format) your disk

If you need to erase your disk before installing macOS, select Disk Utility from the Utilities window, then click Continue. You probably don't need to erase, unless you're selling or giving away your Mac or have an issue that requires you to erase. Learn more about when and how to erase.

3. Install macOS

After starting up from macOS Recovery, follow these steps to install macOS:

  1. Choose Reinstall macOS (or Reinstall OS X) from the Utilities window.
  2. Click Continue, then follow the onscreen instructions to choose your disk and begin installation.
  3. If the installer asks to unlock your disk, enter the password you use to log in to your Mac. If it doesn't see your disk, or it says that it can't install on your computer or volume, you might need to erase your disk


  1. Please allow installation to complete without putting your Mac to sleep or closing its lid. During installation, your Mac might restart and show a progress bar several times, and the screen might be empty for minutes at a time.

If your Mac restarts to a setup assistant, but you're selling or giving it away, press Command-Q to quit the assistant without completing setup. Then click Shut Down. When the new owner starts up the Mac, they can use their own information to complete setup.



If you never installed macOS Sierra 10.12.4

If macOS Sierra 10.12.4 or later was never installed on your Mac, macOS Recovery works differently:

  • Command-R is still the recommended way to start up from macOS Recovery. This combination makes sure that the installation isn't associated with your Apple ID, which is important if you're selling or giving away your Mac.
  • Option-Command-R installs the macOS that came with your Mac, or the closest version still available.
  • Shift-Option-Command-R isn't available.

How to reinstall macOS - Apple Support 



Jul 28, 2022 10:25 PM in response to JeanOng08

Whew, here's how it's supposed to be done...


Change the name of your macOS user account and home folder - Apple Support


If that doesn't help...


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will still be there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

How to reset admin username and password

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