Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

File Server Troubleshooting

Direct answer

Troubleshoot 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.

When to use this

Use this when users cannot open, save or see files on a Windows file server.

First 30 seconds

1. Can users reach the share (445)?

2. Access denied → share + NTFS + groups.

3. Locked files: Get-SmbOpenFile; close with Close-SmbOpenFile.

4. Quota/screen blocks → FSRM events.

5. Performance → SMB client/server counters.

Operational verification

network → share → NTFS → FSRM → file

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows storage and file services
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 storage and file services · Windows / Windows Server / PowerShell · Windows / PowerShell
Key commandGet-SmbSession
Scope / prerequisiteUse this when users cannot open, save or see files on a Windows file server.
Verify · 3
What next?3 suggested next steps
Catalog command links3
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

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 Verify SMB identity, effective access and the original read/write operation Verify boundary

Capture the resolved File Server address, SMB connection/session and authenticated user, and expect the intended share to be connected with the required dialect/security settings. Verify effective share and NTFS access for the exact file or folder, then perform the original create/read/write/rename operation and confirm size/hash or metadata as appropriate. Check the underlying volume remains online with expected free space and no new filesystem/storage errors. A successful share listing shows namespace and basic SMB access only, but it does not show write authorization or durable storage completion.

Step 2 Branch file-server failures from name/445 through SMB session, authorization and disk I/O Narrow the fault

If the File Server name does not resolve or TCP 445 is unreachable, stop at DNS/network/firewall. If 445 opens but the SMB session cannot authenticate, inspect the user, Kerberos/NTLM path and server security policy. If the share opens but a file operation is denied, compare share ACL, NTFS ACL, inheritance and the effective token; if authorization succeeds but reads/writes fail or stall, inspect free space, filesystem/storage errors and filter-driver events. If only one path fails, test the same file locally on the server to distinguish SMB from local filesystem behavior.

Step 3 Common mistakes Narrow the fault
  • Checking share permissions but not NTFS (or the reverse).
Key points
  • Check effective access, not just ACL entries.
  • Locked files block saves.
  • Quotas give 'disk full' errors.
Key checks
  • Get-SmbShare — shares
  • Get-SmbShareAccess <share> — share permissions
  • icacls <path> — NTFS permissions
  • Get-FsrmQuota — FSRM quotas
  • Get-SmbOpenFile — open files
ReferenceWhy it matters1 section · depth on demand

Windows file service crosses DNS, SMB session, share ACL, NTFS ACL and storage state

File Server troubleshooting must keep SMB transport/session state separate from authorization and filesystem state. A TCP 445 connection can succeed while SMB negotiation, signing/encryption, user authentication, share permission or NTFS permission fails. The effective access decision is the intersection of share and NTFS permissions under the authenticated token, and the underlying volume can independently be full, read-only or unhealthy. DFS, clustering and antivirus/filter drivers add adjacent boundaries. Record server name, resolved address, SMB dialect/session identity and exact share/path before changing permissions.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Who has the file open?

PS C:\> Get-SmbOpenFile | Where Path -like '*Budget2026.xlsx' | Select ClientComputerName, ClientUserName, Path, FileId, SessionId
ClientComputerName ClientUserName  Path                                   FileId        SessionId
------------------ --------------  ----                                   ------        ---------
10.0.10.55         CORP\bob        D:\Shares\Finance\Budget2026.xlsx      1374389537029 1374389534721
PS C:\> Close-SmbOpenFile -FileId 1374389537029 -Force

Get-SmbOpenFile lists files opened by SMB clients on the server. Closing a handle discards unsaved changes in the client application — contact the user first where possible.

Typical file server complaints

ComplaintInvestigation
"File is locked by another user"Get-SmbOpenFile; Office owner files ~$Budget.xlsx left after crashes
Slow opening of foldersAccess-based enumeration on huge folders, antivirus on the server, SMB signing on old hardware, latency
Access denied for one userEffective access (share + NTFS), group membership requiring new logon
Files disappear / reappearDFSR conflicts, offline files sync, or users copying over each other
Server out of spaceFSRM storage reports, large files, shadow copies
Many sessions from one clientApplication opening without closing; Get-SmbSession per client

Server health counters

Get-Counter '\SMB Server Shares(*)\Avg. sec/Data Request','\SMB Server Shares(*)\Current Open File Count','\SMB Server Sessions(*)\Current Open File Count'

Avg. sec/Data Request consistently above ~20 ms on a local SSD-backed share points to storage or CPU on the server; compare with \PhysicalDisk(*)\Avg. Disk sec/Read.

Events to watch

LogUse
Microsoft-Windows-SMBServer/OperationalServer-side errors, resource limits
Microsoft-Windows-SMBServer/SecurityRejected connections
Application, source SRMSVCFSRM quota and file screen events
Security 5140/5145 (if auditing enabled)Share and file access attempts

Enable Audit Detailed File Share only temporarily on busy servers — it produces large volumes of events.

*The SMB open-file record uses fictional client details and IDs to illustrate the command output, not a captured session.*

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

Method

File server troubleshooting covers access problems, performance and share configuration on Windows file servers.

Get-SmbShare | Select-Object Name, Path, FolderEnumerationMode
Get-SmbShareAccess -Name Projects
Get-Acl D:\Shares\Projects | Format-List
Get-SmbSession | Select-Object ClientComputerName, ClientUserName, NumOpens
Get-SmbOpenFile | Where-Object Path -like '*budget.xlsx'
Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol, RequireSecuritySignature, EncryptData
SymptomCheck
Access deniedEffective access = share AND NTFS permissions; group membership needs new logon
File lockedOpen handle by another user (Get-SmbOpenFile, close with Close-SmbOpenFile)
Slow accessSMB signing/encryption overhead, antivirus scanning, disk latency, network
Share not reachableFirewall (445), DNS name, SPN for Kerberos

Use Effective Access in folder security properties to see exactly why a user is denied.

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 storage and file services current

Authoritative/upstream documentation reviewed for bounded claims in File Server → File Server Troubleshooting. 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%
Confirmation

Confirm action

Continue?