Resetting Multiple User Passwords (or Group Passwords) in Active Directory

Posted on 2004-08-20
Last Modified: 2009-06-25
I was wondering if there was a way, be it through Active Directory or some script to reset multiple users passwords.  I have around 1000 users that need to be reset. I'd hate to have to do it manually and waste a large amount of time.  If you can help it would be greatly appreciated and worth about 500 points
Question by:RCFalcon
  • 2
  • 2
  • 2
  • +1

Accepted Solution

Big5250 earned 500 total points
ID: 11855054
You could use the 'net user' command and script it.  Get a list of your users, import them into excel and write the script.  You could do it with 2 scripts.

passreset.cmd (this will be the larger of the 2 scripts)

call passreset1.cmd username1
call passreset1.cmd username2
call passreset1.cmd username3


net user %1 password /domain >>c:\passreset.log

This makes a entry in the log file for tracking purposes.

Let me know if you have any other questions.

Expert Comment

ID: 11856357
AutoIt can do that.

Expert Comment

ID: 11865393
to clarify on what big 5250 is saying.  the net user command can reset any users password without knowing the previous password as long as you are on an administrator privledged account.  a simple bat file should do.  create something like pass.bat then type "net user (name) (password)".  just copy and paste the command over and over again and swap out the usernames. good luck
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.


Author Comment

ID: 11873291
Thanks for your help guys.  I was also wondering if there is a way to set it to force them to change the password after initial login.  

Author Comment

ID: 11873868
OK, found out that I can goto properties of the group to force a password change at first log in.  Thanks for your help everyone.  Points awarded.

Expert Comment

ID: 11873905
Glad to help!

Expert Comment

ID: 11874084
No Problem

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now