Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB

Direct answer

SMB is the Windows file and printer sharing protocol. SMB 3 adds encryption, signing, multichannel and transparent failover; SMB1 is obsolete and should be disabled.

When to use this

Use this when Windows file sharing fails, is slow or needs securing.

First 30 seconds

1. Test-NetConnection <server> -Port 445.

2. Get-SmbConnection — dialect 3.x?

3. Credentials and share/NTFS permissions.

4. SMB1 disabled on both ends.

5. Events: SMBClient/SMBServer logs.

Operational verification

client → TCP 445 → negotiate dialect → authenticate → tree connect → file access

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 · Windows / Windows Server / PowerShell
Key commandNew-SmbShare
Scope / prerequisiteUse this when Windows file sharing fails, is slow or needs securing.
Configure · 1Verify · 1
What next?3 suggested next steps
Child topics (this level)10
Catalog command links2
Evidence0
On this pageJump to a specific section
Windows 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 Common mistakes Narrow the fault
  • SMB1 still enabled for an old device.
  • TCP 445 open to the internet.
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • SMB1 is obsolete and should be disabled everywhere.
  • Connecting by name allows Kerberos; by IP address forces NTLM.
  • Signing or encryption mismatches block older NAS and printers.
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
ReferenceWhy it matters1 section · depth on demand

How it works

SMB (Server Message Block) is Windows file and printer sharing over TCP 445. Client and server negotiate the highest common dialect, authenticate (Kerberos in a domain, NTLM otherwise), then the client connects to a share (\\server\share) and opens files. Access is checked against both share permissions and NTFS permissions. SMB 3 adds encryption, multichannel and transparent failover.

ReferenceImportant terms & boundaries1 section · depth on demand

Versions

DialectIntroducedNotes
SMB 1LegacyDisable (Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol)
SMB 2.xVista/2008
SMB 3.0/3.028/2012Encryption, multichannel
SMB 3.1.110/2016Pre-auth integrity, AES-GCM
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. 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?