Windows Server final project: check, break and fix a whole network
-
Phase 0: Before you start
-
Phase 1: The foundation
-
Phase 2: Core administration and security
-
Phase 3: Enterprise infrastructure
-
Phase 4: Troubleshooting step by step
-
Phase 5: Final project and career
By now you’ve built a domain, file and print services, Group Policy, IIS, clustering, backups and monitoring, and you’ve repaired each of them when it broke. This Windows Server final project brings it all together the way a real job does, with many services running at once and problems that don’t arrive with a label on them.
You’ll write one health-check script that covers the whole lab, then let a fault script break ten things at random. Each one you find and fix with the diagnostic workflow from Lesson 42, and at the end you’ll have a report you can show in interviews.
| Time | You need | By the end you can |
|---|---|---|
| About 3 hours (you can split it over several days) | DC01, DC02, SRV01, CL01, and NODE1 and NODE2 if you have the memory | Run, check and repair a small company’s Windows network, and prove it with a health report |
What it is, in one line
The Windows Server final project is a full practice run where ten faults are slipped into a working company network without you knowing which, and you track down and fix all of them with the methods from this course.
In Simple Words
In Simple Words
Remember your driving test? You practised turning, parking and reversing one at a time, and then on the day the examiner mixed them all up and you had to handle whatever came next. This project works the same way: a partner (or a script) breaks things you can’t see, you use what you’ve learned to spot and fix each one, and the finished checklist is your licence.
Engineer's View
Engineer’s View
The company: SaatLab Traders runs on the saatlab.internal domain you built. There are two DCs (DC01 at HQ, DC02 at Branch), DNS and DHCP with failover, departmental shares with NTFS and share permissions, Group Policy for users and computers, an HTTPS intranet on IIS, a print server, a certificate authority, and backups and monitoring on top.
Health checks: a script that tests outcomes rather than settings. Does the name resolve, does the port answer, is the user in the group, is replication enabled? Each check comes back PASS or FAIL, which keeps the report easy to read.
Faults: ten reversible faults, each taken from a lesson you’ve already done: DNS, services, share permissions, Group Policy, Netlogon, firewall, lockout, print spooler and replication. The fault script tells you how many it applied but never which ones.
Method: define, scope, ask what changed, test, fix and verify, then document (Lesson 42). For each fault you write a one-line incident note with the symptom, evidence, cause and fix.
Evidence: a final HTML report from the health script with every check passing, plus your incident notes. It makes a good portfolio piece to talk through in an interview.
How it works, step by step
How the final project runs:
Write the checks first, while everything still works. If a check fails on a healthy lab then the check is wrong, so sort it out before you add any faults.
After that, let the fault script (or a friend) break things. The health report shows you what’s broken, and it’s up to you to work out why and fix it properly without peeking at the fault script.
Fix one thing at a time and rerun the checks after each fix, because sometimes one fault is hiding another.
The ten faults and the lessons that help:
| # | Area | What you’ll notice | Lesson to revisit |
|---|---|---|---|
| 1 | DNS | Intranet name doesn’t resolve | 14, 42 |
| 2 | IIS | Intranet service is down | 25, 42, 50 |
| 3 | Shares | Finance can’t open Departments | 16 |
| 4 | Groups | Priya loses Finance access | 12, 16 |
| 5 | Group Policy | Staff settings stop applying | 19, 46 |
| 6 | AD | Branch DC doesn’t advertise | 13, 45 |
| 7 | Firewall | HTTPS blocked, ping works | 23, 44 |
| 8 | Accounts | A user is locked out | 19, 45 |
| 9 | Printing | Print spooler is stopped | 18, 50 |
| 10 | Replication | Changes on DC02 don’t reach DC01 | 31, 45 |
In the lab you’ll:
- Read the company brief.
- Write and run Test-SaatLab.ps1, the health check.
- Write Break-SaatLab.ps1, the fault script, and apply three random faults.
- Find and fix them, with an incident note for each.
- Produce your final HTML report.
Hands-on lab: the SaatLab Traders final project
Before you run any command, double-check it
Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.
Start DC01, DC02, SRV01 and CL01 and take a snapshot of every VM (“Before final project”). You’ll work as SAATLAB\adm.rahul in PowerShell as administrator on DC01.
1Read the brief and prepare DC01
SaatLab Traders has 50 staff across Finance, IT and Sales. At both HQ and Branch they need to sign in, open their department shares, print, use the intranet over HTTPS and pick up their desktop settings from Group Policy.
DC01 needs the DHCP management tools so it can check SRV01, so install them:
Install-WindowsFeature RSAT-DHCP | Select-Object Success
New-Item C:\Lab -ItemType Directory -Force | Out-NullYou’ll see something like this:
Success
-------
True✅ Checkpoint: DC01 has the AD, Group Policy, DNS and DHCP tools, and C:\Lab exists.
2Write and run the health check
Save as C:\Lab\Test-SaatLab.ps1:
$checks = [ordered]@{
'01 DNS: intranet resolves' = { (Resolve-DnsName intranet.saatlab.internal -Type A -ErrorAction Stop).IPAddress -contains '10.0.0.20' }
'02 IIS: W3SVC running on SRV01' = { (Get-Service W3SVC -ComputerName SRV01).Status -eq 'Running' }
'03 Shares: no deny on Departments'= { -not (Get-SmbShareAccess -CimSession SRV01 -Name Departments | Where-Object AccessControlType -eq 'Deny') }
'04 Groups: Priya in GG_Finance' = { (Get-ADGroupMember GG_Finance).SamAccountName -contains 'priya.sharma' }
'05 GPO: U-Staff-Desktop enabled' = { (Get-GPO -Name U-Staff-Desktop).GpoStatus -eq 'AllSettingsEnabled' }
'06 AD: Netlogon running on DC02' = { (Get-Service Netlogon -ComputerName DC02).Status -eq 'Running' }
'07 Network: HTTPS open on SRV01' = { Test-NetConnection SRV01 -Port 443 -InformationLevel Quiet -WarningAction SilentlyContinue }
'08 Accounts: kiran.das unlocked' = { -not (Get-ADUser kiran.das -Properties LockedOut).LockedOut }
'09 Print: Spooler running on SRV01' = { (Get-Service Spooler -ComputerName SRV01).Status -eq 'Running' }
'10 AD: DC02 outbound replication' = { -not ((repadmin /options DC02) -match 'DISABLE_OUTBOUND_REPL') }
}
$checks.GetEnumerator() | ForEach-Object {
$ok = try { [bool](& $_.Value) } catch { $false }
[pscustomobject]@{ Check = $_.Key; Result = if ($ok) { 'PASS' } else { 'FAIL' } }
}Run it:
C:\Lab\Test-SaatLab.ps1 | Format-Table -AutoSizeYou’ll see something like this:
Check Result
----- ------
01 DNS: intranet resolves PASS
02 IIS: W3SVC running on SRV01 PASS
03 Shares: no deny on Departments PASS
04 Groups: Priya in GG_Finance PASS
05 GPO: U-Staff-Desktop enabled PASS
06 AD: Netlogon running on DC02 PASS
07 Network: HTTPS open on SRV01 PASS
08 Accounts: kiran.das unlocked PASS
09 Print: Spooler running on SRV01 PASS
10 AD: DC02 outbound replication PASSOn a healthy lab every check has to pass, so if one fails now, fix the lab (or the check) before moving on. Because each check tests something users need, a FAIL always points to a real problem.
✅ Checkpoint: Test-SaatLab.ps1 shows 10 PASS results.
3Write the fault script and break three things
Save this as C:\Lab\Break-SaatLab.ps1. Better still, ask a friend to write and run it so you don’t know what it does:
param([int[]]$Fault = (1..10 | Get-Random -Count 3))
$faults = @{
1 = { Remove-DnsServerResourceRecord -ZoneName saatlab.internal -Name intranet -RRType A -Force }
2 = { Invoke-Command SRV01 { Stop-Service W3SVC; Set-Service W3SVC -StartupType Disabled } }
3 = { Block-SmbShareAccess -CimSession SRV01 -Name Departments -AccountName 'SAATLAB\GG_Finance' -Force | Out-Null }
4 = { Remove-ADGroupMember GG_Finance -Members priya.sharma -Confirm:$false }
5 = { (Get-GPO -Name U-Staff-Desktop).GpoStatus = 'UserSettingsDisabled' }
6 = { Invoke-Command DC02 { Stop-Service Netlogon } }
7 = { Invoke-Command SRV01 { New-NetFirewallRule -DisplayName 'Final project rule' -Direction Inbound -Protocol TCP -LocalPort 443 -Action Block | Out-Null } }
8 = { 1..11 | ForEach-Object { net use \\SRV01\IPC$ /user:SAATLAB\kiran.das WrongPass1 2>$null | Out-Null } }
9 = { Invoke-Command SRV01 { Stop-Service Spooler -Force; Set-Service Spooler -StartupType Disabled } }
10 = { repadmin /options DC02 +DISABLE_OUTBOUND_REPL | Out-Null }
}
foreach ($f in $Fault) { & $faults[$f] }
"Applied $($Fault.Count) fault(s). Good luck."Run it, and don’t look at which numbers it picks:
C:\Lab\Break-SaatLab.ps1
Clear-Host
C:\Lab\Test-SaatLab.ps1 | Where-Object Result -eq 'FAIL'You’ll see something like this (yours will differ):
Check Result
----- ------
03 Shares: no deny on Departments FAIL
06 AD: Netlogon running on DC02 FAIL
09 Print: Spooler running on SRV01 FAILThe health check shows you what users would notice, but the cause and the fix are for you to work out.
✅ Checkpoint: Three checks fail after running Break-SaatLab.ps1.

