0% found this document useful (0 votes)
11 views85 pages

Chapter 15 DFS

DFS Namespaces in Windows Server 2019 allows the grouping of shared folders from different servers into a structured namespace. The document outlines the installation and configuration process of the DFS role, including setting up a namespace and shared folders with specific permissions. It also provides a step-by-step guide for creating shared folders and testing access permissions within the DFS environment.

Uploaded by

Chis Lebro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views85 pages

Chapter 15 DFS

DFS Namespaces in Windows Server 2019 allows the grouping of shared folders from different servers into a structured namespace. The document outlines the installation and configuration process of the DFS role, including setting up a namespace and shared folders with specific permissions. It also provides a step-by-step guide for creating shared folders and testing access permissions within the DFS environment.

Uploaded by

Chis Lebro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 85

DFS

W I N S E R V E R 2 01 9
What is DFS?
DFS Namespaces is a role service in Windows Server that allows you to group
shared folders located on different servers into one or more logically structured
namespaces.

DFS allows you to configure shared folders hosted on different servers in one or
more logically structured namespaces.
Virtual Lab Setup:
•WS2K19-DC01: Active Directory Domain Controller with DNS.

•WS2K19-SRV02: Member Server for mylab.local domain.


This is my Domain Controller, which is mylab.local
Installing the DFS role:
Log in to your Windows Server 2019 and open the Server Manager console.
Click on Manage and select Add roles and features.
Click on Next on Before you begin console.
Choose Role-based or Feature-based installation and click Next.
Select your server on which you want to install the DFS server role. Click
on Next.
On select server role console, expand the File and Storage Services,
expand File and iSCSI Services and select DFS Namespaces from the list.
Click on Add Features when prompted to install the Management tools.
If you have not installed the File Server role, DFS will also install it as the File
Server role is one of the prerequisites for DFS Namespace. Click on Next.
On Select features console, click on Next to continue.
Click Install and wait for the installation process to complete.
Click on Close to close the console.
Configure DFS Namespace:
After installing the DFS role, our next step is to configure DFS namespace.
From the Server Manager console, select DFS Management from the Tools
menu.
Expand DFS Management, right-click on Namespaces and select New
Namespace:
Click on Browse.
Click on Advanced.
Click on Find Now.
Select the name of the server that will host the namespace. In our
case, WS2K19-SRV02 is going to host the DFS Namespace. Click on OK.
Click on Next.
Type the name for the new DFS Namespace (Store) then click on Edit
Settings.
You can change the path and shared folder permissions for the new
namespace. By default, all users have “read-only” permission. Click on OK.
Choose the Domain-based namespace and click on Next.
Review the settings and then click on Create.
Click on Close to close the namespace wizard.
In DFS Management console, right-click on the namespace we just created,
and choose Properties.
Copy the DFS NameSpace, and click OK
Open Run Dialog Box, and paste the DFS Namespace Path, Click OK.
Now open DFS Namespace with blank window,
In Domain Controller Create an OU TestOU, Under this OU create two user
testUser1, TestUser2 and one security group TestUsers. Assign All users in
this security group
For the testing purpose, I will create one shared folder with proper NTFS
permission on the local server WS2K19-SRV02. We will add that folder to the
Click Shares in Left Pane.
Click TASKS and choose New Share.
Select SMB Share-Quick and then Click Next
Click Type a custom path and Click Browse button
Select Drive where you want to create a folder such as E: and Click New
Folder option.
Type the Folder Name TestUserData and Click Select Folder.
Click Next button.
Click Next button with default setting.
Select Enable access-based enumeration check box and Click Next.
Click Customize Permissions… button.
Click Disable Inheritence button.
Click Convert inherited permission into explicit permission on this object
option.
Click Users in Principal column and click Remove button.
Click 2nd Users in Principal column and click Remove button.
Click add button.
Click Select a principal option.
Type group name TestUsers and click Check Names button.
Click Ok button.
Select This folder Only in Applies to list box.
Click Sow Advanced permission for advance permission
Select Create folder / append data check box for creating folder and file and
Click OK
Again Click OK.
Click Next.
Click Create button.
Click Close button.
Open E: drive and double click on TestUserData directory, Right Click on
detail window and choose New, finally click Text Document.
Type file name Sample file and press Enter Key.
Write some data in Sample file, save and close the file.
In DFS Management console, right-click on the namespace we just created,
and choose New Folder..
Type the name for the folder, and then click on Add to add folder targets.
Click on Browse to browse for folder targets.
You can add an existing shared folder, or create a new one, Select
TestUserData folder and Click OK button..
Click on OK.
Click on OK.
Let’s go to the network path (\\mylab.local\store). You should see the folder
we just added. Double Click on TestData Folder
You should see the Sample File, we just added. Double Click on Sample File
Folder
This is the same sample file that I created on the file server WS2K19-SRV02. Now DFS Practicle
is done.
If you want to add and share folder in DFS namespace, then follow the steps:
Right-Click on DFS Namespace and select New folder option
Give any name in Name text box and click Add button.
Click Browse button
Select Server in Server text box, Click New Shared Folder button
Click Browse button for creating a folder.
Select Drive such as e$ and click Make New Folder.
Type the folder name Share1 and click ok
Select Administrator have full access; other users have read and write
permission. Click Ok button
Click ok button.
Again Click ok button
Again Click ok button
Now TestShare1 added in DFS Namespace
Let’s go to the network path (\\mylab.local\store).
You should see the Newly created folder we just added. Double Click on
TestShare1 Folder
Create new folder to check permission

You might also like