Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB Shares · SMB

Direct answer

SMB shares are folders a Windows machine publishes over SMB, listed with Get-SmbShare or net share. Each has share permissions, caching and encryption settings, on top of NTFS permissions.

When to use this

Use this when listing or managing SMB shares.

First 30 seconds

1. Get-SmbShare -Name <share> | fl *.

2. Share permissions: Get-SmbShareAccess.

3. NTFS on the path: icacls.

4. Create: New-SmbShare -Name x -Path D:\x -ChangeAccess 'DOMAIN\Group'.

5. Access-based enumeration if needed.

Operational verification

share → path → share permissions → NTFS permissions

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 listing or managing SMB shares.
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
  • Share permission Everyone Full with no NTFS restrictions.
  • Hidden $ shares mistaken for security.
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
  • Access is the combination of share and NTFS permissions.
  • Shares ending in $ are hidden.
  • Encryption can be set per share.
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

An SMB share publishes a folder over the network under a share name. Each share has share-level permissions (Read/Change/Full Control), while the folder underneath keeps its NTFS permissions; the effective access is the most restrictive of the two. Options such as access-based enumeration, caching (offline files) and encryption are set per share.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Creating and managing SMB shares:

New-SmbShare -Name Projects -Path D:\Shares\Projects -FullAccess 'CORP\FS-Admins' -ChangeAccess 'CORP\Projects-RW' -ReadAccess 'CORP\Projects-RO' -FolderEnumerationMode AccessBased -CachingMode None
Get-SmbShare | ft Name,Path,FolderEnumerationMode,CachingMode,EncryptData,CurrentUsers
Set-SmbShare -Name Projects -EncryptData $true
Remove-SmbShare -Name OldShare -Force

Caching mode None disables Offline Files for that share; Documents (default manual) allows users to make files available offline.

Commands

Get-SmbShare
New-SmbShare -Name Finance -Path D:\Shares\Finance -FullAccess 'CORP\Domain Admins' -ChangeAccess 'CORP\Finance'
Get-SmbShareAccess -Name Finance
Set-SmbShare -Name Finance -FolderEnumerationMode AccessBased

Documented example, not captured output.

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