This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

Windows 2000 and DOS - Change a User's Password

SUMMARY: Modify a user's password from the Windows 2000 DOS prompt or batch file.

If you are logged in as an administrator, you can change a user's password at the Windows 2000 DOS prompt, possibly by a batch file, via the NET USE command.

To change a user's password, enter the following at the prompt:

net user USERNAME *

Replace USERNAME with the user in question. You will be prompted for a password. If you'd rather have a batch file automatically change a user's password, replace * with the desired password. You won't be prompted to confirm the change.

One possible use is if you want to change everybody's password monthly. You can create a batch file with everyone's username, and every month you can run the batch file with a pre-determined set of new passwords or you can enter in new passwords at the prompt.


 


Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to Windows 2000 and DOS - Change a User's Password
 
Standard disclaimer applies - read http://malektips.com/disclaim.html.