Windows Thread, Released: Password Reset tool for staff in Technical; After using some terrible middleware for allowing our librarian to reset passwords, I've finally had enough and written my own.
31st October 2008, 02:14 PM #1
Released: Password Reset tool for staff
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
3 Thanks to powdarrmonkey:
danrhodes (3rd November 2008), Heebeejeebee (31st October 2008), matt40k (31st October 2008)
31st October 2008, 02:25 PM #2
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
31st October 2008, 02:26 PM #3
Blimey, don't want much do you?
31st October 2008, 02:28 PM #4
31st October 2008, 02:32 PM #5
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
31st October 2008, 02:40 PM #6
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 02:41 PM.
31st October 2008, 04:51 PM #7
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.
31st October 2008, 05:17 PM #8
@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
Thanks to maniac from:
powdarrmonkey (31st October 2008)
31st October 2008, 05:20 PM #9
Sure, it's C# but I daresay I can translate from VB
1st November 2008, 02:26 AM #10
Looks good, i will give that a go when i get back to work
1st November 2008, 09:04 AM #11
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!
1st November 2008, 01:18 PM #12
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.
2nd November 2008, 01:22 AM #13
@gatt: does this work in Server 2008? If so, I'll write the interface for you. (I presume you mean the attack-deflecting lockout, rather than a disabled account. Either is possible though.)
Thanks to powdarrmonkey from:
2nd November 2008, 01:45 PM #14
Thanks powdarrmonkey, will try that tomorrow - yeah its the attack-deflecting lockout i need to delgate..
7th July 2010, 05:45 PM #15
Originally Posted by powdarrmonkey
This is almost exactly what I am looking for.
Is there any way that there could be an option to force a password change at next logon?
By Rozzer in forum Windows
Last Post: 30th January 2013, 11:01 AM
By Jonny_sims in forum Windows
Last Post: 26th September 2011, 11:12 PM
By Geoff in forum Virtual Learning Platforms
Last Post: 7th July 2008, 12:11 PM
By linkazoid in forum Windows
Last Post: 16th May 2008, 03:27 PM
By fafster in forum Windows
Last Post: 27th February 2008, 11:01 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)