How to Sign in to an administrator account in window pc without knowing password using command prompt:
Forgetting window password is a common thing and never been fun. If we forgot the password of our window, we might need to reinstall the windows, lose our data, reinstall the application and these all things. But we don't want these all things to happen, right? Therefore, we are here to Learn how to create another user account in window pc with all administrative rights, without sign in windows using the command prompt.
» Basic Concept behind this trick.
» Boot from windows Installation disc.
» Open command prompt.
» Make a copy of utilman.exe.
» Replace utilman.exe with command prompt.
» Restart the system to complete the process.
» Open command prompt using ease of access icon.
» Create New user Account.
» Add this newly created user to Windows administrator Group.
» All Done!! Sign-in to newly created user account.
» TIP: How to restore utilman.exe file.
Basic Concept behind this trick.
We are going to create this administrator account using command prompt. As we have lost our password so we can't sign in window therefore we are not able to use command prompt. But to create this account, we need to use command prompt. So how to use it? well we are going to take the help ofEase of Access option. We just need to replace Ease of Access option with command prompt. Then we can use command prompt as an administrator even we can't sign in to window.
Boot from windows Installation disc.
We need to Boot our PC from a window 10 setup/installation disc. We can use bootable USB flash drive for this purpose. Plug in USB flash drive to your PC, restart your PC and enter into the Window installation setup.
Open Command prompt.
When we get to Windows Setup screen, Press Shift + F10 to bring out a cmd.exe dialog. We will use this dialog to change the Ease of Access option.
Make a copy of utilman.exe.
We need to replace the file utilman.exe with cmd.exe. before move on, we should make a copy of utilman.exe so we can restore it later. To make a copy of utilman.exe file, write the following command in cmd dialog box and press enter.
copy c:\windows\system32\utilman.exe c:\
Above command will copy the utilman.exe from windows » system32 of C drive to the root of drive C. In my system, window is installed in drive C, therefore utilman.exe is located in drive C. In your case it could be located in any other drive, so replace the drive c with your drive letter.
Replace utilman.exe with command prompt.
Replace utilman.exe file with command prompt. To Replace this file, write the following command in cmd dialog box and press enter.
copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe
Above command will replace cmd.exe file with utilman.exe file in C drive. If the system didn't find that file, try other drive letters.
Restart the system.
After successfully replaced the file, remove USB Flash drive and restart the system to complete the process. To restart the system, type the following command and press enter.
Above command will restart the system and now it’s all done. we have successfully replaced the ease of access option with command prompt. Now we can use this command prompt to create the new account to access the PC.
Open command prompt.
After restarting the system, when comes to the sign-in screen, click the Ease of Access icon to open a command prompt. It should open command prompt dialog box, because we have replaced the utilman.exe file with cmd.exe file. Open that command prompt and follow the next steps to create account.
Create new User Account.
Type the following command in command prompt and press enter.
net user /add USER-NAME PASSWORD
In above command we have successfully created another user account in system. Replace USER-NAME with the name you want to set for this user, and replace PASSWORD with the password for this account.
Set this User account as Administrators.
To make this user account as Administrators with all windows right, Type the following command in command prompt and press enter.
net localgroup administrators USER-NAME /add
In above command we have successfully created this newly created user in Windows administrators group. Replace USER-NAME with the same user name that we created in above step no 8.
Done! Sign-in to this account.
Now our account has been created in our system successfully with all administrators right. We can sign-in to this account using the password which we set in Step# 8. Sign-in the window and do whatever you want to do.
TIP: Restore utilman.exe file.
We have successfully done our job; now might be we need to restore ultiman.exe file to set the ease of access option back to its position. To restore the file, we need to replace utilman.exe file with cmd.exe file. In order to restore the file, follow the Above given Steps # 2 and 3 and write the following command in cmd.exe dialog box and press enter.
move C:\utilman.exe C:\windows\system32\utilman.exe
The above command will move the utilman.exe file from C drive root to its default position. After successfully move the file, follow the Step # 6 to restart the system. After restarting, the ease of access option will back to its default setting.