📖 ~1 min read
Table of contents
Symptom & Impact
Users get Access Denied on Windows Server 2019 file shares because NTFS inheritance was disabled on subfolders during a migration, leaving stale explicit ACEs.
Environment & Reproduction
Reproducible by inspecting permissions on the affected folder.
Get-Acl 'D:DataDept' | Format-List
icacls 'D:DataDept'
Root Cause Analysis
Disabled inheritance prevents new permissions on parent from flowing down; pre-migration ACEs may remain stale.
Quick Triage
Audit ACL state on the share.
icacls 'D:DataDept' /T /Q
Get-Acl 'D:DataDept' | Select -ExpandProperty Access | Format-Table IdentityReference,FileSystemRights,AccessControlType,IsInherited
Step-by-Step Diagnosis
Identify the divergence point in the tree.
Get-ChildItem 'D:Data' -Recurse -Directory | Get-Acl | Where-Object { -not $_.AreAccessRulesProtected -eq $false }
Solution – Primary Fix
Re-enable inheritance and propagate parent ACLs.
Still having issues? Our IT Consulting team can diagnose and resolve this for you. Get in touch for a free consultation.
icacls 'D:DataDept' /inheritance:e /T
Get-Acl 'D:Data' | Set-Acl 'D:DataDept'
Solution – Alternative Approaches
Reset ACLs to defaults from a known-good baseline.
icacls 'D:DataDept' /reset /T /Q
icacls 'D:DataDept' /grant 'CORPDept-Users:(OI)(CI)M'
Verification & Acceptance Criteria
Affected users can read/write per group membership and Get-Acl shows IsInherited true.
Get-Acl 'D:DataDept' | Select -ExpandProperty Access
icacls 'D:DataDept'
Rollback Plan
Restore the pre-fix ACL from icacls /save backup if changes break other roles.
icacls 'D:Data' /restore C:Tempacl-backup.txt
Prevention & Hardening
Back up ACLs before changes, document folder design, and use Robocopy /SECFIX in migrations.
icacls 'D:Data' /save C:Tempacl-baseline.txt /T
Related Errors & Cross-Refs
Linked with share permission collisions and DFS namespace ACL drift.
Related tutorial: View the step-by-step tutorial for Windows Server 2019.
View all Windows Server 2019 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn: NTFS permissions and inheritance.


Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.