Scripts Thread, Want a password reset tool for same username, but to change password in Coding and Web Development; I'm looking to make or find a small password reset tool for Active Directory, which we can provide to certain ...
-
8th November 2012, 09:11 AM #1
- Rep Power
- 0
Want a password reset tool for same username, but to change password
I'm looking to make or find a small password reset tool for Active Directory, which we can provide to certain staff. However, the tool should only allow resetting a single pre-specified AD account (so they shouldn't be able to change any other user's password, but allow the staff to change the password for that one account.
Basically we have a need to reset the password of one particular account every day.
-
-
IDG Tech News
-
8th November 2012, 09:29 AM #2 Hi
It sounds like you need a customised taskpad with Delegated control, I think this post covers it
Restricting MMC.
and this may help How to Create Custom MMC and Add TaskPad - TechNet Articles - United States (English) - TechNet Wiki
I am sure others will answer as well.
-
-
8th November 2012, 09:33 AM #3 Have a look at Password Control on WiseSoft - Resources for IT Professionals - you can alter the XML file to customise what they are able to do.
-
-
8th November 2012, 10:15 AM #4
- Rep Power
- 0
Thanks for your replies. I didn't know Wisesoft's one was configurable like that. But just managed to find Easy Password Reset Software which allows customisation. It seems to do exactly what we need (specific single username) but I'll go through some testing and see...
-
-
8th November 2012, 10:36 AM #5 TBH its something which could easily be scripted
DSQUERY USER -samid enter_username_here | dsmod user -pwd enter_new_pw_here -mustchpwd no
and modify so that it prompts for the password rather then entering it in the script.
-
-
8th November 2012, 11:28 AM #6
- Rep Power
- 0

Originally Posted by
glennda
TBH its something which could easily be scripted
DSQUERY USER -samid enter_username_here | dsmod user -pwd enter_new_pw_here -mustchpwd no
and modify so that it prompts for the password rather then entering it in the script.
Unfortunately the Easy Password Reset tool doesn't allow me to save the config file anywhere other than the user's local profile. I like the code above, but don't know how to program it into a window with an input box
-
-
8th November 2012, 12:25 PM #7 
Originally Posted by
nLinked
Unfortunately the Easy Password Reset tool doesn't allow me to save the config file anywhere other than the user's local profile. I like the code above, but don't know how to program it into a window with an input box

I did have a script a while back at a previous place
Let me have a play later and I'll post back.
-
-
8th November 2012, 12:26 PM #8
- Rep Power
- 0

Originally Posted by
glennda
TBH its something which could easily be scripted
DSQUERY USER -samid enter_username_here | dsmod user -pwd enter_new_pw_here -mustchpwd no
and modify so that it prompts for the password rather then entering it in the script.
This works in a .bat batch file, thanks so much!
set /P NewPassword="Enter the new password for user theirusername: "
DSQUERY USER -samid theirusername | dsmod user -pwd %NewPassword% -mustchpwd no
-
-
21st February 2013, 11:39 AM #9
- Rep Power
- 7
The link im providing is on how to use a simple program and some AD tweaks to allow anyone assigned to a specific security group to change passwords. Here is a link to a step by step to achieve this.
-
SHARE: 
Similar Threads
-
By Rozzer in forum Windows
Replies: 21
Last Post: 30th January 2013, 10:01 AM
-
By itgeek in forum Windows
Replies: 8
Last Post: 28th November 2012, 02:10 AM
-
By localzuk in forum Windows
Replies: 48
Last Post: 28th September 2012, 03:04 PM
-
By fredted40x in forum Windows
Replies: 38
Last Post: 24th August 2011, 10:50 PM
-
By powdarrmonkey in forum Windows
Replies: 31
Last Post: 14th July 2010, 12:27 PM
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
-
Forum Rules