Use ACE when you need to explain exactly why one SID is granted or denied a specific right, when decoding icacls output or when tracing inherited permission behavior.
ACE
An ACE is one entry inside an ACL. It identifies a trustee (normally by SID), an ACE type such as allow/deny/audit, the access rights involved and flags controlling inheritance and object applicability.
1. icacls <path> — read each ACE: SID, type (allow/deny), rights, flags (OI)(CI)(IO).
2. Unknown SID (S-1-5-21-…) → deleted account; remove.
3. Deny ACE matching the user's group?
4. Map rights: F full, M modify, RX read & execute.
5. Adjust the specific ACE.
ACE = SID + allow/deny + rights + inheritance flags
Evaluate the complete ordered DACL against the runtime token.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not conclude “deny wins” or “allow wins” from one ACE without checking applicability and the complete DACL. A group-based ACE can affect a user even when the user has no direct ACE.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Decode the ACE, resolve the SID and then test whether the user token contains that SID and whether the requested operation intersects the ACE rights. Place the entry in the context of the full DACL.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- An ACE targets a SID, not a friendly name string.
- Allow/deny type and access mask determine what the entry means.
- Inheritance/application flags decide which objects the ACE affects.
- One ACE is not the whole access decision; all applicable entries and token SIDs matter.
Get-Acl <path> | fl— owner and ACLicacls <path>— ACEs with inheritance flagswhoami /groups— groups in the current tokenGet-SmbShareAccess <share>— share permissions
ReferenceWhat it is1 section · depth on demand
Core model
An ACL is made of ACEs. Each ACE is a structured security rule, not just a line of text: it has a trustee, type, access mask and flags. These fields let Windows determine whether the entry applies to the current request.
ReferenceImportant terms & boundaries2 sections · depth on demand
Security boundary
For filesystem inheritance, flags can indicate propagation to files and/or folders and whether the entry is inherited. Advanced Windows objects can also use object-specific ACE data. The operational core remains the same: identify who, what rights, what type and where it applies.
In depth
An ACE contains: type (Allow/Deny/Audit), the SID it applies to, an access mask (rights) and flags (inheritance, audit success/failure). In SDDL notation: (A;OICI;0x1301bf;;;S-1-5-21-…-1105) = Allow, object+container inherit, Modify rights, for that SID.
(Get-Acl D:\Projects).Sddl
ConvertFrom-SddlString -Sddl (Get-Acl D:\Projects).Sddl | Select -Expand DiscretionaryAcl
Orphaned SIDs (deleted accounts) show as S-1-5-21-… without names — clean them up during permission reviews.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Permissions & Access Control → ACE. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/win32/secauthz/access-control · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
ACE fields
The minimum information needed to interpret one ACL entry.
| Item | Meaning | Boundary |
|---|---|---|
| Trustee | SID/security principal | who the entry targets |
| Type | Allow / Deny / Audit | what kind of rule it is |
| Rights | Access mask | which operations are affected |
| Inheritance flags | Propagation/applicability | where the rule applies |
| Position | DACL order | context for evaluation |