Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

ACE

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

ACE = SID + allow/deny + rights + inheritance flags

Evidence · next step

Evaluate the complete ordered DACL against the runtime token.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security
Scope / prerequisiteUse ACE when you need to explain exactly why one SID is granted or denied a specific right, when decoding icacls output…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-Acl <path> | fl — owner and ACL
  • icacls <path> — ACEs with inheritance flags
  • whoami /groups — groups in the current token
  • Get-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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

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%
Terminology layer

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.

Aliases that resolve here
access control entrywindows aceacl entry
Embedded reference data

Quick lookup tables

ACE fields

The minimum information needed to interpret one ACL entry.

ItemMeaningBoundary
TrusteeSID/security principalwho the entry targets
TypeAllow / Deny / Auditwhat kind of rule it is
RightsAccess maskwhich operations are affected
Inheritance flagsPropagation/applicabilitywhere the rule applies
PositionDACL ordercontext for evaluation
Confirmation

Confirm action

Continue?