|
| 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.
Add:
Del.icio.us |
Digg |
Furl |
My Yahoo!
Discuss This Tip
Print This Tip
Get E-Mail When New Tips are Online
Return to the Windows 2000 and DOS page. |