You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

admin account became standard account

I only have 1 account on my MacBook Air

The account has changed and become standard rather than admin while upgrading to macOS Catalina10.15.3


I no longer have an admin account ): What do I do to change the account back to administrator?


Extremely grateful for any help!

Thank you

MacBook Air 13", macOS 10.15

Posted on Mar 19, 2020 2:27 AM

Reply
7 replies

Mar 19, 2020 6:05 AM in response to RADY82

If there are no longer any User Accounts with Administrator privileges on your Mac, then please read and follow these instructions.


Read the lengthy procedure that follows. You should probably print it vs. writing down the steps or trying to repeat it from memory. Don't be put off by the length of the instructions. Some of the steps are optional. It's simple and will only take a few moments.


It is also overly conservative, but I have used it myself recently and I know it will work.


As I understand it, you have a Mac with no Administrator accounts. Of course that is not supposed to be possible, but if that really is the case you can use the following technique to create a new, temporary Administrator account, the sole purpose of which will be to log in as an Administrator that can give your normal account Admin privileges.


There may be other techniques to recover from the "impossible" circumstance in which you find yourself, but the following is one that I have successfully used in the past.


Please read everything that follows before continuing. If you have only the one computer you will need to print this for reference.


Prerequisites:


  • If you have not done so already, create a reliable backup in the event something unexpected occurs.
  • To learn how to use Time Machine please read Use Time Machine to back up or restore your Mac - Apple Support.
  • If you configured an EFI Firmware Password that will preclude recovery, unless you know that password.
    • A Firmware Password precludes starting a Mac in single-user mode, so you will need to temporarily remove it before continuing.
  • If you encrypted your startup volume with FileVault, its password will also be required to unlock the disk.
    • That password may or may not be the same login password you have been accustomed to using.


Confirm each of the above prerequisites before continuing.


Then,


  • Power on or restart your Mac.
  • At the chime or grey screen, holdand S on your keyboard (two fingers) to enter single-user mode.
  • At the localhost:/ root# prompt, type


fsck -fy


...and press Return.


This is a simple check for file system integrity and is optional. It may take a few minutes to complete during which time various messages will appear. None of them are relevant unless they indicate some unrecoverable error. Be patient. If you get concerned that the system has stalled or become unresponsive press the Return key. Nothing will happen other than to echo the Return character, advancing the text on the screen, confirming your Mac has not completely frozen.


When the integrity check completes pressing the Return key will result in the localhost prompt again, waiting for your input.


At the localhost:/ root# prompt, type each of the following lines, exactly as written, including capitalization, one line at a time, each line followed by the Return key. There is a single space preceding the first "slash" ( / ) character in each line:


mount -uw /

rm /var/db/.AppleSetupDone

reboot


The Mac will restart, and then take you through the entire setup and registration process that you have not seen since you originally unboxed it. Do not be concerned—none of the above deletes any information. All your pre-existing user accounts will still available, assuming they were intact prior to beginning this procedure.


Do not elect to transfer your information from another Mac: When the "Transfer Information to This Mac" screen appears, select "Do not transfer any information now" and press Continue.


At the "Create a Computer Account" screen, create the new, temporary account using a different "Full name" and "Account name" than the one you already use. Remember the password you select. Provide a password hint if you wish. You don't have to sign in to iCloud or anything else you might decide to do if you wanted to use that User Account for anything else.


"Allow this Account to unlock the disk" will be selected by default, so confirm that it is because that's the key to fixing the problem.


When it completes, log in under that new account. Use System Preferences to change your normal account to "Allow user to administer this computer". Log out, log in under your normal account and verify you can use it without restriction.


After that, you can safely delete the temporary account you just created by following these instructions: Delete a user or group - Apple Support. Before removing it, confirm you don't need any of the files you might have created in that Account.

Mar 19, 2020 11:16 AM in response to RADY82

A recent macOS update or upgrade results in "Read-only file system" which means you can't delete in the manner I described. In case you're already a step ahead of me, disabling SIP won't help.


I am reluctant to provide a way around that obstacle while providing absolute assurance macOS's ironclad security won't be affected. Suggestions along those lines are justifiably removed from this site. In fact the instructions I posted above have been removed in the past, so at best it's unclear whether or not they're appropriate.


In the absence of any useful advice I can provide on this site, I encourage you to Contact Support for instructions. It may or may not be correctable by merely reinstalling macOS, so you might as well try that first: Reinstall macOS - Apple Support.


Assuming that doesn't fix it, please me know what Apple has to say. The situation you find yourself in is supposed to be impossible.

Mar 19, 2020 11:28 AM in response to RADY82

Catalina protects the system files on a read-only volume now. You must now boot into Recovery Mode using Command + R. You will then need to open the Terminal app located on the Utilities menu. First you will need to verify the name of your boot volume. The macOS default is "Macintosh HD" unless you have changed it. Use the following command to verify the name of your boot volume (press the "Return" key at the end of each command to execute the command):

mount  |  grep  -i  volumes


You may see several items listed from the previous command, but it should be easy for you to properly identify your boot volume name.


Now we will slightly modify the commands from @John Galt's post to delete the ".AppleSetupDone" file. I'm going to provide the command using the macOS default volume name "Macintosh HD" so make sure to substitute the correct name if it has been modified:

rm  -i  "/Volumes/Macintosh HD/var/db/.AppleSetupDone"


If this command completes successfully, then reboot the computer to see if you are now greeted with Setup Assistant and if so, then follow the rest of @John Galt's instructions.


Mar 19, 2020 11:28 AM in response to RADY82

At the risk of providing instructions that may be deleted later, please revise my above instructions as follows:


At the localhost:/ root# prompt, type each of the following lines, exactly as written, including capitalization, one line at a time, each line followed by the Return key. There is a single space preceding the first "slash" ( / ) character in each line:

mount -uw /System/Volumes/Data
rm /var/db/.AppleSetupDone
reboot


Note the different pathname in the first line. The balance of the instructions remain unchanged.

Mar 21, 2020 2:32 AM in response to HWTech

Thank you very much for your support


The idea of booting into recovery mode was very useful,

But other steps didn't solve the problem.

The only way after booting into recovery mode was to install another Mac Catalina on another drive,

This allows me to create admin account after installation.


Thank you again

admin account became standard account

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