GRitchie Posted October 3, 2014 Posted October 3, 2014 Hello, We are wanting to change all of the students' passwords in Year 7 to their admission numbers (long story). Is there an easy way of doing this in bulk? I can export a list of each through SIMS .NET, but obviously I will need to apply these modifications in AD. I have the WiseSoft AD tools if they're useful here... Help!!
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 Bulk Modify This is what I have, but I'm not sure how to use this as far as setting all the passwords individually
Davit2005 Posted October 3, 2014 Posted October 3, 2014 dsquery user "OU=Year7,DC=domain,DC=local" -limit 0 | DSMOD user -pwd password This looks at a specific OU, Replace password with the password of your choice. It's a long time since I used this but I think the students need to change password on first login.
FN-GM Posted October 3, 2014 Posted October 3, 2014 If you have a list of usernames and passwords in Excell. You can use the concatenate function to generate the powershell command to reset the passwords.
FN-GM Posted October 3, 2014 Posted October 3, 2014 dsquery user "OU=Year7,DC=domain,DC=local" -limit 0 | DSMOD user -pwd password This looks at a specific OU, Replace password with the password of your choice. It's a long time since I used this but I think the students need to change password on first login. That won't work as each student needs to be set a unique password
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 dsquery user "OU=Year7,DC=domain,DC=local" -limit 0 | DSMOD user -pwd password This looks at a specific OU, Replace password with the password of your choice. It's a long time since I used this but I think the students need to change password on first login. Sorry, I may have written it badly, what we are doing is setting every single user as their own admission number. 200 kids, 200 unique passwords. - - - Updated - - - If you have a list of usernames and passwords in Excell. You can use the concatenate function to generate the powershell command to reset the passwords. Not really up on PowerShell so I'm not too sure about this :-/
FN-GM Posted October 3, 2014 Posted October 3, 2014 (edited) I have made up a spreadsheet and attached this. Populate your username and passwords column and then drag down the powershell command column. It should then give you a long list on unique commands. Paste these into powershell. I paste them into a notepad file first just to get rid of any odd formatting.Password Changer.xlsx Edited October 3, 2014 by FN-GM
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 I have made up a spreadsheet and attached this. Populate your username and passwords column and then drag down the powershell command column. It should then give you a long list on unique commands. Paste these into powershell. I paste them into a notepad file first just to get rid of any odd formatting. Strange, I can't download that? Just opens a new tab and is blank!
FN-GM Posted October 3, 2014 Posted October 3, 2014 (edited) Right clicking the attachment hyperlink and press "Save Target As" EDIT: Ignore that, it doesn't work. PM me your email address and I will send it you. Edited October 3, 2014 by FN-GM
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 Right clicking the attachment hyperlink and press "Save Target As" EDIT: Ignore that, it doesn't work. PM me your email address and I will send it you. It worked for me. Earlier that was saying save a .GIF but maybe Edugeek hadn't fully uploaded the file or something!
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 Right clicking the attachment hyperlink and press "Save Target As" EDIT: Ignore that, it doesn't work. PM me your email address and I will send it you. Okay, so that didn't work:(
FN-GM Posted October 3, 2014 Posted October 3, 2014 (edited) You don't have the RSAT tools on that computer. You will need to install the AD mismanagement tools. Run the commands on your Domain Controller and they will work. What version of OS is this on? It will need to be 2008 R2 minimum. Edited October 3, 2014 by FN-GM
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 (edited) You don't have the RSAT tools on that computer. You will need to install the AD mismanagement tools. Run the commands on your Domain Controller and they will work. What version of OS is this on? It will need to be 2008 R2 minimum. Okay, it's 08R2 - is this under add roles or could you provide a link? Sorry! Thanks :-) Edited October 3, 2014 by GRitchie
GRitchie Posted October 3, 2014 Author Posted October 3, 2014 You don't have the RSAT tools on that computer. You will need to install the AD mismanagement tools. Run the commands on your Domain Controller and they will work. What version of OS is this on? It will need to be 2008 R2 minimum. Sorry, I've misread. I have ran this on the server, that's the error in that screenshot!
FN-GM Posted October 3, 2014 Posted October 3, 2014 (edited) On the domain controller? Have a look at this - http://blogs.technet.com/b/gary/archive/2009/11/13/using-microsoft-s-new-ad-powershell-cmdlets.aspx Edited October 3, 2014 by FN-GM
Davit2005 Posted October 3, 2014 Posted October 3, 2014 That won't work as each student needs to be set a unique password Yep your right, It's been a very long week. My Bad etc. etc.
GRitchie Posted October 6, 2014 Author Posted October 6, 2014 On the domain controller? Have a look at this - Using Microsoft's New AD PowerShell Cmdlets - Gary's $this and that about PowerShell - Site Home - TechNet Blogs Tried this - still no luck!!
FN-GM Posted October 6, 2014 Posted October 6, 2014 Is your server fully patched? On a fully patched Server 2008 R2 DC is should work fine.
GRitchie Posted October 8, 2014 Author Posted October 8, 2014 Is your server fully patched? On a fully patched Server 2008 R2 DC is should work fine. Apologies for the slow reply, yes it is!
GRitchie Posted October 13, 2014 Author Posted October 13, 2014 Got it! Didn't realize you had to open Active Directory Module for Windows PowerShell. How silly of me! *facepalm* Thanks!
FN-GM Posted October 13, 2014 Posted October 13, 2014 Ah, dam I assumed you had done that. Sorry its the obvious things! Did the commands work then?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now