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 from Command Prompt on Windows 11
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 account password and press Enter:
net user USERNAME *
In the command, make sure to change USERNAME with the account name that you want to update.
Type a new password 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.
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.