how to change user password from command prompt

March 24, 2009 | By voidzzz | Filed in: How-To, Tutorial, Windows, Windows 2003, Windows 2008, Windows Vista, Windows XP.

Some of you might be comfort to change user password and details with GUI but a lot others prefers command line / command prompt to change user details (and all other stuff).

Here’s how to change password from command prompt for user in domain and local user.

  • To change domain user password use this method from command prompt :
    net user [username] [password] /domain

    for example :
    net user john.ripper johnpass /johnripper.com

    the above code to change the password to johnpass for username john.ripper in domain johnripper.com

  • To change local user name (Local SAM) use this method from command prompt :
    net user [username] [password]

    for example :
    net user john.ripper johnpass

Thats it …


Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *