Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AZ-802 Administering Windows Server 2025: Hands-On Labs
Role Play
New
Rating: 5.0 out of 5(8 ratings)
18 students

AZ-802 Administering Windows Server 2025: Hands-On Labs

Build a five-server Windows Server 2025 lab on Hyper-V, then run AD, DHCP, DNS, storage, security and Azure File Sync
Created byVitalii Shumylo
Last updated 11/2026
English

What you'll learn

  • Build a five-server Windows Server 2025 lab on Hyper-V with a NAT switch, fixed addresses and a Baseline checkpoint to reset before each lab
  • Create a new Active Directory forest, a Server Core domain controller, OUs, users, groups and Group Policy with precedence and security filtering
  • Manage servers and Hyper-V virtual machines from Windows Admin Center and PowerShell, and run Windows containers with Docker
  • Deploy DHCP with failover and configure DNS zones, forwarders and a DNS policy, then prove that each one works
  • Set up DFS Namespaces and Replication, Data Deduplication, iSCSI, Storage Spaces and Storage Spaces Direct, and keep data online when a disk or server fails
  • Connect file servers to Azure Files and Azure File Sync with cloud tiering, then remove every Azure resource you created
  • Protect servers with Credential Guard and Windows LAPS, and find accounts whose passwords never expire or that nobody uses
  • Monitor servers with Performance Monitor baselines, Data Collector Sets and event subscriptions, and find the process behind a CPU spike

Course content

