- Press the Windows key + X on your keyboard and select “Command Prompt (Admin)” from the menu.
- In the Command Prompt window, type the following command and press Enter “:
net user administrator /active:yes“
- You should see a message that says, “The command completed successfully.” This means that the administrator account has been enabled.
- If you want to set a password for the administrator account, type the following command and press Enter:
net user administrator *This will prompt you to enter a new password for the account. Note that the characters you type will not appear on the screen.
- Once you’ve set a password, you can switch to the administrator account by logging out of your current account and selecting “Administrator” from the login screen.
Note that it’s generally not recommended to use the built-in administrator account for day-to-day use, as it has unrestricted access to your system and can be a security risk. It’s usually better to use a standard user account with administrative privileges instead.