Administrators
Cheat sheet · https://pcornel.dk/topic.php?topic=2986
Answer
Administrators is the built-in local group associated with broad administrative rights on a Windows computer. Membership influences the user’s security token, but UAC commonly means an administrator signs in with a filtered token and obtains a separate elevated token only when elevation occurs.
Remember
- Administrators membership is not identical to “this process is elevated.”
- UAC can provide a filtered token for normal processes and an elevated token on approval.
- An explicit deny or ownership/ACL boundary can still matter even for administrators.
- Some privileges allow administrative recovery actions but do not mean ordinary access checks always succeed.
First checks
Get-LocalUser— local accountsGet-LocalGroupMember Administrators— local adminswhoami /all— current user, SID, groups, privilegesnet user <user> /domain— domain account details
Verify in this order
Administrators group → full control after elevation
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Administrator membership vs elevation
| Item | Meaning | Boundary |
|---|---|---|
| Member of Administrators | Account has admin-group membership | does not prove current process elevated |
| Filtered token | Normal UAC context | admin SIDs/privileges restricted for many operations |
| Elevated token | Approved administrative context | resource ACL/ownership still relevant |
| Take ownership/change DACL | Recovery capability | not equivalent to normal file read/write permission |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2986