Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB Protocol

Direct answer

The SMB protocol provides file, printer and named-pipe access over TCP 445. Dialects range from the obsolete SMB1 to SMB 3.1.1 with pre-authentication integrity, encryption and signing.

When to use this

Use this when understanding SMB dialects and features.

First 30 seconds

1. Dialect negotiated: Get-SmbConnection | Select Dialect.

2. SMB1 present? Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol.

3. Signing/encryption requirements.

4. Port 445 only (no NetBIOS needed).

5. Capture if negotiation fails.

Operational verification

negotiate → session setup (Kerberos/NTLM) → tree connect → file operations

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
Scope / prerequisiteUse this when understanding SMB dialects and features.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • Old devices forcing SMB1 to stay enabled.
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
  • SMB1 is obsolete and insecure.
  • SMB 3.1.1 adds pre-authentication integrity.
  • SMB uses TCP 445.
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

Negotiation

1. Client sends NEGOTIATE with the dialects it supports.

2. Server picks the highest common dialect (3.1.1 between current systems).

3. SESSION_SETUP authenticates the user (Kerberos or NTLM) and decides signing/encryption.

4. TREE_CONNECT attaches to a share.

5. CREATE/READ/WRITE operate on files.

SMB 3.1.1 adds pre-authentication integrity, which protects the negotiation against downgrade.

ReferenceImportant terms & boundaries2 sections · depth on demand

Commands

Get-SmbConnection | Select ServerName,ShareName,Dialect,Signed,Encrypted
Get-SmbServerConfiguration | Select EnableSMB1Protocol,RequireSecuritySignature,EncryptData

In depth

SMB on Windows: dialect negotiation (2.0.2 → 3.1.1), signing, encryption, leasing, multichannel and SMB over QUIC (Server 2022 Azure Edition, Server 2025, Windows 11) for remote access over UDP 443.

Get-SmbConnection | ft ServerName,ShareName,Dialect,Signed,Encrypted
Get-SmbServerConfiguration | Select EnableSMB1Protocol,RequireSecuritySignature,EncryptData,EnableSMBQUIC
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

SMB1 is not installed by default on current Windows; keep it removed.

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 docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in SMB → SMB Protocol. 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?