Q

Is there an easy way to reset multiple passwords within a Windows 2000 domain?

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.
This was first published in August 2004
This Content Component encountered an error

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

  • VDI assessment guide

    Wait! Don't implement VDI technology until you know your goals and needs. A VDI assessment should consider the benefits of a VDI ...

  • Guide to calculating ROI from VDI

    Calculating ROI from VDI requires a solid VDI cost analysis. Consider ROI calculation models, storage costs and more to determine...

  • Keep the cost of VDI storage under control

    Layering, persona management tools and flash arrays help keep virtual desktop users happy and VDI storage costs down.

Close