Use this when users need one path to shares on many servers.
DFS Namespaces
DFS Namespaces create a virtual folder tree like \\corp.local\files whose folders point to shares on different servers. Users keep one path while shares move or get extra targets behind it.
1. Get-DfsnRoot — domain-based?
2. Namespace servers healthy.
3. Folder targets and priorities.
4. Site costing for referrals.
5. Client: dfsutil /pktinfo.
\\domain\namespace → namespace server → referral → target
Context & applicabilityCommon mistakes · platform/version boundaries
- Standalone namespace when domain-based is needed for redundancy.
- Only one namespace server.
- Mapping drives to
\\server\shareinstead of the namespace path. - Not enabling Windows Server 2008 mode (DomainV2) for ABE and scale.
Operational reference
Fast context before you go deeper.
Get-DfsnRoot -Domain corp.localVerification & 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 Checks Verify boundary
Get-DfsnRoot -Domain corp.local
Get-DfsnFolder -Path \\corp.local\files\*
Get-DfsnFolderTarget -Path \\corp.local\files\Sales
Clients: dfsutil /pktinfo shows cached referrals and which target is active.
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.
- Clients cache referrals, so changes may take time to show.
Get-DfsnRoot— namespacesGet-DfsnFolderTarget -Path <path>— folder targets and stateGet-DfsrBacklog -GroupName <g> -FolderName <f> -SourceComputerName <a> -DestinationComputerName <b>— DFSR backlogdfsrdiag replicationstate— replication statedfsutil /pktinfo— client referral cache
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Domain-based DFS namespaces store configuration in AD and are reachable via the domain name, surviving the loss of individual namespace servers.
Install-WindowsFeature FS-DFS-Namespace -IncludeManagementTools
New-DfsnRoot -Path \\corp.example.com\files -TargetPath \\fs01\files -Type DomainV2 -EnableAccessBasedEnumeration $true
New-DfsnFolder -Path \\corp.example.com\files\Projects -TargetPath \\fs01\Projects
New-DfsnFolderTarget -Path \\corp.example.com\files\Projects -TargetPath \\fs02\Projects
Get-DfsnFolderTarget -Path \\corp.example.com\files\Projects
dfsutil cache referral flush # client: refresh referrals
Namespaces let you migrate file servers by changing targets without touching user drive mappings.
ReferenceConfiguration & state1 section · depth on demand
Configuration
New-DfsnRoot -Path \\corp.local\files -TargetPath \\fs01\files -Type DomainV2
New-DfsnFolder -Path \\corp.local\files\Sales -TargetPath \\fs02\Sales
Get-DfsnFolderTarget -Path \\corp.local\files\Sales
Documented example, not captured output. Use domain-based (DomainV2) namespaces so they survive server replacement and can have several namespace servers. Clients cache referrals (300 s for roots, 1800 s for folders by default).
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 DFS → DFS Namespaces. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/dfs-namespaces/dfs-overview · confidence 94%