大网数据广告活动
磁盘与文件系统

Set Target Priority to Override Referral Ordering

· 52CE 我爱测

This article describes how to set the target priority to override referral ordering

A referral is an ordered list of targets that a client computer receives from a domain controller or namespace server when the user accesses a namespace root or folder with targets in the namespace. Each target in a referral is ordered according to the ordering method for the namespace root or folder.

To refine how targets are ordered, you can set priority on individual targets. For example, you can specify that the target is first among all targets, last among all targets, or first or last among all targets of equal cost.

To set target priority on a root target for a domain-based namespace

To set target priority on a root target for a domain-based namespace, use the following procedure:

  1. Click Start, point to Administrative Tools, and then click DFS Management.

  2. In the console tree, under the Namespaces node, click the domain-based namespace for the root targets for which you want to set priority.

  3. In the Details pane, on the Namespace Servers tab, right-click the root target with the priority that you want to change, and then click Properties.

  4. On the Advanced tab, click Override referral ordering, and then click the priority you want.

    • First among all targets Specifies that users should always be referred to this target if the target is available.
    • Last among all targets Specifies that users should never be referred to this target unless all other targets are unavailable.
    • First among targets of equal cost Specifies that users should be referred to this target before other targets of equal cost (which usually means other targets in the same site).
    • Last among targets of equal cost Specifies that users should never be referred to this target if there are other targets of equal cost available (which usually means other targets in the same site).

To set target priority on a folder target

To set target priority on a folder target, use the following procedure:

  1. Click Start, point to Administrative Tools, and then click DFS Management.

  2. In the console tree, under the Namespaces node, click the folder of the targets for which you want to set priority.

  3. In the Details pane, on the Folder Targets tab, right-click the folder target with the priority that you want to change, and then click Properties .

  4. On the Advanced tab, click Override referral ordering and then click the priority that you want.

Note: To set target priorities by using Windows PowerShell, use the Set-DfsnRootTarget and Set-DfsnFolderTarget cmdlets with the ReferralPriorityClass and ReferralPriorityRank parameters. These cmdlets were introduced in Windows Server 2012.

Additional References

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 6/5/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。