Access-Based Enumeration
Cheat sheet · https://pcornel.dk/topic.php?topic=3316
Answer
Access-based enumeration hides files and folders in a share from users who have no permission to read them, so users only see what they can open. Enable it per share in Server Manager or with Set-SmbShare.
Remember
- Access-based enumeration hides items; it does not secure them.
- NTFS permissions still decide access.
- It adds a small cost on large folders.
First checks
Get-SmbShare— sharesGet-SmbShareAccess <share>— share permissionsicacls <path>— NTFS permissionsGet-FsrmQuota— FSRM quotasGet-SmbOpenFile— open files
Verify in this order
ABE hides folders without read access
Where it usually breaks
First mismatch in device/provider → Windows storage mapping/pool → volume/filesystem/encryption → share/namespace/access policy → client/process read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3316