How to set up DFS Namespaces in Windows Server 2019

In this guide, I will set up and configure DFS ( Distributed File System ) Namespaces in Windows Server 2019. DFS allows you to set up shared folders hosted on different servers into one or more logically structured namespaces. Each namespace appears to users as a single shared folder with a series of subfolders. This setup increases availability and automatically connects users to shared folders in the same Active Directory Domain Services site.

Installing the DFS Role:

Open server manager, click on Add roles and features.

The “Add roles and feature wizard will come up, click on the Next button.

Choose on Role-based or feature-based installation on the next screen:

Click on Next. Select your server in the next screen, and click on Next again:

Expand the File and Storage services and select DFS Namespaces from the list:

Click on Add Features when prompted to install the Management tools

Click on Next on the rest of the screen then click on Install

Configuring DFS:

After the DFS role has been installed, open the DFS Management console, and right-click Namespaces and choose New Namespace.

Type the name of the server that will host the namespace on the next screen.

Click on Next. Choose a name for your namespace in the following screen. this will be the name of your domain sharing path.

Click on Edit Settings.. to edit permissions on the share. By default, everyone only has “read” permissions. Click on Next. on the following screen choose the Namespace Type.

Choose the Domain-based namespace and click on Next. Review the settings and then click on Create.

Create DFS folders:

We will add folders to the DFS namespace now. from your DFS Management console, right-click the namespace we just created, and choose New Folder.

Type the path of the Shared folder you want to add to the Namespace.

Click on OK.

Let’s go to the network path again ( e.g phuong.local ) and you should see the folder we just added.


DFS Namespaces is a great feature in Windows server to organize your network shares. When using DFS namespaces it does not matter where the shared folders are located, they are all accessible from a single path. it makes it easier to move file servers around too without breaking the access paths.

0 0 vote
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
6 months ago

Your site is very cool, i have bookmarked it.

Would love your thoughts, please comment.x