Solved

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

Posted on 2004-08-20
7
392 Views
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
0
Comment
Question by:RCFalcon
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 5

Accepted Solution

by:
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


Passreset1.cmd

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.
0
 

Expert Comment

by:ksg455
ID: 11856357
AutoIt can do that.

http://www.hiddensoft.com
0
 

Expert Comment

by:Enigma29
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
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:RCFalcon
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.  
0
 

Author Comment

by:RCFalcon
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.
0
 
LVL 5

Expert Comment

by:Big5250
ID: 11873905
Glad to help!
0
 

Expert Comment

by:Enigma29
ID: 11874084
No Problem
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

820 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