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.
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.
Dig Deeper on Microsoft Active Directory
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.