+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 32
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. ...
  1. #1

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182

    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
    Attached Files Attached Files

  2. 3 Thanks to powdarrmonkey:

    danrhodes (3rd November 2008), Heebeejeebee (31st October 2008), matt40k (31st October 2008)

  3. #2

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,384
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158
    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

  4. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Blimey, don't want much do you?

  5. #4

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,384
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158

    Talking

    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

  6. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    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

  7. #6

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,384
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158
    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

  8. #7

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    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.
    Attached Files Attached Files

  9. #8

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    @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

    Mike.

  10. Thanks to maniac from:

    powdarrmonkey (31st October 2008)

  11. #9

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Sure, it's C# but I daresay I can translate from VB

  12. #10

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,839
    Thank Post
    876
    Thanked 1,677 Times in 1,459 Posts
    Blog Entries
    12
    Rep Power
    444
    Looks good, i will give that a go when i get back to work

  13. #11

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    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!

  14. #12

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,930
    Thank Post
    1,337
    Thanked 1,781 Times in 1,105 Posts
    Blog Entries
    19
    Rep Power
    594
    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.

  15. #13

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    @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.)

  16. Thanks to powdarrmonkey from:

    Gatt (2nd November 2008)

  17. #14

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Thanks powdarrmonkey, will try that tomorrow - yeah its the attack-deflecting lockout i need to delgate..

  18. #15
    TriggerHappyUK's Avatar
    Join Date
    Oct 2007
    Location
    Dorset
    Posts
    71
    Thank Post
    61
    Thanked 5 Times in 4 Posts
    Rep Power
    14
    Quote Originally Posted by powdarrmonkey View Post
    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.
    Hi,
    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?
    Cheers,

    Chris.

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Password Reset form for ICT staff
    By Rozzer in forum Windows
    Replies: 21
    Last Post: 30th January 2013, 10:01 AM
  2. bulk password reset
    By Jonny_sims in forum Windows
    Replies: 10
    Last Post: 26th September 2011, 10:12 PM
  3. CLEO MIS Intergration Tool released for use with SIMS/CMIS
    By Geoff in forum Virtual Learning Platforms
    Replies: 11
    Last Post: 7th July 2008, 11:11 AM
  4. Specops Password Reset
    By linkazoid in forum Windows
    Replies: 7
    Last Post: 16th May 2008, 02:27 PM
  5. reset admin password
    By fafster in forum Windows
    Replies: 11
    Last Post: 27th February 2008, 10:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •