You can change your password via control panel or settings but changing the password using the net user command is very fast and time saving.
If you are an administrator and want to change another user password, this guide will explain on how to change password using net user command in command prompt (CMD).
Click “Start” and type “Command Prompt“.

Once Command Prompt is open, you need to identify the user account for which you want to change the password. Type the below command to list all the users.
net user

This command will display a list of all user accounts on your system. Note the exact username of the account for which you wish to change the password.
With the username identified, you can now proceed to change the password using Command Prompt. Enter the following command, replacing “username” with the actual username of the account and replace “newpassword” with your desired new password. and press Enter:
net user "username" "newpassword"

Note: The reason I have used the double quotation mark around the username is because it has a space, for command prompt to escape the spaces it has to be double quoted. if your username does not have a space , you can ignore the double quotation mark.
Congratulations, you have successfully changed the password with just few clicks. Please make sure you have administrator rights when changing the password using net user command.
Is it necessary to restart the system after changing the password?
No, restarting the system is not required after changing the Windows password using net user command in command prompt. The new password will take effect immediately.
- Use Strong Passwords: When changing your password, ensure it is strong and complex, containing a combination of letters, numbers, and special characters.
- Regularly Update Passwords: Make it a habit to change your passwords regularly to enhance security.
- Beware of Phishing Attempts: Stay vigilant against phishing scams and never share your password with anyone or on untrusted websites.
Weak or compromised passwords can leave your computer vulnerable to cyber threats such as hacking, identity theft, and data breaches. Therefore, it’s crucial to regularly update and strengthen your passwords to maintain the integrity of your system and safeguard your sensitive information.