MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
March
Sun Mon Tue Wed Thu Fri Sat
     
20
 
2006
Months
Mar


Mon, Mar 20, 2006 7:38 pm

Changing an Account Password from the Command Line

On a Windows 2000 or later system, you can use the net use command to change the password for any account from the command line, if you are logged into an account that is a member of the Administrators group on the system.

If you issuse the command net use username *, you will be prompted for a password and then asked to confirm the password. The password will not be echoed.

C:\Documents and Settings\administrator>net user jsmith *
Type a password for the user:
Retype the password to confirm:
The command completed successfully.

Alternatively, you can specify the new password following the account name on the command line. You will not be asked to confirm the password in that case. This method allows you to change the password for an account with a script.

C:\Documents and Settings\administrator>net user jsmith MyPaSs999 The command completed successfully.

If you attempt to use the command to change the password for another account when you are not logged in as a member of the administrator's group, you will receive a "System error 5 has occurred. Access is denied" error message.

References:

  1. How to Change User Password at Command Prompt
    Microsoft Help and Support
    May 7, 2003

[/os/windows/commands] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo