How to change Windows 10 password via CMD (command prompt)

How to change Windows 10 password via CMD (command prompt)


Here's how to change your Windows 10 password via Command Prompt!

Well, there is no doubt that Windows 10 is now the most used desktop operating system. Windows 10 offers more features and options than any other desktop operating system. Also, Windows 10 has a built-in security and privacy feature known as "Microsoft Defender".

Microsoft Defender isn't the only security feature that protects Windows 10; it also has other security features like password lock, encryption option (BitLocker), tamper protection, and more.

During the installation of Windows 10, Microsoft requires users to create a local account. The local account is password protected, and users can change the password later via the settings page. If you suspect that someone has your Windows 10 password, it is safe to change it.

You can go through the user account settings to change your local account password, otherwise you can rely on the Windows 10 command prompt to change your password. It is faster to change Windows 10 passwords through the command prompt. Even if you're new to the command line, changing a user's password via the net user command is simple.

Steps to change Windows 10 password via Command Prompt

In this article, we will share a step-by-step guide on how to change Windows 10 password via command prompt. Let's check.

Step 1. First, click Windows Search. Now search for Command Prompt.



Step two. Right-click on the "Command Prompt" and select "Run as administrator".



Step 3. This will open the command prompt on your Windows 10 operating system with administrative rights.

Step 4. In the Command Prompt window, type "net user" and press the Enter button.



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



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


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



Step 7. The modified command will look like -net user Techviral 123456

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


That's all! It's done. You can now sign in to your Windows 10 PC via the new password.

This article discusses how to change your Windows password through a command prompt. Hope this article helped you! Please share it with your friends as well. If you have any doubts about this, let us know in the comments box below.

google-playkhamsatmostaqltradent