File Server
Cheat sheet · https://pcornel.dk/topic.php?topic=3311
Answer
A Windows file server shares folders over SMB with share and NTFS permissions, and adds features such as access-based enumeration, FSRM quotas and file screening, shadow copies, DFS and offline files.
Remember
- Effective access = share AND NTFS permissions.
- ABE hides, it does not secure.
- Quotas and screens are FSRM.
First checks
Get-SmbShare— sharesGet-SmbShareAccess <share>— share permissionsicacls <path>— NTFS permissionsGet-FsrmQuota— FSRM quotasGet-SmbOpenFile— open files
Verify in this order
client → SMB → share → NTFS → data, with FSRM and VSS
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=3311