This lets youset a new password for your chosen accountwithout navigating any setting menus.
We’ll show you how.
you could then use it to change passwords for your own account as well as for others' accounts.
Also note that this command only lets you change your local account password.
In this menu, search for “Command Prompt”.
Then, on the right, select “Run as Administrator.”
On the Command Prompt window, jot down the following command and press Enter.
Not sure who’s who on your system?
Like so:
Are you making these password changes in a public place?
In this case, use the following command.
confirm to replaceUSERNAMEin the command with the username whose password you want to update.
Then Command Prompt will display a success message indicating your password was successfully changed.
And that’s all.
When you now access to your account on your Windows PC, you’ll use the newly created password.
Want to learn a few otheruseful Windows commands?
Take a look at our dedicated guide.
Related:10 Useful Windows Commands You Should Know