Select repair option
If you can’t log on as another administrative user, boot from your Windows recovery media. Select your language if prompted, then choose ‘Repair your computer’.
Windows 7 users should make a note of the drive letter under location before clicking Next > Command Prompt.
Change to Windows drive
Windows 10 users must select Troubleshoot > ‘Advanced options’ > Command Prompt.
Type ‘c:\’ and press [Enter] , change ‘C’ for whichever drive Windows is installed on. You can use the ‘dir’ command to check whether you’ve chosen the right one by examining its contents.
Type the following commands, pressing [Enter] after each :
ren utilman.exe utilhold.exe
copy cmd.exe utilman.exe
Access the Command Prompt
The commands you’ve entered basically change the ‘Ease of Access’ shortcut on the Welcome screen to point to the Command Prompt.
Now click Restart or Continue to boot Windows. When the log-on screen appears, click the Ease of Access button, and the Command Prompt should open.
Next type the following command, substituting ‘username’ with your name as displayed on the Welcome screen, and ‘newpassword’ with your choice of password:
Your new password
The Command Prompt screen should now tell you that the ‘command completed successfully’.
you should now be able to log in using your new password. To restore the ‘Ease of Access’ button to its original function, open a Command Prompt window as an administrator, and then type the following commands:
cd windows\system32 copy utilhold.exe utilman.exe