Let teaching assistants or a helpdesk reset pupil passwords, without giving them any power over staff or admin accounts.
What improves
Helpdesk staff can reset pupil passwords and nothing else.
Why it matters
Giving out admin rights for a routine job puts staff and admin accounts at risk.
How you do it
Create a group and delegate the reset right on the pupil OU only.
Every name, address and value in this guide is an example. Replace them with your own.
Create the group
Either DC
$top = "OU=Contoso School,DC=ad,DC=contoso,DC=com" New-ADGroup -Name "SG-CON-Helpdesk-PupilReset" -GroupScope Global -GroupCategory Security ` -Path "OU=CON-Groups,$top" -Description "Can reset pupil passwords and unlock pupil accounts" Add-ADGroupMember -Identity "SG-CON-Helpdesk-PupilReset" -Members "smithj" # a staff member
Grant reset and unlock on CON-Students only
Either DC
$ou = "OU=CON-Students,OU=CON-Users,$top" $g = "CONTOSO\SG-CON-Helpdesk-PupilReset" dsacls $ou /I:S /G "$($g):CA;Reset Password;user" dsacls $ou /I:S /G "$($g):RPWP;pwdLastSet;user" dsacls $ou /I:S /G "$($g):RPWP;lockoutTime;user"
| Line | Lets the group |
|---|---|
| Reset Password | Set a new password for any pupil |
| pwdLastSet | Tick "must change password at next sign-in" |
| lockoutTime | Unlock a locked-out pupil |
Prefer the graphical tools?
WhereActive Directory Users and Computers›right-click CON-Students›Delegate Control
Add the group, then tick Reset user passwords and force password change at next logon.
Done when
Check
A member of the group can reset a pupil's password in Active Directory Users and Computers, and gets "Access is denied" on a staff account.


