Use this when SMB access fails or is slow.
SMB Troubleshooting
Troubleshoot SMB by testing TCP 445 with Test-NetConnection, checking the dialect with Get-SmbConnection, signing and encryption mismatches, SMB1-only devices, credentials, name resolution and the SMBClient event logs.
1. Test-NetConnection <server> -Port 445.
2. Get-SmbConnection — connected? dialect?
3. Auth errors → SMBClient/Security events; Kerberos (use FQDN) vs NTLM.
4. Access denied → share + NTFS permissions.
5. Slow → signing, latency, multichannel.
network → negotiate → auth → share → NTFS
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and when it is fixed Verify boundary
Known-good means the client negotiates the intended SMB session/security, authenticates as the intended identity, can enumerate/read/write only the authorized share content and the original file operation completes with data read-back. Broken evidence includes TCP/session negotiation failure, credential mismatch, permission denial, lock or backend I/O error. The limit of what it shows is that an established SMB session does not show file authorization or storage durability; verify the exact operation and resulting data.
Step 2 Common mistakes Narrow the fault
- Not checking signing/encryption requirements on both ends.
Step 3 Native failure isolation and next-check logic Narrow the fault
If the UNC path cannot connect, verify name resolution and TCP 445/listener first. If session setup fails, inspect authentication, signing/encryption requirements and credential context; if the share opens but access is denied, calculate share+NTFS effective rights for the actual identity. If reads work but writes fail or stall, inspect locks, quotas, filesystem/storage and server events. Test the same path with the same identity rather than switching to an administrator and masking the boundary.
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.
- Test port 445 before anything else.
- Dialect, signing or encryption mismatches block older devices.
- Name vs IP decides Kerberos vs NTLM.
Get-SmbShare— shares on the serverGet-SmbSession / Get-SmbOpenFile— sessions and open filesGet-SmbConnection— client connections and dialectGet-SmbServerConfiguration— server settings (signing, encryption, SMB1)Test-NetConnection <server> -Port 445— SMB port reachability
ReferenceHow it works1 section · depth on demand
How it works
SMB access spans DNS/network path, TCP 445 listener, SMB negotiation/signing/encryption, authentication/session, share permissions, NTFS ACL and backend filesystem/storage. A server can be reachable and share-listed while one file operation fails due to ACL, lock, quota or storage. Client-side cached credentials and durable sessions can also preserve old identity/state across a change.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
What the client actually negotiated
PS C:\> Get-SmbConnection | Select ServerName, ShareName, UserName, Dialect, Signed, Encrypted, NumOpens
ServerName ShareName UserName Dialect Signed Encrypted NumOpens
---------- --------- -------- ------- ------ --------- --------
fs01 Data CORP\alice 3.1.1 True False 4
nas02 Media CORP\alice 2.0.2 False False 1
An old dialect, missing signing where it is required, or the wrong user (cached credentials) explains many "access denied" and performance reports.
Error → cause
| Error / symptom | Cause | Check |
|---|---|---|
| System error 53 — network path not found | Name resolution or TCP 445 blocked | Test-NetConnection fs01 -Port 445 |
| System error 5 — access denied | Share or NTFS permissions, or wrong identity | Get-SmbConnection UserName; whoami /groups |
| System error 1219 — multiple connections with different credentials | Existing session to the same server under another user | net use and remove the old mapping |
| "You can't access this shared folder because your organization's security policies block unauthenticated guest access" | Guest access disabled (secure default) | Use authenticated access on the NAS |
| Connection fails after enforcing signing | Device cannot sign | Server/NAS SMB settings |
| Slow copy | Old dialect, Multichannel not used, latency | Get-SmbMultichannelConnection, ping RTT |
Server-side view
Get-SmbSession | Select ClientComputerName, ClientUserName, Dialect, NumOpens, SecondsExists
Get-SmbOpenFile | Where Path -like '*Budget*'
Get-WinEvent -LogName 'Microsoft-Windows-SMBServer/Security' -MaxEvents 20
Event logs worth reading
| Log | Contains |
|---|---|
Microsoft-Windows-SMBClient/Connectivity | Client connect failures with reason |
Microsoft-Windows-SMBClient/Security | Signing/encryption/guest refusals |
Microsoft-Windows-SMBServer/Security | Rejected clients (unencrypted, unsigned) |
Microsoft-Windows-SMBServer/Operational | Server-side errors |
SMB1
If an old device only speaks SMB1, the fix is to replace or update it. Re-enabling SMB1 on Windows (Enable-WindowsOptionalFeature -FeatureName SMB1Protocol) brings back a protocol without modern protections.
*The two SMB connections illustrate different dialect and signing states; they were not collected from file servers.*
Method
SMB troubleshooting:
| Error | Likely cause |
|---|---|
| System error 53 (network path not found) | DNS, TCP 445 blocked, server not listening |
| System error 5 (access denied) | Share/NTFS permissions, UAC remote restrictions for local accounts |
| System error 1219 (multiple connections) | Different credentials to the same server already in use |
| System error 64/59 | Network interruption, AV/IDS, SMB signing mismatch |
| Slow opens | Antivirus, DFS referral to remote site, oplocks/leases disabled |
Test-NetConnection fs01 -Port 445
Get-WinEvent -LogName Microsoft-Windows-SMBClient/Connectivity -MaxEvents 20
Get-WinEvent -LogName Microsoft-Windows-SMBServer/Operational -MaxEvents 20
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 SMB → SMB Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-overview · confidence 94%