'

How to Create Admin Account When Can’t Sign in Windows 10

Generally, to create a new admin account for Windows 10, you must first sign in to Windows 10 with an administrator or a regular user with administrative rights. However, occasionally, you may not be able to sign in Windows 10 for some reason, such as forgetting your password, losing administrator rights or some other errors. In this case, how can you create a new administrator account with which you can regain access to Windows 10? Don’t worry. Here are two ways to create an admin account when you can’t sign in Windows 10.

Way 1: Create administrator account for Windows 10 with command prompt

Since you can’t sign in to Windows 10, you can’t open Command Prompt within Windows 10. But don’t worry, you can bring up a Command Prompt from the sign-in screen, just with the help of a Windows 10 installation media.

Step 1: Replace utilman.exe with cmd.exe using installation media.

1. Boot your computer from a Windows 10 installation media (USB or CD flash drive). How to Boot Computer from USB Drive

Tips: If you don’t have an installation media, just create one with the media creation tool or by burning Windows 10 ISO file to a USB drive.

2. When Windows Setup screen appears, press Shift + F10 to open a cmd.exe window. Then run the following two command lines to replace the utilman.exe file with the cmd.exe file. Note: c is the system drive letter.

  1. move c:\windows\system32\utilman.exe c:\
  2. copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe

3. Finally, run wpeutil reboot and disconnect the Windows 10 installation media to restart the computer.

run command lines

Step 2: Open Command Prompt from Windows 10 sign-in screen.

With the installation disk disconnected, your computer will restart normally. When you reach the Windows 10 sign-in screen, click the Ease of Access icon in the lower right corner of the screen. This will open a command prompt if the previous steps went right.

click Ease of Access

Step 3: Create a new administrator account with command lines.

Now you can create a new administrator account for Windows 10 by running the following two command lines. Replace user_name with the user name you want.

  1. net user user_name /add
  2. net localgroup administrators user_name /add
create new administrator

After a few seconds, the newly created administrator account will be displayed in the lower left corner of the sign-in screen and you can use it to sign in to Windows 10.

new admin account

Step 4: Restore the utilman.exe file.

After you finish creating administrator account, you’d better restore the utilman.exe file. If not, you won’t be able to use the Utility Manger on Windows 10 sign-in screen and on the other hand, others might use command prompt to change your Windows 10 admin password or make other changes to your computer. To restore the utilman.exe file, simply follow the steps below.

  1. 1. Boot your computer from the Windows 10 installation media again.
  2. 2. When the Windows Setup screen appears, press Shift + F10 to open the command prompt.
  3. 3. Then type move c:\utilman.exe c:\windows\system32\utilman.exe and press Enter key. When the question “Overwrite c:\windows\system32\utilman.exe?” appears on the screen, type Yes and hit Enter.
  4. 4. Remove the installation media and restart the computer. That’s it.
restore utilman.exe file
Go to Source