Search This Blog

Home » » Changing User password at Command Prompt

Changing User password at Command Prompt

Written By Harsha on Thursday, 9 May 2013 | 00:04

Changing User password at Command Prompt




To change a user's password at the command prompt, log on as Administrator and type:
net user user_name * /domain
When you are prompted to type a password for the user, type the new password, not the existing password.
After typing new password,System prompts you to retype the password to confirm. When password is matched then password is changed.

Alternatively, you can use the following command.
net user user_name new_password
When you do so, the password changes without prompting you again . This command enables you to change passwords in a batch file.
Non-administrators receive a "System error 5 has occured.Access is denied" error message when they attempt to change the password.

0 comments:

Post a Comment

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS