Reset a target account password through a validated directory right
Needs: Exact object/right and account state; the disruptive password change is justified within the assigned lab objective
PowerShell commands
# Baseline
$Secure = ConvertTo-SecureString 'TEMP_PASSWORD' -AsPlainText -Force
Set-DomainUserPassword -Identity TARGET_USER -AccountPassword $Secure -Verbose
net user TARGET_USER TEMP_PASSWORD /domain
Validate the account state and authenticate only to an approved service as the target identity. Prefer a reversible route when one exists.
Verify → Verify account identity and compatible authentication, then test relevant authorization.
If it fails → A stale/protected-object edge or policy can prevent the reset. Prefer a reversible SPN/group route when it achieves the objective. More detail ↓
Explanation & examples
Reset a target account password through a validated directory right
- USE WHEN
- A controlled trustee has the effective password-reset right on a useful account
- STARTING ACCESS
- A domain identity, appropriate host privilege, or a validated effective directory-object right
- RESULT
- A new known credential for the target identity
Recognize the clue
Follow a mapped useful-user ACL edge and resolve the actual password-reset extended right for the controlled trustee.
Get-DomainObjectAcl -Identity TARGET_USER -ResolveGUIDs
Trustee: CONTROLLED_GROUP
Right: ExtendedRight
Resolved operation: password reset
Target: TARGET_USERMeans: An applicable reset operation changes a target credential; it does not reveal the old password.
Confirm: Validate effective membership, protection/account state, account utility and the authorized impact of a disruptive reset.
- After validation
- The right applies and the authorized new credential is accepted: follow that identity's actual rights.
- Ruled out in this context
- Only an unrelated property-write right applies: reject password reset through this ACE.
- Still inconclusive
- An unresolved extended-right GUID or stale group edge needs effective-right resolution first.
Troubleshooting: A stale/protected-object edge or policy can prevent the reset. Prefer a reversible SPN/group route when it achieves the objective.
Additional prerequisite checks
Get-DomainObjectAcl -Identity TARGET_USER -ResolveGUIDs
Get-DomainUser -Identity TARGET_USER
A password-reset right creates a new password credential; it does not reveal the old one. This is disruptive because an unknown original password cannot be restored.
Validate the account state and authenticate only to an approved service as the target identity. Prefer a reversible route when one exists.
Why it works
Reset changes the credential; it does not reveal or preserve the unknown original password. Its value depends on the target account's actual rights and service policy.
Worked example · hypothetical
Observation: the effective reset right applies to a service account. Test: confirm its utility and choose the authorized transition. Illustrative output: the newly set password authenticates as that account. Interpretation: re-enumerate its exact access.
New identity, privilege, host or route? Re-enumerate → All topic tasks →