In the Command Prompt you can monitor all the user of the computer by typing some commands.
1: Press Win Key+R and type cmd in the Run command box and hit enter to open command prompt. And then type net user in the command prompt and hit Enter. The Command Prompt will show you all accounts on the Windows 7 PC.
2: Type net user xyz 123(xyz is the locked admin account’s name and 123 is the new password) and press Enter. Now you have successfully created a new password on the locked admin account.
3: Type shutdown -r -t 00 and press Enter.
Your Windows 7 PC should be rebooted automatically and then you can log in Windows 7 with the new password. It is a simple and easy way to change the password of any users from the Command Prompt.
But the drawback of this technique is that you can’t solve Windows 7 password recovery issues if you do not have the Administrator Privilege. So it is quite hard to change the Windows password of the users without logging in as the administrator.