Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How would I change the password of Windows 7 using the command prompt if the existing password isn't known, but I have admin rights?

share|improve this question

migrated from stackoverflow.com Aug 2 '12 at 2:32

This question came from our site for professional and enthusiast programmers.

3 Answers 3

Type this command net user (your username) * Then type new password, and confirm it. You are done. See the image. In the image zack is my username. When you type the password the command prompt won't show the cursor moving as you type. Just type new password and press enter. enter image description here

share|improve this answer

Use the "net user" command.

C:\>net user /?
The syntax of this command is:

NET USER
[username [password | *] [options]] [/DOMAIN]
         username {password | *} /ADD [options] [/DOMAIN]
         username [/DELETE] [/DOMAIN]
         username [/TIMES:{times | ALL}]


C:\>

See also here: http://technet.microsoft.com/en-us/library/8935e4a8-3624-46a1-b47a-c7735802b456
and here http://support.microsoft.com/kb/251394

share|improve this answer

Yes you could change the password with net user <username> <newpassword>.

Here further informations.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.