1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Step by Step Guide to Resetting a Windows 7 Password


11 of 18

Reset Your Password Using Net User
Screenshot of the net user command in Control Panel on the Windows 7 logon screen

Reset Your Password Using Net User

Now that Command Prompt is open, you can reset your Windows 7 password to anything you'd like using the net user command.

The net user command is a really easy command to use. Just execute it like this:

net user username password

...replacing username with your Windows 7 account name, and password with your desired new password.

For example, I might change my password to n3verE@Tsn0W by executing the net user command this way:

net user Tim n3verE@Tsn0W

Assuming everything was executed properly, you should have been greeted with a The command completed successfully. message after pressing Enter.

Tip: There are spaces between net, user, the username, and the password. If your username has a space, like Tim Fisher, use quotes. Reusing my example above but with my full name as my username, I would have executed net user "Tim Fisher" n3verE@Tsn0W.

Not Sure What Your Username Is?

If you were the last person to logon to Windows 7 before forgetting your password, your username should be listed right there on the logon screen. You can see Tim in big, bold letters in the screenshot above.

However, if you're resetting the password to another user on the computer and aren't sure exactly what the username is, you can generate a list by executing the net user command without options, for example:

net user

A list of all of the users on the computer will be generated right in the Command Prompt window, which you can then reference for proper spelling when changing the password as described above.

©2014 About.com. All rights reserved.