Pcornel
Windows · SMB

UNC Paths

Cheat sheet · https://pcornel.dk/topic.php?topic=3115

Back to the Topic

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.

Remember

  • \

ame uses Kerberos; \\IP uses NTLM.

  • Admin shares require admin rights.
  • A UNC path works without a mapped drive.

First 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

Verify in this order

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

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3115

Confirmation

Confirm action

Continue?