How to Change Administrator Password in Windows
The Net User is a command that was introduced in Windows Vista and is available in Windows 7/8/10 as well. This command can help system administrators to add,modify and delete user accounts.
To run the net user command, open CMD (Command Prompt), type net user and hit Enter. This will show you the user accounts on the computer.
Using net user with the appropriate parameters allows you to carry out several functions. You can use the following parameters with the net user command:
- username is the name of the user account you want to add, delete, modify or view.
- password will assign or change a password for the user’s account.
- * will produce a prompt for the password.
- /add will add a user account to the user accounts database.
- /delete will delete a user account from the user accounts database.
In this case we will use the command 'net user administrator *' in order to change the administrator password. After the command you will be prompt to type a password for that user. Enter the new password, confirm and that's it! Now you've changed your administrator password.
NOTE! In case you'd want to change the administrator password on someone else's computer you should do that by entering Safe Mode first.