Windows Server 2019: Install and configure DFS (Part 1)

Windows Server 2019: Install and configure DFS (Part 1)
/* ====================================
Metadata:

// Windows Server 2019 Domain Controller
Host Name: Win2K19-DC01
Role: AD DS, DNS
IP Address: 192.168.0.201
RAM: 4GB
Domain: VICTORINFOSOL.LOCAL

// Windows Server 2019 DFS Server

Host Name: Win2K19-DFS01
Role: DFS
IP Address: 192.168.0.202
RAM: 8GB
Domain: VICTORINFOSOL.LOCAL

// Windows 10 PC

Host Name: Win10-CL01
IP Address: 192.168.0.151
RAM: 4GB

==================================== */

1) [Win2K19-DFS01] > Server Manager > Local Server - Ethernet0 > Properties - IPv4:-

IP Address: 192.168.0.202 
Subnet Mask: 255.255.255.0 
Default Gateway: 192.168.0.1

Preferred DNS Server: 192.168.0.201
Alternate DNS Server: 192.168.0.1    // Router Gateway

2) [Win2K19-DFS01] > Server Manager > Local Server - Computer Name:- Change - Computer Name: Win2K19-DFS01 | Member of Domain: VICTORINFOSOL.LOCAL > Windows Security - Computer Name/Domain Changes - Administrator | ******** // Password > OK > Reboot

// Create new DFSAdmin account to manage DFS server

3) [Win2K19-DC01] > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - INDIA - Users - Admins > Name: DFSAdmin | Type: User  // Create DFSAdmin user >

// Move Win2K19-DFS01 to VICTORINFOSOL.LOCAL-INDIA-Servers (for easier management)

4) [Win2K19-DC01] > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - Computers > Move:- Name: Win2K19-DFS01 | Type: Computer | To:- [Win2K19-DC01] > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - INDIA - Servers > Name: Win2K19-DFS01 | Type: Computer >

// Install DFS services on Win2k19-DFS01 Windows Server 2019

5) [Win2K19-DFS01] > Login using DFSAdmin account/password (// under Other User instead of Adminstrator) >  This PC - DFS (D:) // contains an empty Folder named:- Public >

5) ii) [Win2K19-DFS01] > Server Manager > Manage > Add Roles and Features > Server Roles - (x) File and Storage Services - (x) File and iSCSI Services - (x) File Server | (x) DFS Namespaces (Add Features) | (x) DFS Replication // this is only needed if you intend to do DFS replication > Install > Close >

// Create Namespace (local path) Shared Folder:- C:\DFSRoot\INDIA-HO

6)  [Win2K19-DFS01] > Server Manager > Tools > DFS Management > DFS Management - (right-click) Namespaces > New Namespace > Namespace Server:- Server: win2k19-dfs01 >Next > Namespace Name and settings:- Name: INDIA-HO > Namespace Type:- (x) Domain-based namespace | Preview of domain-based namespace: \\VICTORINFOSOL.LOCAL\INDIA-HO > Next > Create > Close

// Try opening \\VICTORINFOSOL.LOCAL\INDIA-HO  from DFS server

6) i) [Win2K19-DFS01] > RUN > \\VICTORINFOSOL.LOCAL\INDIA-HO > Network - VICTORINFOSOL.LOCAL - india-ho

// Try opening \\VICTORINFOSOL.LOCAL\INDIA-HO  from Windows 10 Client PC

6) ii) [Win10-CL01] > RUN > \\VICTORINFOSOL.LOCAL\INDIA-HO > Network - VICTORINFOSOL.LOCAL - india-ho

// Make DFS folders accessible 

7) [Win2K19-DFS01] > Server Manager > Tools > DFS Management > DFS Management - Namespaces - (right-click) VICTORINFOSOL.LOCAL\INDIA-HO > New Folder > New Folder - Add > Add Folder Target - Path to folder target:- > Browse > Browse for shared folder - New Shared Folder >  Create Share - Server name: Win2K19-DFS01 | local path of shared folder: d:\Public | Shared name: Public | Shared Folder Permissions:- (x) All users have read and write permissions > OK > Add Folder Target - Path to folder target:- \\Win2K19-DFS01\Public > New Folder:- Name: Public | Preview of namespace:  \\VICTORINFOSOL.LOCAL\INDIA-HO\Public > OK >

7) i) [Win2K19-DFS01] > Server Manager > Tools > DFS Management > DFS Management - Namespaces - \\VICTORINFOSOL.LOCAL\INDIA-HO - Public > Public:- Referral Status: Enabled | Site: INDIA | Path: \\WIN2K19-DFS01\Public > 

// Map DFS drive/folder to Drive: Z (on Windows 10 Client)

8) [Win10-CL01] > RUN > \\VICTORINFOSOL.LOCAL\INDIA-HO\Public > (right-click) This PC > Map network drive > Map network drive:- Drive: Z: | Folder:  \\VICTORINFOSOL.LOCAL\INDIA-HO\Public > Finish >






Comments