Use this when setting up or troubleshooting Windows file shares, their permissions, quotas and screening.
File Server
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.
1. Shares and paths: Get-SmbShare.
2. Permissions: share + NTFS.
3. ABE and quotas as required.
4. Shadow copies/backup.
5. Events SMBServer.
Context & applicabilityCommon mistakes · platform/version boundaries
- Granting permissions to individual users instead of groups.
- Full Control for users, letting them change permissions.
- Disabling inheritance everywhere, making audits hard.
- Not following AGDLP (accounts → global groups → domain local groups → permissions).
Operational reference
Fast context before you go deeper.
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.
Subtopics
Go one level deeper into this subject.
The File Server role (FS-FileServer) lets Windows Server share folders over SMB.
Subtopic SMB SharesSMB shares on a Windows file server publish folders under a share name, such as \\fs01\projects, with share permissions, caching and access-based enumeration settings.
Subtopic NTFS PermissionsNTFS permissions control access to files and folders on the volume itself, with inheritance from parent folders and explicit allow or deny entries.
Subtopic Share PermissionsShare permissions (Read, Change, Full Control) apply only to access over the network.
Subtopic Access-Based EnumerationAccess-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.
Subtopic Offline FilesOffline Files (client-side caching) keeps copies of network files on the client so users can work without a connection and sync back later.
Subtopic FSRMFSRM (File Server Resource Manager) adds quota management, file screening, storage reports and file classification to Windows file servers, managed in the FSRM console or with its PowerShell module.
Subtopic QuotasFSRM quotas limit space per folder, hard to block writes or soft to warn, with email and event notifications at thresholds.
Subtopic File ScreeningFile screening in FSRM blocks or reports file types being saved to a folder, such as executables or media, using file groups and active or passive screens.
Subtopic File Server TroubleshootingTroubleshoot a Windows file server by checking SMB connectivity (Test-NetConnection -Port 445), share and NTFS permissions with effective access, open files and sessions (Get-SmbOpenFile), quotas, free space and the SMBServer event logs.
- Effective access = share AND NTFS permissions.
- ABE hides, it does not secure.
- Quotas and screens are FSRM.
Get-SmbShare— sharesGet-SmbShareAccess <share>— share permissionsicacls <path>— NTFS permissionsGet-FsrmQuota— FSRM quotasGet-SmbOpenFile— open files
ReferenceWhy it matters1 section · depth on demand
Permissions
Effective access over the network is the most restrictive of share and NTFS permissions. Common practice: share permission Authenticated Users = Change (or Full) and do the real control with NTFS groups.
New-SmbShare -Name Data -Path D:\Data -FullAccess "EXAMPLE\FileAdmins" -ChangeAccess "EXAMPLE\Domain Users"
Get-SmbShare ; Get-SmbSession ; Get-SmbOpenFile
Set-SmbServerConfiguration -EnableSMB1Protocol $false
Documented example, not captured output. Also useful: access-based enumeration, FSRM quotas and file screens, Volume Shadow Copies for user restores.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A Windows file server combines SMB shares, NTFS/ReFS permissions, FSRM (quotas, screening, classification), Shadow Copies (Previous Versions), DFS namespaces/replication, deduplication and access-based enumeration.
Install-WindowsFeature FS-FileServer,FS-Resource-Manager,FS-Data-Deduplication -IncludeManagementTools
Get-SmbShare | ? Special -eq $false
Get-DedupStatus
For high availability use a clustered file server role or Scale-Out File Server (for Hyper-V/SQL workloads), or Azure Files with File Sync for hybrid scenarios.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in File Server. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/ · confidence 94%