Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
DFS (Distributed File System) Namespaces is a role service in Windows Server that enables you to group shared folders located on different servers into one or more logically structured namespaces. This makes it possible to give users a virtual view of shared folders, where a single path leads to files located on multiple servers, as shown in the following figure:
Here's a description of the elements that make up a DFS namespace:
This article discusses how to install DFS, what's new, and where to find evaluation and deployment information.
You can administer namespaces by using DFS Management, the DFS Namespace (DFSN) Cmdlets in Windows PowerShell, the DfsUtil command, or scripts that call WMI.
There are no additional hardware or software requirements for running DFS Management or using DFS Namespaces.
A namespace server is a domain controller or member server that hosts a namespace. The number of namespaces you can host on a server is determined by the operating system running on the namespace server.
Servers that are running the following operating systems can host multiple domain-based namespaces in addition to a single stand-alone namespace.
Servers that are running the following operating systems can host a single stand-alone namespace:
The following table describes additional factors to consider when choosing servers to host a namespace.
Server Hosting Stand-Alone Namespaces | Server Hosting Domain-Based Namespaces |
---|---|
Must contain an NTFS volume to host the namespace. | Must contain an NTFS volume to host the namespace. |
Can be a member server or domain controller. | Must be a member server or domain controller in the domain in which the namespace is configured. (This requirement applies to every namespace server that hosts a given domain-based namespace.) |
Can be hosted by a failover cluster to increase the availability of the namespace. | The namespace cannot be a clustered resource in a failover cluster. However, you can locate the namespace on a server that also functions as a node in a failover cluster if you configure the namespace to use only local resources on that server. |
DFS Namespaces and DFS Replication are a part of the File and Storage Services role. The management tools for DFS (DFS Management, the DFS Namespaces module for Windows PowerShell, and command-line tools) are installed separately as part of the Remote Server Administration Tools.
Install DFS Namespaces by using Windows Admin Center, Server Manager, or PowerShell, as described in the next sections.
Open Server Manager, click Manage, and then click Add Roles and Features. The Add Roles and Features Wizard appears.
On the Server Selection page, select the server or virtual hard disk (VHD) of an offline virtual machine on which you want to install DFS.
Select the role services and features that you want to install.
To install the DFS Namespaces service, on the Server Roles page, select DFS Namespaces.
To install only the DFS Management Tools, on the Features page, expand Remote Server Administration Tools, Role Administration Tools, expand File Services Tools, and then select DFS Management Tools.
DFS Management Tools installs the DFS Management snap-in, the DFS Namespaces module for Windows PowerShell, and command-line tools, but it does not install any DFS services on the server.
Open a Windows PowerShell session with elevated user rights, and then type the following command, where <name> is the role service or feature that you want to install (see the following table for a list of relevant role service or feature names):
Install-WindowsFeature <name>
Role service or feature | Name |
---|---|
DFS Namespaces | FS-DFS-Namespace |
DFS Management Tools | RSAT-DFS-Mgmt-Con |
For example, to install the Distributed File System Tools portion of the Remote Server Administration Tools feature, type:
Install-WindowsFeature "RSAT-DFS-Mgmt-Con"
To install the Distributed File System Tools portion for a client device, type:
Add-WindowsCapability -Name Rsat.FileServices.Tools~~~~0.0.1.0 -Online
To install the DFS Namespaces, and the Distributed File System Tools portions of the Remote Server Administration Tools feature, type:
Install-WindowsFeature "FS-DFS-Namespace", "RSAT-DFS-Mgmt-Con"
Using DFS Namespaces on a virtual machine in Microsoft Azure has been tested.
To learn about how to get started with Azure virtual machines, see Azure virtual machines documentation.
For additional related information, see the following resources.
Content type | References |
---|---|
Product evaluation | What's New in DFS Namespaces and DFS Replication in Windows Server |
Deployment | DFS Namespace Scalability Considerations |
Operations | DFS Namespaces: Frequently Asked Questions |
Community resources | The File Services and Storage TechNet Forum |
Protocols | File Services Protocols in Windows Server (Deprecated) |
Related technologies | Failover Clustering |
Support | Windows IT Pro Support |
Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowTraining
Module
Implement a hybrid file server infrastructure - Training
Implement a hybrid file server infrastructure using Azure Files and Azure File Sync, and migrate SMB file servers to Azure.
Certification
Microsoft Certified: Windows Server Hybrid Administrator Associate - Certifications
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.