8 sections • 100 lectures • 18h 35m total length
  • Demo: Downloading the Windows Server 2025 ISO7:11

    Hands-on demo: get the free Windows Server 2025 evaluation from the Microsoft Evaluation Center, the right way.

    • Which download to choose - ISO, VHD or Azure - and why we take the ISO
    • The registration form, the language and the 64-bit edition
    • The 180-day evaluation and the 10-day online activation rule
    • Checking the file: x64FRE, the size, and opening it as a DVD drive
    • C:\ISO and C:\VMs with PowerShell - the same paths as the official AZ-802 lab guide
  • Demo: Getting Hyper-V Installed on Windows10:12

    Hands-on demo: check that your PC can run the lab, then turn on Hyper-V - three ways.

    • The Windows edition and the 64-bit system type (Settings - About)
    • Virtualization in Task Manager, systeminfo and msinfo32 - and what to change in the BIOS / UEFI
    • How much memory and disk the five lab servers need
    • Hyper-V on with clicks (Windows Features), then Hyper-V Manager and the VM folders (C:\VMs)
    • The fast way: Enable-WindowsOptionalFeature, the "requires elevation" mistake, DISM and Install-WindowsFeature
  • Demo: Creating a Virtual Switch in Hyper-V8:11

    Hands-on demo: the lab network - a private switch for the five servers, with a way out to the internet.

    • External, Internal and Private switches - and why the lab uses Internal (not the Default Switch)
    • LabSwitch with clicks in Virtual Switch Manager, then the one-line New-VMSwitch
    • The gateway address 172.16.10.1/16 on vEthernet (LabSwitch) - with clicks (ncpa.cpl) and New-NetIPAddress
    • NAT with New-NetNat - the error an older NAT causes, and how to fix it safely
    • The address plan of the five lab servers
  • Demo: Creating the Five Lab Virtual Machines7:26

    Hands-on demo: the five servers of the AZ-802 lab - SEA-DC1, SEA-ADM1, SEA-SVR1, SEA-SVR2 and SEA-SVR3.

    • SEA-DC1 with the New Virtual Machine wizard, page by page: Generation 2, dynamic memory, LabSwitch, a 128 GB disk, the ISO
    • The settings the wizard does not ask: Secure Boot template, processors, minimum and maximum memory, automatic checkpoints
    • The other four with PowerShell: New-VM, Set-VM, the DVD drive and the boot order in loops
    • Data disks for the storage labs: one for SVR1 and SVR2, four for SVR3
    • Nested virtualization and MAC address spoofing for SEA-SVR1 - and what your own PC needs for it
  • Demo: Installing Windows Server 2025 on the Lab VMs8:01

    Hands-on demo: Windows Server 2025 on the five AZ-802 lab VMs - the Desktop Experience and Server Core.

    • Starting a VM from the ISO - and what to do if you miss "Press any key to boot from CD or DVD"
    • Windows Setup page by page: language, keyboard, the four images, the licence, the disk
    • Desktop Experience vs Server Core - and why you cannot switch later
    • First sign-in: the Administrator password, Ctrl+Alt+End, Server Manager - and Server Core with SConfig
    • Removing the DVD drives and starting from the disk, with PowerShell
  • Demo: Lab Server Names and Fixed IP Addresses7:40

    Hands-on demo: the real names and fixed IPv4 addresses of the five AZ-802 lab servers - three ways.

    • Why servers and domain controllers need fixed addresses - and what a 169.254 (APIPA) address means
    • SEA-DC1 with clicks: Network Connections, IPv4 properties, gateway and DNS, then the computer name
    • SEA-SVR1 on Server Core with SConfig: network settings, DNS servers and the computer name
    • SEA-ADM1, SVR2 and SVR3 with PowerShell Direct from the Hyper-V host - no network needed
    • One check of all five with Invoke-Command, and why ping is blocked by default
  • Demo: Promoting SEA-DC1 to a Domain Controller7:35

    Hands-on demo: SEA-DC1 becomes the first domain controller of contoso.com - from the role to the proof.

    • The AD DS role with Add Roles and Features - and the one PowerShell line that does the same
    • The promotion wizard page by page: new forest, functional levels, DNS and Global Catalog, the DSRM password, NetBIOS name and paths
    • View script: the whole wizard as one Install-ADDSForest command
    • Prerequisites, install, restart and the first CONTOSO\Administrator sign-in
    • The proof: Active Directory Users and Computers, the two DNS zones, Get-ADDomain, Get-ADForest and the FSMO roles, and an internet name resolved by our new DNS server
  • Demo: Joining the Lab Servers to contoso.com6:57

    Hands-on demo: SEA-ADM1, SEA-SVR1, SEA-SVR2 and SEA-SVR3 join the contoso.com domain - three ways.

    • What a join needs: DNS pointing at the domain controller, an account allowed to join, a restart
    • SEA-ADM1 with clicks: System Properties, Change, Domain, CONTOSO credentials, the welcome message and the restart
    • SEA-SVR1 on Server Core with SConfig option 1
    • SEA-SVR2 and SEA-SVR3 together with PowerShell Direct and Add-Computer
    • The proof: the four computers in Active Directory Users and Computers, Get-ADComputer, and the first domain sign-in on SEA-ADM1
  • Demo: Management Tools and Remoting on SEA-ADM16:36

    Hands-on demo: SEA-ADM1 becomes the admin box of the lab - the tools, remoting and one Server Manager for all five servers.

    • RSAT with Add Roles and Features: AD DS and AD LDS Tools, DNS Server Tools, Group Policy Management - and the one PowerShell line from the Microsoft lab script that does the same
    • The new consoles at work: Active Directory Users and Computers runs on SEA-ADM1, not on the DC
    • PowerShell remoting: Test-WSMan, WinRM ports 5985/5986, Invoke-Command on three servers at once, Kerberos inside the domain
    • TrustedHosts set and read - and when you really need it
    • Add Servers in Server Manager: all five lab servers Online in one window
  • Demo: The Baseline Checkpoint for the Whole Lab4:47

    Hands-on demo: one clean Baseline checkpoint for all five lab VMs - and the way back before every lab.

    • What a checkpoint is: standard vs production, the .avhdx file, and why a checkpoint is not a backup
    • A clean shutdown of all five VMs in Hyper-V Manager
    • A checkpoint with clicks on SEA-DC1, renamed Baseline - the name Microsoft lab scripts look for
    • The other four with one Checkpoint-VM line, checked with Get-VMCheckpoint
    • Back to Baseline: Get-VM piped into Restore-VMCheckpoint, then Start-VM - and why all five go back together
  • (Optional) Demo: Microsoft's Lab Scripts - Create-Baseline and Setup-Lab5:14

    Hands-on demo: the official AZ-802 lab package from GitHub - and Setup-Lab01 run for real.

    • Create-Baseline.ps1 (once) and Setup-Lab01..08.ps1 (before each lab): what each one does
    • Download ZIP from the MicrosoftLearning repository, Extract All, Unblock-File
    • Set-ExecutionPolicy for this window only (-Scope Process)
    • A look inside the scripts - and the password line changed to Read-Host -AsSecureString
    • Setup-Lab01: Baseline restored, only the VMs Lab 01 needs started, "Lab 01 is ready"
  • (Optional) Demo: When the Lab Misbehaves: Six Usual Breaks and Their Fixes11:11

    Hands-on demo: the six usual ways the AZ-802 lab misbehaves, and the fix for each. We work from STUDENT-PC with Hyper-V Manager, Windows Terminal and PowerShell, across the five SEA-* virtual machines.

    • Spotting a break: what a sick lab looks like
    • Six usual breaks, each shown and then fixed
    • Getting back to a good state quickly with checkpoints
  • A Practice Lab Took Over the Office Network
  • A New Server That Will Not Join contoso.com
  • Section Quiz: Build the Lab Once
  • Build the Five-Server contoso.com Lab and Its Baseline Checkpoint

