not having an administrator account

Hello! I just bought a new MacBook Pro and I have some trouble with the administrator account. The thing is that I wanted to change the name from the computer that I typed in the Set Assistant as soon as I turned on the Mac. Then, the account I had changed to standard from administrator. I am not able to alter anything since it is asking fro the name and password from an administrator account. Do you know what I need to do in order to have an admin account?

MacBook Pro with Retina display, iOS 11.3.1

Posted on Aug 31, 2018 2:16 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 31, 2018 3:23 PM

How to Create a New User Account if You Cannot Access Your Admin Account


Reboot the computer. At the chime press and hold down the COMMAND-S keys to start into Single-user Mode. You will boot to a black screen with scrolling white text, release the keys and wait until it finishes. Enter the following lines at the command prompt pressing RETURN after each:


mount -uw /

^ ^ Note spaces

rm /var/db/.applesetupdone

^ Note space

reboot


After you reboot the computer you will be taken to the Setup Assistant. When you get to the point where you are asked to set up your new user account, create a new admin account. Be sure to name this user account something different than the admin user account that already exists on the system. When you finish the Setup Assistant, it will automatically log you into the new account.


You can transfer your files from the old account to the new one. See Transferring files from one User Account to another. Once you have moved all your files into your new account, you can delete the old account using Accounts or Users & Groups preferences.

1 reply
Question marked as Top-ranking reply

Aug 31, 2018 3:23 PM in response to Yannis009

How to Create a New User Account if You Cannot Access Your Admin Account


Reboot the computer. At the chime press and hold down the COMMAND-S keys to start into Single-user Mode. You will boot to a black screen with scrolling white text, release the keys and wait until it finishes. Enter the following lines at the command prompt pressing RETURN after each:


mount -uw /

^ ^ Note spaces

rm /var/db/.applesetupdone

^ Note space

reboot


After you reboot the computer you will be taken to the Setup Assistant. When you get to the point where you are asked to set up your new user account, create a new admin account. Be sure to name this user account something different than the admin user account that already exists on the system. When you finish the Setup Assistant, it will automatically log you into the new account.


You can transfer your files from the old account to the new one. See Transferring files from one User Account to another. Once you have moved all your files into your new account, you can delete the old account using Accounts or Users & Groups preferences.

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.

not having an administrator account

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