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.
SMB Troubleshooting
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.
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.
client → DNS → 445 → auth → share → NTFS
Context & applicabilityCommon mistakes · platform/version boundaries
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.
Operational reference
Fast context before you go deeper.
smbclient -L //<server> -U <user>Primary Commands
Configuration and operational commands for this Topic.
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 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 · 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.
- TCP 445 open ≠ SMB working.
- Access denied ≠ share missing.
- Authentication success ≠ authorization success.
- Reconnect/reboot success ≠ root cause.
Get-SmbConnection; Test-NetConnection <srv> -Port 445— connectionGet-WinEvent -LogName Microsoft-Windows-SmbClient/Connectivity -MaxEvents 30— client errorssmbstatus; 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
| Result | Typical cause |
|---|---|
NT_STATUS_LOGON_FAILURE | Wrong user/password/domain, account locked |
NT_STATUS_ACCESS_DENIED | Share permissions or NTFS ACL deny access |
NT_STATUS_BAD_NETWORK_NAME | Share name wrong or not published |
NT_STATUS_CONNECTION_REFUSED / timeout | Port 445 blocked, service stopped |
| Protocol negotiation failed | Dialect 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).
Method
| Symptom | Check |
|---|---|
System error 53 / path not found | Name resolution, TCP 445 reachable (Test-NetConnection fs01 -Port 445) |
System error 5 access denied | Share vs NTFS permissions, effective access tab |
| Kerberos falls back to NTLM | SPN for cifs/fs01 missing or duplicate (setspn -Q cifs/fs01), alias names |
| Slow file opens | Antivirus scanning, DFS referrals, signing on old hardware, latency |
| Cannot connect to NAS | SMB 1 only, signing required, NTLM disabled |
| Files locked | Get-SmbOpenFile, Samba smbstatus -L |
Get-WinEvent -LogName Microsoft-Windows-SMBClient/Connectivity -MaxEvents 20
Get-WinEvent -LogName Microsoft-Windows-SMBServer/Security -MaxEvents 20
klist
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/openspecs/windows_protocols/ms-smb2/ · confidence 94%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.
Quick lookup tables
SMB → SMB Troubleshooting file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for SMB → SMB Troubleshooting.
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | Troubleshooting 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 |
| Acceptance | 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. | Close only after the original operation and server-side/read-back verification succeeds |