Requirements

  • Basic Windows and networking knowledge: IP addresses, DNS names and user accounts; some server experience helps, and every step is shown
  • A PC with Windows 11 Pro, Enterprise or Education (for Hyper-V), virtualisation on in the firmware, 32 GB RAM or more and 200 GB free disk space
  • No paid software for the lab: Windows Server 2025 runs as Microsoft's free 180-day evaluation edition
  • For the Azure Files and Azure File Sync lessons only: an Azure subscription where you are Owner or Contributor; these lessons can cause small charges
  • Some PowerShell helps; every command is shown on screen and explained

Description

Reading about Windows Server is one thing. Promoting a domain controller, pulling a disk out of a Storage Spaces pool and watching the volume stay online is another. This course is the second kind: every lesson is a demo on a lab you build yourself. Most tasks are done twice, first in the graphical tools and then in PowerShell, and each one ends with a check that proves it worked.

The labs follow the structure of the lab exercises in Microsoft's AZ-802 training (Windows Server Administrator Associate), rebuilt on Windows Server 2025 on your own Hyper-V host. Where our lab differs from Microsoft's, such as the addresses, the tools or an extra proof step, the demo says so.

You build the lab once. You download the free Windows Server 2025 evaluation, install Hyper-V, create a virtual switch with NAT, and then five virtual machines: SEA-DC1, SEA-ADM1 and three member servers, two of them on Server Core. You give them fixed addresses, create a new Contoso forest, join the members, install the management tools on SEA-ADM1 and take a Baseline checkpoint to return to before each lab.

Then you run the servers.

  • Active Directory: a domain controller on Server Core, OUs, users and groups, your first Group Policy Object, then precedence, security filtering and Group Policy Modeling.

  • Managing Windows Server: Windows Admin Center, a server at a glance, roles and the remote tools.

  • Virtualization: a VM with a differencing disk on a remote Hyper-V host, the same VM managed in Windows Admin Center, and Windows containers with Docker.

  • Network infrastructure: DHCP, DHCP failover and a test that proves it, then DNS zones, forwarders and a DNS policy.

  • File services and storage: a DFS namespace with DFS Replication, Data Deduplication, an iSCSI target and initiator, Storage Spaces with a lost disk, and Storage Spaces Direct with a lost server.

  • Hybrid file services: Azure Files with a share snapshot and Previous Versions, Azure File Sync with two servers and cloud tiering, and a clean-up at the end.

  • Security: Credential Guard, finding accounts with passwords that never expire or that nobody uses, and Windows LAPS from a Group Policy Object.

  • Monitoring: a Performance Monitor baseline with a Data Collector Set, a CPU stress run compared with that baseline, and an event subscription that collects another server's events.

What this course is, and what it isn't. It is a hands-on lab course for the Windows Server skills in AZ-802. It is not a complete exam guide and does not cover every exam objective. It is an independent course, not affiliated with or endorsed by Microsoft.

The whole lab runs at home on free evaluation editions. Only the Azure lessons need an Azure subscription, and they end by deleting everything they created.

Who this course is for:

  • Windows administrators preparing for AZ-802 who want to do every lab task themselves, not just read about it
  • Help desk and support staff moving into a server administration role
  • Administrators who know older Windows Server versions and want the same jobs done on Windows Server 2025
  • Anyone who learns by doing and wants a home lab to practise Active Directory, Hyper-V, storage and file services