Use this when understanding SMB dialects and features.
SMB Protocol
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.
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.
negotiate → session setup (Kerberos/NTLM) → tree connect → file operations
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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 Common mistakes Narrow the fault
- Old devices forcing SMB1 to stay enabled.
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.
- SMB1 is obsolete and insecure.
- SMB 3.1.1 adds pre-authentication integrity.
- SMB uses TCP 445.
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
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.
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 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%