
The end result of this course: a Windows Server 2025 domain you build yourself, its first gaps closed, and a before-and-after score that proves it.
How to get the most from this course: three paths through it, what you can skip, and how the lab, the demos and the checks work.
How to study this course: the lab, the knowledge checks, the resources and the bonus lecture - and how to get the most from each one.
The lab you will build: one Hyper-V host and a Windows Server 2025 domain - DC1, SRV1 and CLIENT1 - with checkpoints, so you can always go back to a known state.
Check that your PC can run Hyper-V, turn it on, and download the free Windows Server 2025 and Windows 11 Enterprise evaluations - and how long each one lasts.
A private NAT network for the lab with fixed addresses, two Generation 2 VMs (DC1 and CLIENT1, with a virtual TPM) built in a few lines of PowerShell, and Windows Server 2025 installed on DC1.
DC1 gets a fixed address, DNS pointing to itself and its real name, then Active Directory Domain Services: a new forest at the Windows Server 2025 functional level - and three ways to prove the domain is live.
Build the OUs, the users and the groups that the rest of the course works with - and check each one as you go.
Windows 11 on CLIENT1 with a local account (the supported way past the Entra ID sign-in), the right address and DNS, the domain join, and a user's first sign-in on a domain PC.
SRV1, the member server: build it like DC1, give it an address and DNS, test before the join, join it and move it into a Servers OU - then save the whole lab as one checkpoint, "Lab ready".
Read the scoring script first, run it on a brand-new domain, and see each PASS, FAIL and INFO with a score out of 100 - your starting point, saved to compare at the end.
What attackers want from a Windows domain in 2025, why ransomware is the threat to plan for, and why identity is the target.
The stages of an attack on Active Directory that a defender can detect and break, and the controls that stop each one.
Zero trust for a Windows estate: verify explicitly, least privilege and assume breach - what each principle means on a server.
Framework, benchmark or baseline? NIST CSF, the CIS Benchmarks and the Microsoft security baselines - how to pick one, roll it out without breaking things, and prove it with a scan.
Hands-on demo: you hardened a server perfectly on Monday, and by Friday somebody has loosened one setting to make an old tool work. OSConfig, the security configuration tool of Windows Server 2025, applies a ready-made baseline and puts drift right again. Everything is typed from SEA-ADM1 against the Server Core member server SEA-SVR3.
Policy, standard, procedure and guideline - the four layers of "the rules", who owns each one, and how an auditor traces a setting back to its policy.
Six real-world scenarios on the foundations - what attackers want, how an attack unfolds, zero trust, baselines, exceptions and the rules behind them. Pause, answer, then play.
Who you are to Windows: SIDs, what an access token carries, and why privileges can matter more than group membership.
Security descriptors, DACLs and SACLs, inheritance, and how Windows decides whether to allow or deny access.
A user's token read with whoami (SID, groups, privileges), an admin's token side by side, a folder's ACL with icacls, one allow and one deny explained - and why a group change needs a new sign-in.
What the LSA does at every sign-in, the three kinds of sign-in and which ones leave reusable credentials behind, where credentials live, and the two shields for LSASS.
Hands-on demo: a fresh Lab 07, a GPO that turns on Virtualization Based Security and Credential Guard, Microsoft's readiness tool on SEA-SVR2, and a read of what is really running.
Kerberos's tickets and the KDC against NTLM's challenge-response, what's inside a ticket, why a share never asks for your password again, and which encryption to insist on.
A live look at Anna's tickets with klist: a ticket-granting ticket, a new one arriving for a share, a purge and its quiet comeback, and what a clock ten minutes out does to Kerberos.
Six scenarios on tokens, access checks, LSA, Kerberos and NTLM: pause, answer, then hear why the right answer is right.
Fix the domain password and lockout policy where it really applies, see why a policy on an OU does not touch domain accounts, and trace a lockout back to the computer that caused it.
Hands-on demo: Exploit Protection and Microsoft Defender SmartScreen on Windows Server 2025 - one mitigation tested by hand, exported as XML and pushed to other servers with one Group Policy Object.
Hands-on demo: accounts whose passwords never expire, accounts nobody uses, and the filter that misses accounts which never signed in at all.
Hands-on demo: why one shared local admin password is a problem, why Microsoft's old LAPS installer is on its way out, and the built-in Windows LAPS doing the same job from a GPO, with the proof read back and the password never shown.
Hands-on demo on our domain controller SEA-DC1, the member server SEA-SVR3 and SEA-ADM1 with Edge, plus a Microsoft Entra tenant: Microsoft Entra Password Protection for on-premises Active Directory. Our domain asks for seven characters and complexity, so Contoso1! ticks every box - until a banned word says otherwise. We install the two pieces, register them with Entra, and test one bad password first in Audit mode, then in Enforced mode, reading the DC agent's event log each time.
Three one-line fixes (Print Spooler off on the DC, AD Recycle Bin on, machine account quota 0), then the same score again, compared with the first - and a one-minute report for your manager.
A look back at what you can now do, four habits to keep, and where to go from here: monthly scoring, a Microsoft baseline, admin tiers, Protected Users and Windows LAPS.
Hands-on demo: Windows Defender Firewall managed by Group Policy on Windows Server 2025, then connection security (IPsec) rules so that servers only talk to peers that prove who they are.
Hands-on demo from SEA-ADM1 to SEA-SVR3, a Server Core member with no desktop: we switch on the SSH server that is already in the box on Windows Server 2025, sign in with a password and then with a key, break the key on purpose and heal it, and then open Remote Desktop for one group with Group Policy - with Network Level Authentication, a user who is refused, and a safer way to connect.
Hands-on demo: which programs are allowed to run on your servers? You build an App Control for Business policy, run it in audit mode first, read what it would have blocked, and then enforce it. Everything is typed from SEA-ADM1 against the Server Core machine SEA-SVR3, with a small unsigned program as the stranger.
Hands-on demo: somebody walks out of the server room with a disk under their coat. With BitLocker your data stays yours, but only if you can still get your own data back. A Group Policy makes Active Directory keep every recovery password; then we encrypt a data volume on the Server Core machine SEA-SVR3 and open it again with nothing but that password. Everything is done from SEA-ADM1.
Hands-on demo: the auditors send a list and every line says "show me where this is configured". You build ONE Group Policy object with three families of security settings, link it to the servers' OU, and prove it reached a Server Core machine more than one way. Everything is done from SEA-ADM1; SEA-SVR3 is the server that gets the policy.
Hands-on demo from SEA-ADM1 to SEA-SVR3 (a Server Core member) and SEA-SVR1, almost all in PowerShell: we cause the PowerShell remoting second hop on purpose, fix it the right way with resource-based Kerberos constrained delegation, see where that fix stops, and then give a helpdesk user exactly one job on a server with Just Enough Administration (JEA) - no admin rights, and a transcript of everything he tried.
Hands-on demo: "I can see the folder, but I can't open it." We build a Sales share on the Server Core file server SEA-SVR3 with the New Share Wizard, keep the share permission wide and put the real control in NTFS through a domain local group, ask Windows what two users really get, and then hide the folders people cannot open. Everything is done from SEA-ADM1.
Hands-on demo: an auditor's checklist for a Windows Server file server. We work from SEA-ADM1 with Windows Terminal and PowerShell, and check the file server SEA-SVR3 remotely.
Hands-on demo: a sales team works from client sites, and port 445 must never be open to the internet. SMB over QUIC gives them the file share through a TLS 1.3 tunnel on UDP 443, a little VPN just for file sharing. The server is the Server Core file server SEA-SVR3; everything is typed or clicked on SEA-ADM1.
Hands-on demo: the account that runs your nightly job has a password that never expires and that three people know. We replace it with a group managed service account whose password nobody knows - because nobody ever had one - and run a scheduled task as it, all from SEA-ADM1. Then we meet the new kind of account in Windows Server 2025, the dMSA.
Hands-on demo: a domain admin pre-creates a read-only domain controller (RODC) account for the branch server SEA-SVR2 and names Ty, a branch technician with no domain admin rights, as its delegated administrator; Ty then attaches the server; we decide whose passwords the RODC may keep and prove it.
Hands-on demo: SEA-ADM1 becomes an event collector and SEA-DC1 a source, so the System and Application events of SEA-DC1 turn up in Forwarded Events on SEA-ADM1, checked in Event Viewer, with wecutil and with Get-WinEvent.
Hands-on demo on Windows Server 2025 domain controllers: a Group Policy object keeps its settings in Active Directory and its files in SYSVOL, and here the SYSVOL folder is deleted and the deletion replicates to every domain controller. We prove the damage with Get-GPO, Test-Path and the DFS Replication log, resync one domain controller non-authoritatively through ADSI Edit (msDFSR-Enabled False, then True), and then do the big repair: put a good copy back on SEA-DC1, stop DFS Replication on every domain controller, mark SEA-DC1 as the authoritative source with msDFSR-Options 1, start it, and let the others follow. Everything is checked with the DFS Replication events and with Test-Path on all three domain controllers.
Hands-on demo: someone has just deleted the wrong organisational unit, people and all. We switch on the Active Directory Recycle Bin, delete a whole OU on purpose, and bring everything back twice - first with clicks in Active Directory Administrative Center, then with Get-ADObject and Restore-ADObject - and prove the group membership came back as well. Everything runs from SEA-ADM1.
Hands-on demo on Windows Server 2025 domain controllers, with the Active Directory Recycle Bin switched off: a user is deleted and the deletion replicates everywhere, so the only way back is a backup. We take a system state backup with wbadmin, delete the user, start SEA-DC1 in Directory Services Restore Mode (DSRM), restore the system state, mark the user as authoritative with ntdsutil before the restart, and bring her group membership back with ldifde. Everything is checked on the second domain controller, SEA-SVR1.
Hands-on Azure demo: we take SEA-SVR2, a Windows Server 2025 machine in our own server room, and make it an Azure resource with Azure Arc. We work from SEA-ADM1 with Windows Terminal for PowerShell and Edge for the Azure portal.
Hands-on Azure demo: SEA-SVR2 is an Azure Arc resource, so what can Azure do inside it? We make Azure audit a setting inside the server and run a command on it. We work from SEA-ADM1 with Windows Terminal for PowerShell and Edge for the Azure portal.
Hands-on Azure demo: SEA-SVR2 is an Azure Arc server, so Azure can patch it and run code on it. We check it for updates with Azure Update Manager, install two small updates, schedule a monthly window, then run a PowerShell runbook from an Automation account, in Azure and on the server itself. We work from SEA-ADM1 with Windows Terminal for PowerShell and Edge for the Azure portal.
Hands-on Azure demo: Defender for Servers on a Windows Server 2025 machine that lives in our own rack and is connected to Azure through Azure Arc. We work from SEA-ADM1 with Edge for the Azure portal and Windows Terminal for PowerShell, and reach SEA-SVR2 with Invoke-Command.
This course contains the use of artificial intelligence.
This is a hands-on course on the security basics of Active Directory and Windows Server 2025. You build a Windows Server 2025 domain on your own PC, measure its security with a scoring script, learn how attacks on Active Directory work and how Windows decides who is allowed in, and then apply a first set of fixes, confirmed by a second score.
What the course covers
Structure of the course
Every section ends with a short quiz, and the theory sections also include a scenario-based knowledge check. The key demos come with one-page checklists that list what you should see and where each step starts in the video.
Outcome
By the end of the course you can answer the question "how secure is our domain?" with a score, the evidence behind it, and an ordered list of what to fix next.