4Find and fix each fault
For each FAIL, work through the Lesson 42 workflow. Confirm the symptom the way a user would see it, work out the scope, gather the evidence (events, settings, logs), fix the cause and then rerun the health check. If you get stuck, the lesson references in the table above will point you in the right direction.
Keep a short incident note for each fault, something like this:
$notes = @'
INC-C1 | Print fails | Spooler stopped and Disabled on SRV01 (event 7040) | Set to Automatic, started | PASS 09
INC-C2 | Branch logons slow | Netlogon stopped on DC02 (dcdiag Advertising fail) | Started Netlogon | PASS 06
INC-C3 | Finance denied on Departments | Deny entry for GG_Finance on the share | Unblock-SmbShareAccess | PASS 03
'@
$notes | Set-Content C:\Lab\final-project-incidents.txtOnce everything is fixed, run the full check again:
C:\Lab\Test-SaatLab.ps1 | Where-Object Result -eq 'FAIL' | Measure-Object | Select-Object CountYou should see this:
Count
-----
0Then run Break-SaatLab.ps1 again for another three faults, and keep going until you’ve fixed all ten at least once. If you get completely stuck, restore the “Before final project” snapshots.
✅ Checkpoint: All checks pass again, and C:\Lab\final-project-incidents.txt has a note for every fault you fixed.
5Produce your final report
Save the results as an HTML report:
$results = C:\Lab\Test-SaatLab.ps1
$results | ConvertTo-Html -Title 'SaatLab health report' -PreContent "<h1>SaatLab health report</h1><p>$(Get-Date)</p>" |
Set-Content C:\Lab\SaatLab-Health.html
Start-Process C:\Lab\SaatLab-Health.htmlOpen the report in a browser and you should see ten PASS rows with the date. Along with your incident notes and the scripts, that’s a portfolio you can show and explain in an interview. [Add your screenshot here]
✅ Checkpoint: C:\Lab\SaatLab-Health.html shows all ten checks passing.
Break It, Then Fix It
Below, two of the ten faults are worked through in full so you can see the method in action. Have a go at them yourself first and then compare.
1Break it: fault 10, replication switched off
On DC01, apply fault 10 on its own, then create a user on DC02 and force replication:
C:\Lab\Break-SaatLab.ps1 -Fault 10
New-ADUser cap.test -Path 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' -Server DC02
repadmin /replicate DC01 DC02 DC=saatlab,DC=internalYou’ll see something like this:
DsReplicaSync() failed with status 8456 (0x2108):
The source server is currently rejecting replication requests.
The symptom is “changes on DC02 don’t reach DC01”, and the error points at the source, DC02. Someone (or some tool) told DC02 to stop sending replication. Admins sometimes do this before maintenance and then forget to switch it back.
Now find the evidence and fix it:
repadmin /options DC02
repadmin /options DC02 -DISABLE_OUTBOUND_REPL
repadmin /syncall DC02 /AdeP | Select-String 'terminated'
Get-ADUser cap.test -Server DC01 | Select-Object NameYou’ll see something like this:
Current DSA Options: IS_GC DISABLE_OUTBOUND_REPL
Current DSA Options: IS_GC
New DSA Options: IS_GC
SyncAll terminated with no errors.
Name
----
cap.testWhen you’re done, delete the test user with Remove-ADUser cap.test -Confirm:$false.
✅ Checkpoint: Replication failed with 8456, repadmin /options showed DISABLE_OUTBOUND_REPL, and cap.test reached DC01 after the fix.
2Break it: fault 3, a deny on the share
On DC01, apply fault 3 on its own:
C:\Lab\Break-SaatLab.ps1 -Fault 3On CL01, sign in as SAATLAB\priya.sharma and open \\SRV01\Departments. Windows says access is denied, even though the NTFS permissions haven’t changed and Priya is still in GG_Finance.
To scope it, go to DC01 and check the share permissions as well as NTFS:
Get-SmbShareAccess -CimSession SRV01 -Name Departments | Select-Object AccountName, AccessControlType, AccessRightYou’ll see something like this:
AccountName AccessControlType AccessRight
----------- ----------------- -----------
SAATLAB\GG_Finance Deny Full
NT AUTHORITY\Authenticated Users Allow Change
BUILTIN\Administrators Allow FullA share-level Deny beats every Allow, so Finance users get stopped at the share before NTFS is even looked at (Lesson 16). You’ll often see this kind of fault after a rushed “block access during the audit” change.
Fix it and verify:
Unblock-SmbShareAccess -CimSession SRV01 -Name Departments -AccountName 'SAATLAB\GG_Finance' -Force | Out-Null
C:\Lab\Test-SaatLab.ps1 | Where-Object Check -like '03*'You’ll see something like this:
Check Result
----- ------
03 Shares: no deny on Departments PASSPriya can open the share again without signing out, because share permissions are checked every time she connects.
✅ Checkpoint: Priya was denied by the share Deny entry, and the share works after Unblock-SmbShareAccess.
This happened at work
The new admin who started with a checklist
An admin I know joined a small manufacturing company as its only IT person. The previous admin had left without any notes and nobody could tell her what the servers did, so for the whole first week she changed nothing. She listed every server and service, wrote down what users needed, and turned that into a health-check script a lot like the one in this lesson, which she ran every morning.
In week three the script flagged two things: the intranet certificate would expire in nine days, and one DC hadn’t replicated for a month. She fixed both quietly before anyone noticed, and her manager said later that those two “non-events” were the reason he trusted her with bigger projects.
The fix: she kept a daily health report, a simple change log and an incident note for every fix.
The lesson: get to know the environment and check it before you change anything, because health checks turn surprises into routine work.
Common mistakes and troubleshooting
| Mistake | What happens | What to do instead |
|---|---|---|
| Reading the fault script first | You practise nothing | Let a friend run it, or don’t look at the output |
| Fixing several things at once | You don’t know what worked | One fix at a time, rerun the checks |
| Checks that test settings, not outcomes | PASS while users are broken | Test what users need: names, ports, access |
| Skipping snapshots | Hard to recover from mistakes | Snapshot every VM before you start |
| No incident notes | Nothing to show in interviews | One line per fault: symptom, evidence, cause, fix |
| Stopping at the first FAIL fixed | Other faults stay hidden | Rerun the full check after every fix |
| Leaving test objects behind | Clutter and confusion later | Remove test users, rules and groups |
| Running checks without admin rights | False FAILs | Run as adm.rahul in an elevated window |
Interview questions
Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. Tell me about a lab you’ve built. What was in it, and what did you learn?
Why they ask this: They want to hear whether you can explain your own work clearly and whether you’ve had real hands-on practice.
How you might answer: I built a full Windows network in VirtualBox with two domain controllers, a file and print server, GPOs, IIS, a failover cluster and backups. Then I wrote a health check for all of it, broke parts on purpose and fixed them, and honestly that taught me more than the building did.
2. If I gave you a Windows network you’ve never seen, how would you check that it’s healthy?
Why they ask this: They’re checking that you think about what users need, and not only whether the servers are switched on.
How you might answer: I’d start with what users depend on, so DNS, logons, file shares, printing and the web apps, and behind those I’d look at AD replication, backups and certificates. Ideally I’d put all of it in a script so I can run the same checks again whenever I want.
3. How do you approach a problem you’ve never seen before?
Why they ask this: Even from a fresher, they want to see a calm method you can repeat.
How you might answer: I start by defining the problem clearly and working out who and what is affected, and then I ask what changed. After that I test one idea at a time, fix it, check the fix worked and write down what I did.
2–5 years experience
4. Walk me through how you’d fix AD replication error 8456.
Why they ask this: They want to see whether you can go deep on one real fault and explain each step as you go.
How you might answer: 8456 means the source DC is rejecting replication, so I’d run repadmin /options on the source and look for DISABLE_OUTBOUND_REPL. If it’s set I’d remove it, run repadmin /syncall, and confirm with repadmin /replsummary that replication is working again.
5. A user gets access denied on a share, but the NTFS permissions look right. What would you check next?
Why they ask this: They’re checking that you understand both permission layers on a share and how the user’s token works.
How you might answer: I’d look at the share permissions and any deny entries with Get-SmbShareAccess, because the share layer can block someone even when NTFS lets them in. Then I’d check the user’s group membership and whether they need to log off and on again to refresh their token. Effective Access in the folder’s security settings is a good way to confirm it.
6. You’ve written a health check script. How would you turn it into real monitoring?
Why they ask this: They want to know you think about day-to-day running and not only a one-off check.
How you might answer: I’d schedule it to run regularly and send any FAIL results by email or into our monitoring system, and keep the history so we can spot trends. After every incident I’d add a check for whatever caught us out.
Senior level
7. Say you take over an environment with no documentation at all. What would you do in your first few weeks?
Why they ask this: They’re looking for someone who plans and understands before touching anything.
How you might answer: I’d begin with an inventory of the servers, their roles and how they depend on each other, and write down what users need from the environment. Next I’d add health checks and make sure the backups work. Only then would I plan changes, each with an owner and a rollback plan.
8. You can’t check everything every day. How do you decide which checks matter most?
Why they ask this: They want to see you prioritise by business impact.
How you might answer: By business impact. Sign-in comes first, then access to data, then the line-of-business apps. Supporting services like replication, backups and certificates come after that, because they don’t hurt users straight away, though they cause big trouble later.
9. A junior admin joins your team. How would you use a lab like this to train them?
Why they ask this: They’re checking whether you can mentor people and build their skills, rather than fixing everything yourself.
How you might answer: I’d get them to build the health check themselves first, and then I’d break things in the lab without telling them what and let them hunt for the fault. I’d coach the method rather than hand out answers, and go through their incident notes with them afterwards.
Quick quiz
Q1. What should every health check test?
- Settings only
- What users need, such as names, ports and access
- Only event logs
Show answer
B — Outcomes, not just settings.
Q2. What does replication error 8456 mean?
- DNS failure
- The source server is rejecting replication requests
- Time skew
Show answer
B — Check repadmin /options on the source.
Q3. Which permission wins: a share Deny or an NTFS Allow?
- NTFS Allow
- Share Deny
- Whichever is newer
Show answer
B — Deny at the share blocks first.
Q4. Why rerun the full check after each fix?
- It’s required
- One fault can hide another
- To slow down
Show answer
B — Fix one thing, then check everything.
Q5. What made the new admin in the work story trusted?
- A big redesign
- Daily health checks that caught problems early
- Overtime
Show answer
B — Non-events built trust.
Quick recap
- The Windows Server final project pulls everything together: you build, check, break, fix and document.
- Good health checks test what users need and give a clear PASS or FAIL.
- Work every fault with the Lesson 42 workflow and fix one thing at a time.
- Write a one-line incident note for each fault.
- Your scripts, notes and HTML report make an interview portfolio.
Next lesson
Lesson 54: Interview and certification prep → Next you’ll get ready for Windows Server interviews at every level, practise answering with real examples from your lab and plan which certification to go for.
Further reading: Windows Server final project
Want to go further with the Windows Server final project? Microsoft’s repadmin reference covers the replication options used here, and the Block-SmbShareAccess reference explains share deny entries. The full plan for this course is on the Windows Server Administration course page.
