1.
Introduction
Server is a hardware or software that supports clients (other devices or
programs).
Server runs 24/7 to manage, store, send, and process data.
Server is more reliable than desktop.
Server uses client-server model.
Server offers advanced features not in regular desktops.
2. Windows Server Family (Versions & Years)
Windows NT 3.1 Advanced Server – 1993
Windows NT 3.5 Server – 1994
Windows NT 3.51 Server – 1995
Windows NT 4.0 Server – 1996
Windows 2000 Server – 2000
Windows Server 2003 – 2003
Windows Server 2003 R2 – 2006
Windows Server 2008 – 2008
Windows Server 2008 R2 – 2009
Windows Server 2012 – 2012
Windows Server 2012 R2 – 2013
Windows Server 2016 – 2016
Semi-annual and Long-Term Servicing Channel – 2017
Windows Server 2019 – 2018
Windows Server 2022 – 2021
3. Advantages of Windows Server 2019
Centralization – Access, resources, and security controlled through server.
User-Friendly – Faster and easy to use.
Scalability – Upgrades possible anytime.
Flexibility – New technology can be added easily.
Interoperability – Clients, network, and server work together through Internet.
Accessibility – Server can be accessed remotely and on many platforms.
4. Interoperability
All components use Internet to work together.
Clients (like mobile, laptop, PC) and server connect through Internet.
Different Editions – Windows Server 2019
Edition Key Features
Essentia 25 Users, 50 Devices, 2 Cores, 64GB RAM, Azure AD, Only
ls Domain Controller
Standar Physical Server, Little/No Virtualization, 64 Sockets, 4TB RAM,
d Nano Server, 2 VMs
Datacent Highly Virtualized, 64 Sockets, 640 Cores, 4TB RAM, Unlimited
er VMs, Shielded VMs, Storage Replica, Software Defined
DataCenter
Hyper-V Standalone Virtualization, 64 Sockets, 4TB RAM, No GUI,
Remotely Managed, Domain Join
6. Hardware Requirements
● Processor – 1.4 GHz, 64-bit, x64 supported
● RAM – Minimum 512 MB (2 GB for GUI), 32 GB recommended
● Storage – At least 32 GB
● Network Adapter – 1 Gbps speed, PCI Express support
Types of Servers
1. File Server
● Shares storage for files like text, image, audio, and video.
● Other systems can access files using a computer network.
2. Print Server
● Connects printers to client systems using network.
● Accepts print jobs and sends them to printers.
● Manages print queue when jobs come faster than printer speed.
3. Application Server
● Works between operating system, databases, internet services, and
user applications.
● Acts as middleware to support modern platforms.
4. Web Server
● Uses HTTP to respond to client requests on internet.
● Stores, processes, and delivers web pages to users.
5. Database Server
● Hardware that runs database software.
● Stores, manages, updates, and retrieves digital data.
● Supports back-end processes and client services.
6. Virtual Server
● Located in cloud or offsite data center.
● Shares hardware and software with other virtual servers.
● Controlled by admins to use host system's power fully.
7. Proxy Server
● Acts as gateway between user and internet.
● Blocks cyber attackers from entering private network.
● Works as an "intermediary" between user and website.
8. Monitoring and Management Server
● Maintains uptime, high performance, and no errors.
● Creates standby server for availability.
● Tracks CPU, memory, disk, input/output, and network usage.
Abbreviations – Windows Server 2019
● ADDS – Active Directory Domain Services
● S2D – Storage Spaces Direct
● NIC – Network Interface Card
● SMIG – Server Migration
● FSMO – Flexible Single Master Of Operations
● WSUS – Windows Server Update Services
● OUs – Organizational Unit
● DHCP – Dynamic Host Configuration Protocol
● DNS – Domain Name System
● FSRM – File Server Resource Manager
● DFS – Distributed File System
● EFS – Encrypting File System
● GPO – Group Policy Objects
SMB (Server Message Block)
● SMB is a protocol for client-server communication.
● Client sends SMB request, server gives SMB response.
● Used to share files, printers, and ports over a network.
● Supports file, printer, and message operations.
● SMB Encryption can be enabled for security.
Client and Server Sessions (Diagram Explanation)
● Each client has a separate Client Session.
● Server maintains multiple client sessions.
● All client sessions connect to a common Server Session.
● Used for communication and management in networks.
Hybrid Capabilities (Windows Server 2016 vs 2019)
Feature 201 201
6 9
Hybrid cloud option (on-prem + cloud) No Yes
Storage Migration Service No Yes
Expect Breach (threat detection) No Yes
Windows Defender ATP No Yes
Shielded VMs for Linux and Windows No Yes
Server
Extended VMConnect support No Yes
Linux VM support No Yes
Active Directory cluster hardening No Yes
removed
Windows Subsystem for Linux No Yes
Kubernetes support No Yes
Cluster-wide monitoring No Yes
Kernel soft reboot No Yes
Leap second support No Yes
Windows Server 2019 Key Features
1. Deduplication for ReFS Volumes
● Removes duplicate data from ReFS volumes.
● Saves space and lowers storage cost.
● Enabled through right-click → configure deduplication.
2. Storage Class Memory (SCM)
● Combines DRAM, flash, and power backup.
● Uses Intel Optane DDR4.
● Memory behaves like RAM and permanent storage.
● Data stays safe even after power off.
3. Cluster Sets
● Group of multiple failover clusters.
● Allows VM migration across clusters.
● Supports large number of server nodes.
● Used in Software Defined Data Center (SDDC).
4. Storage Migration Service
● Moves data from old to new storage.
● Transfers data to Windows Server or Azure.
● Works for Linux and old Windows versions.
● Supports physical, virtual, and cloud migration.
5. System Insights
● Uses local analytics for system prediction.
● Warns about storage, CPU, memory issues.
● Works using performance data and machine learning.
● Helps avoid future failures and reduce cost.
6. Storage Replica
● Replicates data across servers or clusters.
● Used for disaster recovery.
● Creates failover clusters across locations.
● Guarantees zero data loss before and after disaster.
7. Windows Defender Advanced Threat Protection (ATP)
● Protects against cyber attacks.
● Features include detection, investigation, and automatic response.
● Works with Microsoft Defender Antivirus.
● Helps post-breach protection.
8. Self-Healing NTFS
● Fixes file system problems automatically.
● Works without taking disk offline.
● Avoids need to run manual repair (chkdsk).
9. Hot Swappable Components
● Allows hardware changes without shutdown.
● Works with servers (CPU, RAM, PCIe, SATA).
● Common in USB, SIM card, server hardware.
● Example: removing USB without ejecting.
10. Parallel Session Creation
● Allows 2 remote desktop sessions for admins.
● Parallels RAS gives remote access to apps and desktops.
● Supports Azure, VDI, and hybrid cloud.
● Works on any device and platform.
Virtualization – Quick Notes
1. What is Virtualization?
● Creates virtual version of hardware, storage, network, etc.
● Hides real hardware from users.
● Can virtualize servers, storage, OS, networks, and apps.
2. Why Virtualization?
● No need for physical hardware per server
● Saves cost and power
● Reduces downtime
● Avoids system crash
● Lowers infrastructure usage
● Increases resource use
3. Virtual Infrastructure
● Runs many workloads on one server
● Uses virtual machines (VMs) instead of physical machines
● Reduces hardware usage
4. How Virtualization Works?
● Uses hypervisor software
● Hypervisor copies hardware like CPU, memory, network
● Guest OS talks to hypervisor, not real hardware
5. Virtual Machine (VM) Overview
● VM acts like a real computer
● VM has:
○ Operating system
○ Application
○ Virtual CPU, memory
○ Network adapter
○ Disk controller
○ Ports (parallel, serial)
6. VM Benefits
● Hardware Independence – Same virtual hardware for all VMs
● Isolation – VM OS is separate from host OS
● Encapsulation – Full VM saved in one file
7. Types of Virtualization
1) Server Virtualization
● Hides physical servers and OS from users
● Shares server hardware efficiently
2) Storage Virtualization
● Combines storage from many devices
● Shows as one storage unit
● Managed from central point
3) Network Virtualization
● Splits network into separate channels
● Channels can be assigned to devices in real time
4) Desktop Virtualization
● Runs desktop OS remotely
● User connects with thin client
● Desktop is personalized and mobile
5) Application Virtualization
● Runs app without installing on OS
● App runs in isolated form
● Does not depend on base OS
Hypervisor – Quick Notes
1. What is Hypervisor?
● Software used to run one or more virtual machines (VMs).
● VM is a digital copy of a physical machine.
● Hypervisor gives hardware access to VMs.
● Handles communication between hardware and VMs.
2. Hypervisor Model (Diagram Summary)
● Hypervisor runs on Host Server.
● Above hypervisor:
○ Virtual Machines (VMs)
○ Networking
○ Storage
○ Management, Security, Monitoring (Dom0)
3. Types of Hypervisors
Type 1 Hypervisor
● Also called Bare Metal Hypervisor
● Runs directly on hardware (no OS in between)
● Best for data centers, servers, cloud environments
● Examples: VMware ESXi, Microsoft Hyper-V, KVM
Type 2 Hypervisor
● Also called Hosted Hypervisor
● Installed on top of host OS
● Best for desktop, learning, and development
● Examples: VirtualBox, VMware Workstation, Microsoft Virtual PC
4. When to Use?
Feature Type 1 Hypervisor Type 2 Hypervisor
Other Name Bare metal hypervisor Hosted hypervisor
Runs On Physical hardware Host operating system
Use Case Enterprise, Cloud, Data Desktop, Testing,
Center Development
Dedicated Yes No
Resources
Knowledge Level System administrator Basic user
Examples ESXi, Hyper-V, KVM VirtualBox, VMware
Workstation
Installation & Configuration – Windows Server 2019
1. Basic Setup Steps
● Prepare network details before starting
● Install server (if OS already installed, connect and configure)
● Configure server settings
● Complete setup
2. Install Windows Server 2019 on Physical Machine
● Connect keyboard, mouse, monitor, and other parts
● Power on system
● Press F2 to open System Setup
● Go to System BIOS → Boot Settings
3. Installation Types
● Clean Installation – Fresh install
● Network Installation (WDS) – From network
● Unattended Installation – No manual steps
● In-place Upgrade – Update from old version
● Migration – Move server data to new server
4. Install Windows Server 2019 on VM (ISO Image)
Step-by-Step Guide:
1. Open Virtual Machine Wizard
○ File → New Virtual Machine → Ctrl + N
2. Select Custom Configuration
○ Choose Custom Wizard, click Next
3. Choose Hardware Compatibility
○ Pick compatible hardware, click Next
4. Choose to Install OS Later
○ Select option: Install OS later, click Next
5. Select Guest Operating System
○ Pick Windows 10 (if server not listed), click Next
6. Virtual Machine Name & Location
○ Set name and save location, click Next
7. Select Firmware Type
○ Choose BIOS or UEFI (UEFI for new boards), click Next
8. Set Number of Processors
○ Choose based on host system, click Next
9. Set RAM Size
○ Choose memory value, leave enough for host system, click Next
10. Set Network Connection
● Pick from 4 network types, click Next
11.Select Disk Type
● Choose disk type available in host, click Next
12. Choose Virtual Disk
● Use existing or create new virtual disk, click Next
13. Assign Disk Size
● Choose between single or split disk
● Set size, click Next
14. Select Disk Path
● Choose save location for disk, click Next
15. Create the VM
● Review settings, click Finish
16. Load ISO Image to Boot VM
● Select: Use ISO image
● Browse ISO file, click OK
● Power on VM to begin installation
Roles in Windows Server 2019
1. Active Directory Domain Services (AD DS)
2. Domain Naming System (DNS)
3. Dynamic Host Configuration Protocol (DHCP)
4. File and Print Services
Domain
● Domain = Area of control in a network or internet.
● Active Directory domain = Group of users, computers, and devices.
● Holds a database with identity info.
● Domain name = Example: @tcs.com, @gmail.com
Domain Controller
● Server that handles user login/authentication.
● Stores account info and security rules.
● Used in Active Directory networks.
Active Directory (AD)
● Database + services to manage users and network.
● Stores info about users, devices, access rights.
● Helps admins organize and secure networks.
● Updates apply across network automatically.
Tree
● Collection of connected domains.
● Domains share a common name space.
● Uses trust (1-way or 2-way) to communicate.
● Example: sales.acme.com.tw, admin.acme.com.tw
Forest
● Collection of trees.
● Highest level in Active Directory.
● Shares a database, address list, and security boundary.
● Forests can isolate data access.
Object
● Basic unit in Active Directory.
● Example: User, computer, printer, group.
● Defined as either resource or security principal.
Containers
● Structure to store and move data between systems.
● Helps manage data and configurations across networks.
RAID (Redundant Array of Independent Disks)
● Combines multiple hard disks into one unit.
● Improves speed, reliability, and backup.
● Useful for disk Input/Output issues.
Windows Server Update Services (WSUS)
● Manages Microsoft updates across network systems.
● Stores metadata in a database.
● Stores update files locally (optional).
LDAP (Lightweight Directory Access Protocol)
● Protocol used to find user, file, or device info on networks.
● Helps in login, access control, and directory search.
● Used with Active Directory for authentication.
Active Directory Schema
● Defines structure of data in Active Directory.
● Like fields and tables in a database.
● Stored in schema partition and shared with all domain controllers.
Active Directory Administrative Center (ADAC)
● Tool to manage AD objects (users, groups, etc).
● Introduced in Windows Server 2008 R2 and above.
● Functions:
○ Raise domain level
○ Create test users and groups
○ Create password policies
○ View user policies
Global Catalog (GC)
● Helps find any object in the domain tree.
● Stores partial data from all domains.
● Available on selected domain controllers.
AD DS (Active Directory Domain Services)
● Core part of Active Directory.
● Manages users, computers, and network access.
● Supports:
○ SSO (Single Sign-On)
○ LDAP
○ Security certificates
○ Rights Management
AD Domains and Trusts
● Tool to manage:
○ Trusts between domains
○ Functional levels (domain and forest)
○ User principal name (UPN) suffixes
● Trust allows users to access resources across domains.
AD Sites and Services
● Used for managing replication between domain controllers.
● Can create:
○ New sites
○ Site links
○ Subnets
● Based on domains, trees, forests structure.
FSMO Roles (Flexible Single Master Operations)
Active Directory has 5 FSMO roles:
1. Schema Master
● Manages the only writable copy of the AD schema
● Schema = list of all attributes (name, email, phone, etc.) used in AD
2. Domain Naming Master
● Controls adding/removing domains in forest
● Prevents name conflicts
● Must be online to change domain names
3. RID Master (Relative ID Master)
● Gives RID pools to other domain controllers
● RIDs = unique ID for objects (used in Security Identifier - SID)
● Moves objects between domains
4. PDC Emulator (Primary Domain Controller)
● Handles time sync for all systems
● Needed for Kerberos authentication
● Works with Windows Time (W32Time) service
5. Infrastructure Master
● Updates references of objects across domains
● Only one Infrastructure Master in each domain
FSMO Role Transfer
● Admin can transfer roles to another domain controller
● Used during planned maintenance or migration
● Notifies old controller that it no longer owns the role
FSMO Role Seizure
● Used if old controller is permanently down (e.g., hardware crash)
● Role forcibly taken by another domain controller
Managing AD DS Objects
● Active Directory contains objects like users, groups, devices
● These represent resources in the network
● Used to organize and manage network access
1. Install & Configure Active Directory – Windows Server 2019
Active Directory LAB Tasks
● Install AD DS role
● Install Domain Controller
● Transfer FSMO roles
● Seize FSMO roles (if needed)
● Create User Accounts
● Move user accounts
● Use user account templates
● Create Groups
● Manage Group Membership
● Create Computer Accounts
● Create Organizational Units (OUs)
2. DHCP – Dynamic Host Configuration Protocol
Introduction
● Network protocol to assign IP address to devices
● Gives:
○ IP address
○ Default gateway
○ DNS address
● Runs in Application Layer of TCP/IP stack
DHCP Components
● DHCP Server – Sends IP info
● DHCP Client – Receives IP info
● DHCP Relay Agent – Forwards requests between networks
IP Address Allocation Types
1. Automatic – Permanent IP
2. Dynamic – Temporary IP (most used)
3. Manual – Fixed IP given by admin
DHCP Lease Generation Process (DORA)
1. Discover – Client asks for IP
2. Offer – Server offers IP
3. Request – Client requests the offered IP
4. Ack – Server confirms and gives lease
Lease Renewal
● After 4 days, client sends DHCPREQUEST
● Server sends DHCPACK
● Default lease time = 8 days
How to Setup DHCP
1. Open Computer Management
2. Go to Services
3. Find DHCP Server
4. Set Startup: Automatic, Status: Started
DHCP Hands-on
● Install DHCP role
● Authorize DHCP Server
● Create Scope
● Configure Options
● Activate Scope
● Configure Clients
● Add Reservations
3. DNS – Domain Name System
Introduction
● DNS changes domain name → IP address
● Used by browsers to load websites
● Every device has unique IP address
Types of DNS Servers
1. Primary Server – First point with real records
2. Secondary Server – Backup read-only copy
3. Caching Server – Stores previous lookups for speed
DNS Zones
● A DNS zone is a part of DNS namespace managed by an admin
● Helps organize control of records
DNS Zone Types
1. Primary Zone – Read-write copy
2. Secondary Zone – Read-only backup
3. Stub Zone – Partial copy with NS records
4. Reverse Lookup Zone – IP to domain mapping
DNS Lab + File Services in Windows Server 2019
Everything is simplified, shortened, and ready to copy-paste into your Google
Docs:
DNS LAB – Hands-On Tasks
● Install DNS with Active Directory
● Install DNS role independently
● Configure DNS client
● Create Primary Forward Lookup Zone
● Configure Zone Transfers
● Create:
○ Secondary Lookup Zone
○ Stub Zone
○ Reverse Lookup Zone
○ Active Directory Integrated Zones
● Check Name Resolution
● Understand and test DNS Queries
File Services – Introduction
● File server shares storage over a network
● Used to store and share files from one central point
● Removes need to physically transfer files
File Server Role in Windows Server 2019
● Uses File Server Resource Manager (FSRM)
● FSRM can:
○ Classify files
○ Set folder quotas
○ Create storage reports
Types of File Servers
1. Dedicated – Only file sharing
2. Non-Dedicated – Does file sharing + other jobs (e.g., database)
File Server – Advantages
● Secure data
● Redundant storage (no data loss)
● Centralized file management
● Easy access from any client computer
● Easy permission setup
● Regular backups
File Server – Disadvantages
● If server fails, data becomes unavailable
● High network load
● Needs expert to manage
● Expensive for small use cases
FSRM Features
1. Quota Management
● Limit folder or volume size
● Get alerts when limit is near or crossed
2. File Screening Management
● Block file types like .mp3 from shared folders
● Control file storage based on extensions
3. Storage Reports
● Generate usage reports
● Detect unauthorized file storage
● View trends in disk usage
Steps:
● Right-click Storage Reports → Generate Reports Now
● Choose file types and parameters
4. Classification Management
● Add properties to files for categorization
● Create rules to apply classification
● Steps:
○ Go to Classification Properties
○ Right-click → Create Property
○ Set name, description, type → OK
File Services – LAB Tasks
1. Create Quota Template
● Go to Quota Templates
● Right-click → Create Quota Template
2. Create File Screen
● Go to File Screens
● Right-click → Create File Screen
● Select folder and settings
Group Policy in Windows Server 2019
1. Group Policy Object (GPO)
● GPO = Group of policy settings
● Stored in Active Directory and file system
● Each GPO has:
○ User Configuration
○ Computer Configuration
● Each config has:
○ Software Settings
○ Windows Settings
○ Administrative Templates
2. Purpose
● Controls user and computer environment
● Central management of OS, apps, and settings
3. Starter GPO
● Predefined template GPOs
● Read-only
● Used to apply common settings quickly
4. GPO Inheritance
● Policies flow from domain → OU
● Example: GPO "Finance Config" linked to Finance OU → applies to all
users/devices in that OU
5. GPO Inheritance and Blocking
Application Order:
1. Local GPO
2. Site-level GPO
3. Domain-level GPO
4. OU-level GPO (highest priority)
Nested OUs:
● Parent OU GPOs apply first
● Child OU GPOs apply last
Multiple GPOs in one container:
● GPO with lowest link order number = highest priority
● To check: Right-click container → Group Policy Inheritance tab
6. Loopback Policy
● Applies user policies based on the computer
● Used for shared or kiosk machines
● Set in:
○ Computer Configuration → System → Group Policy →
Enable Loopback Processing
7. Group Policy LAB Hands-On
Install Group Policy Management
● Open Server Manager
● Go to Add roles and features
● Select: Role-based or feature-based installation
Enable Group Policy
● Open Local Group Policy Editor
● Go to:
○ Computer Configuration → Administrative Templates → Control
Panel
○ Double-click Settings Page Visibility
○ Select Enabled
Create New GPO
● Go to: Start → Windows Administrative Tools → Group Policy
Management
● Right-click Group Policy Objects → Click New
● Name the GPO clearly → Click OK
Print Server – Windows Server 2019
1. Print and Document Services – Function
● Manages all print and scan jobs in one place
● Sends scanned documents to:
○ Shared folder
○ SharePoint
○ Email
2. Print Services – Introduction
● Print server connects many users to printers
● Helps send print jobs in order (queues jobs)
● Prevents printer overload
● Used for print, scan, copy (common in offices)
3. Setup – Install Print Server Role
Steps:
1. Open Server Manager
2. Click Add roles and features
3. Choose Role-based or feature-based installation
4. Select destination server
5. Select Print and Document Services role
6. Click Next and complete setup
4. Print Server LAB – Hands-On Tasks
● Install Print and Document Services
● Add Network Printer
● Test connectivity
5. Create Printer Port (Manual Settings)
Steps:
1. Press Windows Key → Settings
2. Go to: Devices → Printers & Scanners
3. Click Add a printer
4. Choose: Add local/network printer with manual settings
5. Click Next
6. Select: Create a new port
7. Set Type as: Standard TCP/IP Port
8. Click Next
6. Troubleshooting Scenarios – LAB
● Server Reboot – Restart the system and check print services
● Disk Space Issue – Clear spool files or logs
● Network Issue – Check printer connectivity and IP address
● ILO Hardware Issue – Use ILO interface to manage hardware
● Disk Management – Check disk status and space allocation