By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Is there an easy way to reset multiple passwords within a Windows 2000 domain? I have about 2000 accounts that I want to have all reset to a common password and then force the user to change the password on the next logon.
You can script this pretty easy. Output a list of the names by exporting them from AD. Then you can use a simply FOR statement to reset the accounts. Let's say your text file is names.txt:
FOR /F %I in (names.txt) do NET USER %I [password] /DOMAIN
Replace [password] with the password you want to reset the accounts to. You will of course have to be logged in with domain admin privileges.