Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB Troubleshooting

Direct answer

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.

When to use this

Use this when SMB access fails or is slow.

First 30 seconds

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.

Operational verification

network → negotiate → auth → share → NTFS

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows networking and network 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 networking and network services
Scope / prerequisiteUse this when SMB access fails or is slow.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
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 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 references

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.

observation · 1
Key points
  • Test port 445 before anything else.
  • Dialect, signing or encryption mismatches block older devices.
  • Name vs IP decides Kerberos vs NTLM.
Key checks
  • Get-SmbShare — shares on the server
  • Get-SmbSession / Get-SmbOpenFile — sessions and open files
  • Get-SmbConnection — client connections and dialect
  • Get-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 / symptomCauseCheck
System error 53 — network path not foundName resolution or TCP 445 blockedTest-NetConnection fs01 -Port 445
System error 5 — access deniedShare or NTFS permissions, or wrong identityGet-SmbConnection UserName; whoami /groups
System error 1219 — multiple connections with different credentialsExisting session to the same server under another usernet 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 signingDevice cannot signServer/NAS SMB settings
Slow copyOld dialect, Multichannel not used, latencyGet-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

LogContains
Microsoft-Windows-SMBClient/ConnectivityClient connect failures with reason
Microsoft-Windows-SMBClient/SecuritySigning/encryption/guest refusals
Microsoft-Windows-SMBServer/SecurityRejected clients (unencrypted, unsigned)
Microsoft-Windows-SMBServer/OperationalServer-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.*

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

Method

SMB troubleshooting:

ErrorLikely 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/59Network interruption, AV/IDS, SMB signing mismatch
Slow opensAntivirus, 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
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 networking and network services current

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%
Confirmation

Confirm action

Continue?