From the login screen, hold down the Shift key and click on the Restart button.
Once you're in the Advanced Startup options, navigate to "Troubleshoot" > "Advanced options" > "Command Prompt."
- In the Command Prompt window, type the following command, pressing Enter after :
net user administrator password
(Replace "password" with your desired new password for the Administrator account) - If the command is successful, you'll see a message confirming the password has been changed.
- Reboot.