Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB Client

Direct answer

The SMB client (LanmanWorkstation) connects Windows to file shares. Map drives with net use or New-SmbMapping and inspect connections and dialects with Get-SmbConnection.

When to use this

Use this when the Windows SMB client misbehaves.

First 30 seconds

1. Get-SmbConnection.

2. Mapped drives: Get-SmbMapping.

3. Client config: Get-SmbClientConfiguration (signing).

4. Events: Microsoft-Windows-SMBClient/Connectivity.

5. Clear cached creds: cmdkey /list.

Operational verification

client resolves name → 445 → auth → share

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 the Windows SMB client misbehaves.
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
  • Enabling insecure guest logons to reach an old NAS instead of configuring an account on it.
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
  • The SMB client runs as the LanmanWorkstation service.
  • Dialect is negotiated with each server.
  • Mapped drives are per user session.
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

What it is

The SMB client is the Workstation service (LanmanWorkstation). It maps drives, opens UNC paths, caches connections and negotiates signing and encryption with the server. Client-side settings decide whether signing is required and whether insecure guest logons are allowed (blocked by default in current Windows).

ReferenceImportant terms & boundaries2 sections · depth on demand

Settings

Get-SmbClientConfiguration | Select RequireSecuritySignature,EnableInsecureGuestLogons
Get-SmbMapping
New-SmbMapping -LocalPath S: -RemotePath \\fs01\share -Persistent $true

Documented example, not captured output.

In depth

Windows SMB client (LanmanWorkstation) settings and mappings:

Get-SmbClientConfiguration | Select RequireSecuritySignature,EnableInsecureGuestLogons,EnableMultiChannel
New-SmbMapping -LocalPath P: -RemotePath \\fs01\projects -Persistent $true
Get-SmbMapping; Remove-SmbMapping -LocalPath P: -Force
net use * /delete /y

Insecure guest logons (unauthenticated access to NAS shares) are disabled by default on Windows 10/11 Enterprise and Windows 11 24H2 Pro — fix the NAS to require authentication rather than re-enabling guest access.

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 Client. 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?