Implementing DFS (Distributed File System)

Jefferd Facundo

April 3, 2021

In this lesson, you will learn how to implement DFS to your Windows Server 2016 for your branch office locations.

Step 1. Open Server Manager

Open the Server Manager by clicking the Windows button and clicking the Server Manager or by searching it on the list of programs.

Step 2. Add the DFS role

  1. Click on Manage from the top right-hand corner, and then click Add Roles and Features.
Add Roles

2. In the Add Roles and Features Wizard, click Next

Add Roles Features

3. Choose Role-based or feature-based installation on the Select installation type, then click Next.

4. On the Select destination server page, you will see the name of the server you have previously configured selected, click Next.

5. On the Select server roles page, expand the File and Storage Services (installed), do the same thing for File and iSCSI Services, and then select the DFS Namespaces checkbox.

Select Server Roles

6. From the Add Roles and Features pop-up window, click Add Features.

7. On the Select features page, click Next.

8. On the Confirm installation selections page, click Install. Once the installation is complete, hit the Close button.

Installing Dfs Role

Step 3. Configuring your DFS Namespace.

  1. Go back to the Server Manager, click Tools, and then go to DFS Management
Managing Dfs

2. On the DFS Management window, from the navigation pane, click Namespaces.

Namespace Window

3. Right-click Namespaces, and then click the New Namespace.

4. From New Namespace Wizard, on the Namespace Server page, under Server, type the name of your server (on this example, it is SA-JF-WSRV-01), and then click Next.

Namespace Server Window

5. On the Namespace Name and Settings page, under Name, type the name of the namespace you want to set it to (for our example, mine is DevOps) and then click Edit Settings.

Namespace Settings

6. Type C:\<namespace> (for this example, C:\DevOps) under Local path of shared folder and choose All users have read and write permissions and click OK. (The Drive C here is the example of where actually your target folder is located on your server. This will only be visible to you as the server administrator. Using the namespace will hide this local path to your users.)

Namespace Permission Setting

7. On Namespace Name and Settings window, click Next.

8. On the Namespace Type page, make sure that Domain-based namespace is selected. Please also note that the namespace will be accessed by \\<yourcreateddomain>\DevOps (For this example it will be \\jfrdc-lab.com\DevOps)

Namespace Type Window

9. Ensure that the Enable Windows Server 2008 mode check box is selected, and then click Next.

10. On the Review Settings and Create Namespace page, click Create.

11. You will see the confirmation “You have successfully completed the New Namespace Wizard”, click the Close button.

Step 4. Verify DFS functionality for your server. Create sample file.

  1. Go to the File Explorer. (Press Windows logo + “E” or simply click the File Explorer icon on the taskbar)
  2. On the address bar of your file explorer, type the namespace you have created and hit enter. (For this example, it is \\jfrdc-lab.com\DevOps)
File Explorer 1

3. Verify that you can access the target folder of your namespace.

File Explorer 2

4. Create a sample text file by doing a right click inside the target folder.

File Explorer 3

5. Name your file as “Sample Text File“.

6. To verify that the file also exists on your local drive, navigate to where you saved your target folder. On this example it is C:\DevOps

7. You should be able to see the text file you have created.

File Explorer 4

Next process is to create target folder on your created namespace. To learn about adding target folder, click here.

Blogpostctadesktop

Sign up free and start learning today!

Practice on REAL servers, learn from our video lessons, interact with the Server Academy community!

More from our blog

How to Become a Hacker

By Paul Hill | October 15, 2022

Becoming a hacker can be an exciting and rewarding six-figure job. Any product that uses digital technology is a potential target to be hacked – that means not just computers and phones but also your car, thermostats, garage door openers, smart coffee machines, and any other smart home device. That is why ethical/white hat hackers…

System Administrator Salary in 2022

By Ricardo P | August 27, 2022

Before deciding to become a System Administrator full-time, you might ask yourself, what is the system administrator salary and what can you expect? And, it is reasonable to research if becoming a System Administrator full-time will be a lucrative career. But the answer is that it all depends on your education, certifications, skills, location, and…

How to Easily Automate Tasks with PowerShell

By Ricardo P | July 1, 2022

You might know PowerShell as the improved command prompt version of Microsoft Windows, but PowerShell is more than that. It is also a scripting language that can be used for automation, and in this article we’ll show you how to automate tasks with PowerShell.

Assign License to a User using Licensing Group

By Jefferd Facundo | March 13, 2022

In this lesson, we will go through the steps on how to add user(s) to a licensing group in your Microsoft 365 tenant. Step 1: Access Microsoft Admin Center to manage the user’s license. On your browser, login to Microsoft 365 Admin Portal via https://portal.office.com On the Sign in page, enter your Global Admin username in an email…

Running Message Trace in Exchange Admin Center

By Jefferd Facundo | February 5, 2022

In this tutorial, you will learn how to run a message trace using Exchange Admin Center to track any messages that was not delivered correctly or simply getting the status of the message sent or supposed to be received by the user(s). Step 1. Log in to Exchange Admin Center for Exchange Online. On your…

How to Create a Licensing Group in Microsoft 365 Tenant

By Jefferd Facundo | February 4, 2022

In this lesson, we will go through the steps on how to Create a Licensing Group in your Microsoft 365 tenant. Step 1: Access Azure Active Directory On your browser, login to Microsoft 365 Admin Portal via https://portal.office.com On the Sign in page, enter your Global Admin username in an email format and then enter your password on…

Windows Cyber Security – STIGs for Beginners

By Paul Hill | February 1, 2022

This tutorial will show you how you can get started learning the technical side of Cyber Security for Windows environments. This tutorial is going to show you how to use STIGs (Security Technical Implementation Guides) to identify low, medium and high vulnerabilities and patch them in your Windows Environments. What is a STIG? A STIG…

Creating Mail Flow Rules

By Jefferd Facundo | January 19, 2022

In the lesson you will access the Exchange Admin Center for Exchange Online and create a mail flow rule that checks for sensitive information in emails sent from inside your organization. Step 1. Log in to Exchange Admin Center for Exchange Online. On your browser, login to Microsoft 365 Admin Portal via https://admin.microsoft.com On the…

How to run SQL Commands from PowerShell

By Paul Hill | July 23, 2021

If you want to run SQL commands from your PowerShell terminal you can do so by simply installing the SQLServer module with the command below: You will be prompted to install from an untrusted source. Type “A” to accept and install the module. Once it is complete you can see all the new commands you…

Adding Multiple Cloud Users to Microsoft 365 tenant.

By Jefferd Facundo | July 18, 2021

In this lesson, you will learn how to import multiple cloud users to your Microsoft 365 tenant. If you want to learn about getting started with Microsoft 365, click here. Step 1. Create your users’ information into CSV file using the given template in your tenant. On your browser, login to Microsoft 365 Admin Portal…