Pcornel
Windows · SMB

SMB Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3116

Back to the Topic

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

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

Confirmation

Confirm action

Continue?