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

No admin on OS

So little Miss. Genius (aka me) accidentally changed myself from Administrator to Standard user... now there isn't an admin on the OS.


Help! 😟

MacBook Pro with Retina display

Posted on Dec 9, 2017 1:22 PM

Reply
1 reply

Dec 9, 2017 1:30 PM in response to kemilyd

Convert Standard User Account to Administrator Account from Command Line of Mac OS

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 /

rm /var/db/.applesetupdone

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.

No admin on OS

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