After using some terrible middleware for allowing our librarian to reset passwords, I've finally had enough and written my own.
It requires .net 2.0, and for the member of staff in question to be delegated the Change Password privelige in Active Directory. I suggest you set this only on your students OU for obvious reasons.
In the config file, set your domain name and the number of characters you would like the new password to use. The application will generate a random alphanumeric password of this length.
More features in the works, this is just the Q+D version to get running before term starts again. Enjoy
Well Done. Not yet tested it. However Wishlist:
> Browser users
> Select OU
> Reset to pre defined password (school)
> Force user to change on next login
> Disable user (with reason)
Create user >> Look at SIMS AD Intergration \ SIMS LG2
Blimey, don't want much do you?
I know someone who's done all that. Only problem was he hardcode the domain etc. Which isn't a bad thing, just means it's no really portable.
Oh and if you could get me a Magners as well
They're all perfectly possible, I'm just as usual reluctant to bloat it... there is already stuff out there to do SIMS integration for example. This is deliberately a light, simple tool to achieve a specific task. I do have some feature plans though.
Mine's an Old Speckled Hen
Lol, K. Might try it myself later
What are your plans?
Have you tried reseting a staff password, you shouldn't be able to, as you don't have permission, but it'll be interesting to see how it errors.
Lol.... reminds me of Wisbech, just waiting for someone to ask for either black dog, cambridge, golden newt or greyhound!!
Last edited by matt40k; 31st October 2008 at 01:41 PM. Reason: Brainache
This is how bored I am today: more features for ResetPassword.
There's an extra DefaultPassword field to set in the config file. You can now choose to use this password, a random one, or specify one at runtime when resetting a user.
@powdarrmonkey If you would like the source code for the simelar program I wrote recently to combine into yours to make one 'super' password changer, then let me know. Mine was very tied down to a particular username pattern, but it did have a plus feature that it browsed the directory and displayed a list of usernames rather than the user having to type the username in. You managed to crack what I could never get working in VB.Net, which is reading and writing settings from a config file, which is why I never developed mine any further.
The program I wrote is here
Easy Password Reset Software
powdarrmonkey (31st October 2008)
Sure, it's C# but I daresay I can translate from VB
Looks good, i will give that a go when i get back to work
Already using Wisesoft's Password Control, though yet to suss out how to allow Win2008 to delgate the "Unlock Account" control to staff??
If powdarrmonkey's does this then I may be tempted to switch!
If you are looking at a wider ranging tool then I would suggest you have a look through Thomas Eck's book ADSI scripting for Windows 2000. Still quite relevant for 2003 and 2008, but for coders it is a way of designing some spot on admin tools.
@powdermonkey : In fact, if you are interested I am pretty sure I have a spare copy somewhere if I haven't already lent it out. The other option is to look at Scripting where there are some handy chunks of code. I used to subscribe to winscriptingsolutions.com which is now part of the above site.
Gatt (2nd November 2008)
Thanks powdarrmonkey, will try that tomorrow - yeah its the attack-deflecting lockout i need to delgate..
There are currently 1 users browsing this thread. (0 members and 1 guests)