Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

UNC Paths · SMB

Direct answer

UNC paths for SMB follow \\server\share\path, where server is a name or IP address. Using the name allows Kerberos, while an IP address forces NTLM authentication.

When to use this

Use this when SMB UNC paths fail or authenticate wrongly.

First 30 seconds

1. Test-Path \\server\share.

2. Name resolution and 445.

3. Credentials of the running account.

4. Use FQDN for Kerberos.

5. DFS path → referrals.

Operational verification

\\server\share → DNS → SMB → auth → share

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using \\IP\share, which forces NTLM and may be blocked.
  • SMB signing required on one side and not supported on the other (old NAS devices).
  • Insecure guest access blocked on Windows 11 for NAS shares — configure real accounts on the NAS.
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
Key commandTest-NetConnection fs01 -Port 445
Scope / prerequisiteUse this when SMB UNC paths fail or authenticate wrongly.
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 Troubleshooting SMB paths Narrow the fault
Test-NetConnection fs01 -Port 445
Get-SmbConnection
Get-SmbMapping
klist                                     # Kerberos ticket for cifs/fs01?
net use \\fs01\data /user:EXAMPLE\alice

Documented example, not captured output. Access by IP falls back to NTLM; access via DNS alias needs an SPN for the alias (setspn -S cifs/alias fs01). Error 53 = name/network problem, 5 = access denied, 1326 = bad credentials.

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

ame uses Kerberos; \\IP uses NTLM.

  • Admin shares require admin rights.
  • A UNC path works without a mapped drive.
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
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

UNC path behaviour specific to SMB:

CaseResult
\\fs01.corp.example.com\shareKerberos (SPN cifs/fs01.corp…)
\\10.0.10.30\shareNTLM (no SPN for IPs, unless configured) — may be blocked where NTLM is disabled
\\files\share (DNS CNAME alias)Needs SPN for the alias (setspn -S cifs/files CORP\fs01$) and DisableStrictNameChecking/OptionalNames
DFS path \\corp.example.com\dfs\shareReferral to a target server

Prefer DFS namespaces over CNAMEs for share aliases.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

Test-NetConnection fs01 -Port 445
Get-SmbConnection
net use
klist                     # Kerberos ticket for cifs/fs01 present?
Resolve-DnsName fs01

If access works by IP but not by name (or vice versa), check SPNs and DNS — IP access uses NTLM.

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 → UNC Paths. 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?