How to change password with Command Prompt on Windows 11

  • To change password with commands on Windows 11, open

    Command Prompt (admin)

    , run the

    “net user USERNAME *”

    and confirm the new password.

On

Windows 11

, if you have had the same password for a long time, it’s not a very strong password, or the current password has been compromised, you can change it to something more complex that only you will remember.

If you have a local account that is not connected to a Microsoft account, you have multiple methods to change the password, but the best and quickest way is to use Command Prompt.

This

guide

will teach you the steps to change your local account password on Windows 11.

Change account password on Windows 11 from Command Prompt

To change your Windows 11 local account password from Command Prompt, use these steps:

Open

Start

on Windows 11.

Search for

Command Prompt

, right-click the top result, and select the

Run as administrator

option.

Type the following command to view all the available accounts and press

Enter

:

Type the following command to change the Windows 11 account password and press

Enter

:

In the command, make sure to change

“USERNAME”

with the account name that you want to update.

Change password command

Type a new password to change it and press

Enter

.

Type the new password again to confirm and press

Enter

.

Once you complete the steps, sign out of the account and sign back in to use the new password on Windows 11.

If you have an account linked to your Microsoft account, the steps outlined above won’t apply. You must reset your email password online or through the Windows 11 Lock screen if you have a Microsoft account. Also, even though this guide focuses on Windows 11, these steps should work on Windows 10, Windows 8.1, and Windows 7.

Leave a Comment