Solved

Account lockout reset script.

Posted on 2008-10-31
2
634 Views
Last Modified: 2012-08-14
I am looking for a solution to account lockout problem.  One of the networks(a large church) I am a admin for has one specific account that all the students use in their web cafe.  At least once a week I get a call from the youth director asking me to unlock the account in active directory because one of the kids had tried the password to many times.  Is there a way to script a program or MMC that I can give the youth director access to that will unlock the account at a click of a button? I don't want to give him access to the entire directory and know its only as simple as unchecking a box in the account properties, but that requires me to connect to the VPN, log in the server and then open AD.  Any suggestions?
0
Comment
Question by:Intech-LLC
2 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 250 total points
ID: 22855053
You will need to delegate the right to unlock accounts to the user - ot better still deleate the right to unlock accounts to a group and make the use a member of that group - even if initially they are the only member - it will make it so much easier when you want to change the user rights by simply adding/removing them from the group.
The process for delegating the right is detailed at http://support.microsoft.com/kb/294952

Once the use has the delegated right then you can use a script such as that at http://www.tech-geeks.org/geeklog/article.php?story=20040308172322741 to unlock the account
0
 

Author Closing Comment

by:Intech-LLC
ID: 31512241
Exactly what I was looking for! Thank you so much.  
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
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 …

786 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