The default option inside the control panel of Windows only allows the user to change their password if they already know the existing one. So, it is only the administrator who can change the password because he knows the old one.

control panel>user accounts>manage accounts>change in account

But there is a way by which you can tweak the windows password even if you don’t know the old one. The only requirement is that the computer should be in a logged-in condition.  

There are basically two ways. One by using the Computer Management technique and second by using the command prompt. If you are using Windows 10 and have installed the latest update recently then the computer management technique won’t work for you as Microsoft has recently dropped the Local Users and Groups feature in its latest update of Windows 10.

Since I am using the latest version of Windows 10 (Version 10. 0. 18362. 356), I won’t be able to use the Computer Management technique here.

computer management window

You can clearly see I didn’t get the Local Users and Groups feature inside the Computer Management window.

So, Windows 10 users are recommended to go for the command prompt method. 

Using The Computer Management Technique

Right-click on My Computer and select Manage. If you are on Windows 10 ( do this only if you have not installed the latest update yet ) open file explorer (Windows + E) and right-click on This PC and select Manage. 

Under the Computer Management window, select Local Users and Groups > users. Inside the right-hand side panel, you will see a list of users who have their accounts on this computer. Among the list, right-click on the user of whom you wish to change the password and select Set Password. Ignore the warning message and click on proceed. Type the new password and hit enter. 

Using The Command Prompt

This technique will work in all versions of Windows except for Windows XP and older ones. 

Run command prompt as administrator. To run the command prompt as administrator, search for cmd or command prompt inside the Windows search bar. Right-click on the command prompt and select Run as administrator. Or you can simply open the Run command box (Windows + R), type cmd and press Ctrl+ Shift + Enter. Select Yes under the User Account Control dialogue box. 

Inside the command prompt type and hit enter after writing the following commands sequentially.

  1. net  user 

~ You will see the list of registered users inside the computer.

command prompt - net user

2. net user Username

  ~ Replace the “Username” with the username by which you are currently logged in. 

command prompt - net user username

3. net user Username Password

~Replace the “Password” with a new password of your choice.

command prompt - net user username password

You will also like: