Active Directory Series

🔑 The Top 1% Hands-On for Delegating OU Control: Giving the Help Desk Password-Reset Rights Only

Introduction

This article is part of the Top 1% Series Complete Article Guide, the 31st article in the Active Directory Series.

Prerequisites

The Big Picture

This hands-on consists of four steps.

graph LR
    Step1["Step1<br/>Create a help desk group<br/>and a test OU"]
    Step2["Step2<br/>Delegate rights with the<br/>Delegation of Control Wizard"]
    Step3["Step3<br/>Verify the delegated<br/>permission's actual scope"]
    Step4["Step4<br/>Revoke the delegation<br/>(watch for the gotcha)"]
    Step1 --> Step2 --> Step3 --> Step4

Hands-On Steps

Step 1: Create a help desk group and a test OU

Create the group that will receive the delegated permission, the OU that defines its scope, and a test user.

New-ADGroup -Name "HelpdeskStaff" -Path "DC=example,DC=com" -GroupScope Global
New-ADUser -Name "helpdesk1" -Path "DC=example,DC=com" -Enabled $true -AccountPassword (ConvertTo-SecureString "P@ssw0rd123!" -AsPlainText -Force)
Add-ADGroupMember -Identity "HelpdeskStaff" -Members "helpdesk1"

New-ADOrganizationalUnit -Name "SalesOU" -Path "DC=example,DC=com"
New-ADUser -Name "salesuser1" -Path "OU=SalesOU,DC=example,DC=com" -Enabled $true -AccountPassword (ConvertTo-SecureString "P@ssw0rd123!" -AsPlainText -Force)

helpdesk1 is just an ordinary user — not a member of Domain Admins or any other special group. From here, we’ll add exactly enough permission for password resets within SalesOU, nothing more.

Step 2: Delegate rights with the Delegation of Control Wizard

Open dsa.msc (Active Directory Users and Computers), right-click SalesOU, and choose “Delegate Control.” Walk through the wizard as follows.

  1. Specify HelpdeskStaff as the group to delegate to.
  2. From the list of tasks, check only “Reset user passwords and force password change at next logon.”
  3. Finish.

Notice that a similar-but-different item, “Unlock a locked-out user account,” sits right next to password reset in that list. These are actually two separate permissions — delegating only one doesn’t grant the other. Assuming “if I can reset passwords, I must also be able to unlock accounts” is a common real-world misconception.

Step 3: Verify the delegated permission’s actual scope

Log in as helpdesk1 and try resetting the password for salesuser1 inside SalesOU.

Set-ADAccountPassword -Identity "salesuser1" -Reset -NewPassword (ConvertTo-SecureString "NewP@ss456!" -AsPlainText -Force)

This should succeed. Now run the same command against a user outside the delegated scope — say, another user directly under DC=example,DC=com. This time, it should fail with Access Denied. This confirms the delegated permission is precisely limited to the SalesOU scope.

Go further and try an operation other than a password reset, such as deleting salesuser1 itself. That fails with Access Denied too. This confirms that only the specific delegated task — resetting a password — is permitted, and every other operation is still denied by default.

Step 4: Revoke the delegation (watch for the gotcha)

When you want to revoke HelpdeskStaff’s delegated permission, the first instinct most people have is “I’ll just run the Delegation of Control Wizard again.” But the Delegation of Control Wizard has no feature for revoking a permission at all. It’s a one-way tool — it can only add permissions.

To revoke a delegation, open SalesOU’s properties, go to the “Security” tab (if it’s not visible, enable “Advanced Features” from dsa.msc’s “View” menu first), and manually find and remove the access control entry granted to HelpdeskStaff.

# Checking the ACL directly with PowerShell
Get-Acl "AD:OU=SalesOU,DC=example,DC=com" | Select-Object -ExpandProperty Access | Where-Object { $_.IdentityReference -like "*HelpdeskStaff*" }

What a Pro Sees Here (Top 1% Understanding)

A delegated permission is really just one ACE added to the OU’s ACL

What the Delegation of Control Wizard is actually doing is adding a single ACE (access control entry) to the SalesOU object’s ACL (access control list), granting the HelpdeskStaff group one specific extended right — in this case, “reset password.” The wizard is nothing more than a GUI-based convenience layer over this otherwise fairly involved ACL operation. Once you understand that, it’s no surprise the wizard has no “undo” feature, and it becomes natural to reach for dsacls or Get-Acl to inspect and manipulate the ACL directly.

Why delegate control instead of handing out Domain Admins

This is how the principle of least privilege, covered in Understanding Practical Server Security Measures from a “Top 1%” Perspective, gets put into concrete practice within AD DS. What a help desk staffer actually needs, day to day, is usually nothing more than the ability to reset a password. Hand them Domain Admins instead, and if that account is ever compromised, the entire forest is at risk. Scoping permissions down to exactly what that person needs is the basic building block of real-world security design.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

  1. An operation you thought you delegated still gets denied: Check whether you checked the correct task in the wizard (password reset and unlock are separate), and whether you delegated on the right OU.
  2. You want to check what’s currently delegated: Check SalesOU’s Security tab (with Advanced Features enabled), or run dsacls "OU=SalesOU,DC=example,DC=com" to see the current ACL.
  3. You fully revoked a delegation, but the old permission still seems to apply: Group-membership-based permissions can take a moment to reflect, until that user logs off and back on to refresh their token.

Summary

Takeaways to Apply Today

  1. When a request comes in to “give the help desk Domain Admins,” consider whether delegation of control can achieve the same thing instead.
  2. When you delegate a permission, record what you delegated (the group, the OU, the task) somewhere, in case you need to revoke it later.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).