Change the administrator password by using the Command Prompt. To do this, follow these steps:
- Press the Windows logo key + X to open the Quick Link menu, and then select "Command Prompt (Admin)" from the menu.
- In the Command Prompt window, type the following command and press Enter:
net user administrator *
- Enter the new password when prompted, and then press Enter.
Note: If you are using a Microsoft account to sign in to Windows, you can reset your password by going to the Microsoft account password reset page and following the prompts.