Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Permission Troubleshooting

Direct answer

Permission Troubleshooting is the systematic path for Windows Access Denied and unexpected access. It proves the requester/token first, then evaluates the exact requested right through share and NTFS/object ACL layers before considering ownership or elevation recovery actions.

When to use this

Use it when a file, folder or share access result does not match the visible permissions, or when there is pressure to apply broad ACL resets without knowing the failed boundary.

First 30 seconds

1. Reproduce with the user and exact path.

2. whoami /groups in the user's session (new logon after changes).

3. icacls path and parents; share permissions for UNC.

4. Process Monitor for ACCESS DENIED on the exact object.

5. Fix the smallest thing (group or ACE).

Operational verification

user token → share → NTFS path walk → object ACL → result

Evidence · next step

If authorization should succeed, continue to file lock, encryption, connectivity, application or filesystem health evidence.

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

Broad Full Control grants, recursive resets and ownership takeover can make the symptom disappear while destroying the original evidence and intended security. If all ACL layers should allow access, stop editing permissions and move to the next non-ACL boundary.

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 it when a file, folder or share access result does not match the visible permissions, or when there is pressure to …
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.

3 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

Capture before-state with the affected principal. Reproduce the exact operation, inspect share/NTFS ACLs and inheritance, then make one narrow change only if the evidence points to that boundary. Re-run the same test and record the after-state.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means the intended principal has exactly the required effective rights through the intended inheritance/share model and the original operation succeeds with a fresh, expected token. Broken evidence is a conflicting deny, missing inherited/explicit allow, wrong service identity or share/NTFS intersection blocking access. The limit of what it shows is least privilege: success after broad temporary rights is not closure until rights are reduced to the intended set and the operation still succeeds.

Step 3 Native failure isolation and next-check logic Narrow the fault

For Access Denied, determine whether the failure is local NTFS, share-level or application/service identity. Inspect explicit and inherited ACEs and test effective access for the actual principal; if elevation changes the result, branch to token/UAC rather than rewriting the ACL. Avoid adding Everyone/Full Control as a diagnostic shortcut. If permissions look correct, check file locks, EFS, Controlled Folder Access or service-specific authorization before assuming ACL corruption.

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
  • Reproduce with the affected identity and exact path.
  • Prove the runtime token before changing the resource ACL.
  • Local paths and UNC paths can traverse different authorization layers.
  • Capture owner/DACL/inheritance before remediation.
  • Access Denied is not always an ACL failure; locks, encryption, offline resources or application behavior can look similar.
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

Permission troubleshooting should preserve the security model rather than destroy it. Start with the affected user/process and the exact path. Then identify every authorization layer the request crosses and stop at the first layer that contradicts the expected result.

ReferenceHow it works1 section · depth on demand

How it works

Windows authorization combines the caller token with explicit/inherited NTFS ACL entries, deny/allow ordering semantics, ownership/privileges and—across SMB—share permissions. Effective access is calculated for the specific identity and object; an administrator membership does not bypass every ACL, and UAC can change the token presented by an elevated versus unelevated process. Preserve object path, owner, ACL inheritance and the exact user/token before modifying permissions.

ReferenceImportant terms & boundaries3 sections · depth on demand

Security boundary

For local NTFS access, the path is primarily token → object DACL. For SMB, add the share layer. UAC can alter the process token; ownership can enable recovery; neither should be used as a substitute for explaining the actual DACL.

In depth

Read the ACL precisely

C:\> icacls D:\Shares\Finance
D:\Shares\Finance CORP\FS-Finance-Modify:(OI)(CI)(M)
                  CORP\FS-Finance-Read:(OI)(CI)(RX)
                  BUILTIN\Administrators:(OI)(CI)(F)
                  NT AUTHORITY\SYSTEM:(OI)(CI)(F)
                  CORP\bob:(DENY)(W)
CodeMeaning
(OI) / (CI)Object / container inherit — applies to files / subfolders
(IO)Inherit only — not on this folder itself
(I)Inherited from the parent
F / M / RX / R / WFull / Modify / Read & execute / Read / Write
(DENY)Explicit deny — evaluated before allows

icacls displays and modifies file and folder DACLs.

Evaluation order

1. Explicit deny

2. Explicit allow

3. Inherited deny

4. Inherited allow

So an explicit allow on a subfolder beats an inherited deny from the parent, and an explicit deny beats everything. Over the network, the share permission is applied on top (most restrictive wins).

Fix without making it worse

icacls D:\Shares\Finance /save C:\Temp\finance-acl.txt /t /c          # backup ACLs
icacls D:\Shares\Finance /grant "CORP\FS-Finance-Modify:(OI)(CI)M"
icacls D:\Shares\Finance\Archive /inheritance:e                       # re-enable inheritance
icacls D:\Shares\Finance /restore C:\Temp\finance-acl.txt             # roll back (run on the parent)
takeown /f D:\Shares\Finance\Orphan /r /d y                          # last resort for orphaned owner

Typical causes of "access denied"

CauseClue
Group membership not yet in the tokenWorks after logoff/logon; whoami /groups lacks the group
Broken inheritance on a subfoldericacls shows no (I) entries there
Explicit deny for a broad group(DENY) entries
Owner is a deleted account (orphan SID)S-1-5-21-... instead of a name
UAC filtered token for adminsWorks when elevated
File encrypted with EFS by another usercipher /c file

Grant to groups, not users; that keeps ACLs short and auditable.

*The sample icacls entries use fictional accounts to illustrate inheritance and permissions, not an exported filesystem ACL.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Permission troubleshooting explains why a user can or cannot access a file, folder, share, registry key or service.

1. Identify the exact object and operation (read, write, delete, execute).

2. Check effective access for the user (Advanced Security → Effective Access).

3. For network access, combine share permissions and NTFS — the most restrictive wins.

4. Check group membership and whether the user has logged on again since changes.

5. Look for explicit Deny entries and broken inheritance.

6. Check ownership and UAC (admins without elevation use a filtered token).

whoami /groups
icacls D:\Shares\Finance
Get-Acl D:\Shares\Finance | Select-Object -ExpandProperty Access
(Get-ADUser ahansen -Properties MemberOf).MemberOf

Enable object access auditing temporarily (event 4656/4663) to see failed access attempts with the exact rights requested.

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 → Permission Troubleshooting. 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 denied troubleshooting windowsntfs permission troubleshootingshare permission troubleshooting
Embedded reference data

Quick lookup tables

Permission troubleshooting order

A low-risk sequence that preserves evidence.

ItemMeaningBoundary
1. Identity/tokenSID, groups, elevationprove requester
2. PathLocal vs UNC, target objectprove authorization route
3. Share ACLRemote SMB onlyprove share layer
4. NTFS DACLOwner, ACEs, inheritanceprove filesystem layer
5. Controlled remediationSmallest justified changeverify and preserve security
Confirmation

Confirm action

Continue?