Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Folder Targets

Direct answer

Folder targets are the actual UNC shares a DFS namespace folder points to. A folder can have several targets on different servers, with referral ordering sending clients to the closest one.

When to use this

Use this when configuring which shares a DFS folder points to.

First 30 seconds

1. Get-DfsnFolderTarget -Path <path> — State Online.

2. Referral priority/ordering.

3. Target share reachable.

4. Disable target for maintenance.

5. Test path.

Operational verification

folder → targets → referral

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Multiple writable targets without DFS Replication — users see different data.
  • DFS Replication across targets used for files that are edited simultaneously.
  • Target priority not set, sending users to a remote site.
Platform / version applicability
Windows storage and file 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 storage and file services
Scope / prerequisiteUse this when configuring which shares a DFS folder points to.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • Clients get targets ordered by site cost.
  • All targets of a folder should have the same content.
Key checks
  • Get-DfsnRoot — namespaces
  • Get-DfsnFolderTarget -Path <path> — folder targets and state
  • Get-DfsrBacklog -GroupName <g> -FolderName <f> -SourceComputerName <a> -DestinationComputerName <b> — DFSR backlog
  • dfsrdiag replicationstate — replication state
  • dfsutil /pktinfo — client referral cache
ReferenceWhy it matters1 section · depth on demand

Multiple targets

A folder can have several targets (for example a share at each site). Clients get them ordered by site cost; with target priority you can force a primary target. Several active targets are only safe when the data is replicated and users do not edit the same files at different sites.

dfsutil client property state (or the DFS tab on a folder in Explorer) shows which target a client is using.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Folder targets are the actual shares behind a namespace folder. With multiple targets, clients pick by site, with failback options.

Set-DfsnFolderTarget -Path \\corp.example.com\files\Projects -TargetPath \\fs02\Projects -State Offline   # take out of referrals
Set-DfsnFolderTarget -Path \\corp.example.com\files\Projects -TargetPath \\fs01\Projects -ReferralPriorityClass GlobalHigh
Set-DfsnFolder -Path \\corp.example.com\files\Projects -EnableTargetFailback $true

Multiple active targets require data replication between them (DFSR or other) and careful handling of simultaneous edits — DFSR has no file locking across servers, so the last writer wins.

Referral ordering

Clients receive targets in the same site first, then others ordered by site cost (if enabled). Set a target priority to force first among all or last among all. Clients cache referrals for 300 seconds (folder) by default; failback to a preferred target must be enabled if wanted.

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 storage and file services current

Authoritative/upstream documentation reviewed for bounded claims in DFS → Folder Targets. 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%
Confirmation

Confirm action

Continue?