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

Migrate a Domain-based Namespace to Windows Server 2008 Mode

· 52CE 我爱测

This article describes how to migrate a domain-based namespace to Windows Server 2008 mode

The Windows Server 2008 mode for domain-based namespaces includes support for access-based enumeration and increased scalability.

To migrate a domain-based namespace to Windows Server 2008 mode

To migrate a domain-based namespace from Windows 2000 Server mode to Windows Server 2008 mode, you must export the namespace to a file, delete the namespace, re-create it in Windows Server 2008 mode, and then import the namespace settings. To do so, use the following procedure:

  1. Open a Command Prompt window and type the following command to export the namespace to a file, where \\domain\namespace is the name of the appropriate domain, and namespace and path\filename is the path and file name of the file for export:

    Dfsutil root export \\domain\namespace path\filename.xml
    
  2. Write down the path ( \\server \share ) for each namespace server. You must manually add namespace servers to the re-created namespace because Dfsutil cannot import namespace servers.

  3. In DFS Management, right-click the namespace and then click Delete, or type the following command at a command prompt, where \\domain\namespace is the name of the appropriate domain and namespace:

    Dfsutil root remove \\domain\namespace
    
  4. In DFS Management, re-create the namespace with the same name, but use the Windows Server 2008 mode, or type the following command at a command prompt, where \\server\namespace is the name of the appropriate server and share for the namespace root:

    Dfsutil root adddom \\server\namespace v2
    
  5. To import the namespace from the export file, type the following command at a command prompt, where \\domain\namespace is the name of the appropriate domain and namespace and path\filename is the path and file name of the file to import:

    Dfsutil root import merge path\filename.xml \\domain\namespace
    

    [!NOTE] To minimize the time required to import a large namespace, run the Dfsutil root import command locally on a namespace server.

  6. Add any remaining namespace servers to the re-created namespace by right-clicking the namespace in DFS Management and then clicking Add Namespace Server, or by typing the following command at a command prompt, where \\server\share is the name of the appropriate server and share for the namespace root:

    Dfsutil target add \\server\share
    

    [!NOTE] You can add namespace servers before importing the namespace, but doing so causes the namespace servers to incrementally download the metadata for the namespace instead of immediately downloading the entire namespace after being added as a namespace server.

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)

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

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