Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

SMB Troubleshooting

Direct answer

Start with the exact UNC path, user, operation, error and timestamp. Prove each protocol phase in order and correlate client/server evidence before changing credentials, ACLs, signing/encryption policy or network settings.

When to use this

Use it when the storage question has been narrowed to SMB → SMB Troubleshooting. Start from the exact remote path and operation, then separate transport, protocol/session or mount state, identity/security, share/export authorization, filesystem authorization and backend I/O before changing configuration.

First 30 seconds

1. Can't connect: 445 blocked, DNS, SMB1 required by old device.

2. Access denied: share/NTFS, Kerberos/NTLM, time skew.

3. Slow: signing/encryption CPU, latency, small I/O.

4. Check event logs both sides.

5. Fix and test.

Operational verification

client → DNS → 445 → auth → share → NTFS

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Troubleshooting is resolved only when the first failed SMB boundary is explained and the original workload succeeds; clearing credentials or restarting services alone is not root-cause evidence.

Suspicious evidence: only one client recovers after credential purge, policy mismatch recurs, permissions were broadly relaxed, or service restart clears symptoms without an explanatory failure point.

Platform / version applicability
Network file storage
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.

PlatformNetwork file storage · Samba client
Key commandsmbclient -L //<server> -U <user>
Scope / prerequisiteUse it when the storage question has been narrowed to SMB → SMB Troubleshooting. Start from the exact remote path and o…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Storage 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.

1 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 Verification path Verify boundary

symptom/time → DNS/IP/TCP445 → negotiate → authentication/session → tree connect/share → share ACL → filesystem ACL → backend → original-test verification

Healthy evidence: the original failing SMB operation succeeds with intended dialect/security/identity, both authorization layers are correct and server-side data read-back is verified.

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
  • TCP 445 open ≠ SMB working.
  • Access denied ≠ share missing.
  • Authentication success ≠ authorization success.
  • Reconnect/reboot success ≠ root cause.
Key checks
  • Get-SmbConnection; Test-NetConnection <srv> -Port 445 — connection
  • Get-WinEvent -LogName Microsoft-Windows-SmbClient/Connectivity -MaxEvents 30 — client errors
  • smbstatus; testparm -s — Samba
ReferenceImportant terms & boundaries3 sections · depth on demand

Namespace and identity

Troubleshooting is resolved only when the first failed SMB boundary is explained and the original workload succeeds; clearing credentials or restarting services alone is not root-cause evidence.

In depth

Test the share from a client that shows you the protocol

smbclient is useful even when the real client is Windows. It separates name resolution, protocol negotiation, authentication and share access.

$ smbclient -L //fs01 -U 'CORP\alice'
Password for [CORP\alice]:
        Sharename       Type      Comment
        ---------       ----      -------
        projects        Disk
        IPC$            IPC       Remote IPC
$ smbclient //fs01/projects -U 'CORP\alice' -m SMB3 -c 'ls'
$ smbclient //fs01/projects -U 'CORP\alice' -d 3 -c 'ls' 2>&1 | grep -iE 'protocol|NT_STATUS'

The Samba manual documents -L (list services), -U [DOMAIN\]USER (and warns against passwords on the command line), -m/--max-protocol (highest dialect; default is the highest SMB3 version), and -d debug levels 0–10.

NT_STATUS to cause

ResultTypical cause
NT_STATUS_LOGON_FAILUREWrong user/password/domain, account locked
NT_STATUS_ACCESS_DENIEDShare permissions or NTFS ACL deny access
NT_STATUS_BAD_NETWORK_NAMEShare name wrong or not published
NT_STATUS_CONNECTION_REFUSED / timeoutPort 445 blocked, service stopped
Protocol negotiation failedDialect mismatch (SMB1 disabled on one side)

On the Windows server

PS> Get-SmbSession | ft ClientComputerName,ClientUserName,Dialect
PS> Get-SmbShare projects | fl Name,Path,EncryptData
PS> Get-SmbShareAccess projects
PS> Get-WinEvent -LogName Microsoft-Windows-SMBServer/Security -MaxEvents 20

Kerberos versus NTLM

Kerberos needs the server's DNS name. Connecting by IP address usually falls back to NTLM. If NTLM is restricted by policy, the same share works by name and fails by IP.

Illustrative example (not a system capture).

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

Method

SymptomCheck
System error 53 / path not foundName resolution, TCP 445 reachable (Test-NetConnection fs01 -Port 445)
System error 5 access deniedShare vs NTFS permissions, effective access tab
Kerberos falls back to NTLMSPN for cifs/fs01 missing or duplicate (setspn -Q cifs/fs01), alias names
Slow file opensAntivirus scanning, DFS referrals, signing on old hardware, latency
Cannot connect to NASSMB 1 only, signing required, NTLM disabled
Files lockedGet-SmbOpenFile, Samba smbstatus -L
Get-WinEvent -LogName Microsoft-Windows-SMBClient/Connectivity -MaxEvents 20
Get-WinEvent -LogName Microsoft-Windows-SMBServer/Security -MaxEvents 20
klist
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 docNetwork file storage 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/openspecs/windows_protocols/ms-smb2/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
smb troubleshootingsmb access deniedsmb share failure
Embedded reference data

Quick lookup tables

SMB → SMB Troubleshooting file-service map

Fast namespace, protocol, identity, authorization and proof boundaries for SMB → SMB Troubleshooting.

File-service boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundaryTroubleshooting closes only when the first failed SMB boundary is explained and the original workload succeeds; clearing credentials or restarting services alone is not root-cause evidence.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: the original failing SMB operation succeeds with intended dialect/security/identity, both authorization layers are correct and server-side data read-back is verified.Close only after the original operation and server-side/read-back verification succeeds
Confirmation

Confirm action

Continue?