Categories
Windows

How to Change Windows 10 Password via CMD (Command Prompt)

Microsoft Defender is not the only security feature protecting Windows 10; It also has other security features like password lock, encryption option (BitLocker), Tamper Protection, and more.

While installing Windows 10, Microsoft asks users to create a local account. The local account is protected with a password, and users can change the password later via the Settings page. If you suspect that someone has your Windows 10 password, it’s safer to change it.

You can go through the User Account Settings to change your local account’s password, or else, you can rely on the Windows 10 command prompt to get your password changed. It’s much faster to change Windows 10 passwords through the command prompt. Even if you are new to the command line, changing the user password via the net user command is simple.

Step 1. First of all, click on the Windows Search. Now search for Command Prompt.

search for Command Prompt

Step 2. Right-click on the ‘Command Prompt’ and select ‘Run as Administrator.’

select 'Run as Administrator.'

Step 3. This would open the Command Prompt on your Windows 10 with administrative rights.

Step 4. On the command prompt window, type in ‘net user’ and hit the Enter button.

type in 'net user'

Step 5. Now you will be able to see all user account.

Step 6. To change the Windows 10 password, enter the command – net user USERNAME NEWPASS

Note: Replace username with your actual username and Newpass with the password you want to set.

Step 7. The modified command would look like this – net user Techviral 123456

Step 8. Once done, hit the Enter button. You will see the success message.

That’s it! You are done. Now you can log in to your Windows 10 computer via the new password.