SMB Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3116
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.
Remember
- Test port 445 before anything else.
- Dialect, signing or encryption mismatches block older devices.
- Name vs IP decides Kerberos vs NTLM.
First checks
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
Verify in this order
network → negotiate → auth → share → NTFS
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3116