Install Windows Server 2025
-
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
Up to now it’s all been preparation, and this is where you install Windows Server 2025 for real, first on DC01 and then on SRV01, the two servers you’ll be using in nearly every lesson from here on.
We’ll go through each Setup screen and talk about why each choice matters, then check what you installed from inside the server and take a snapshot, so you can always get back to a clean start.
| Time | You need | By the end you can |
|---|---|---|
| About 60 minutes, half of it waiting for Setup | The four VMs from Lesson 2 and the server2025.iso file | Install Windows Server 2025 with Desktop Experience, sign in to a VM, install Guest Additions, check the edition and evaluation time from inside the server, and take and restore snapshots |
What it is, in one line
To install Windows Server 2025, you boot the machine from the installation media, choose an edition and install type, pick a disk and set the Administrator password, and Setup takes care of everything else.
In Simple Words
Moving into an empty flat
A new flat comes with walls, wiring and plumbing but nothing inside it. Before you move in you decide which furniture set to bring and which room gets what, and you change the lock so you’re the only one with a key.
Installing Windows is much the same, with the VM from Lesson 2 as your empty flat. Setup asks which “furniture set” you want (the edition and install type), which room to use (the disk) and what the key should be (the Administrator password).
Before you start decorating, you take a photo of the clean flat. That photo is your snapshot, and if something goes badly wrong later you can put the flat back the way it was.
Engineer's View
What Setup really does, and what it needs
Minimum hardware. Windows Server 2025 needs a 1.4 GHz 64-bit processor with features like SSE4.2 and second-level address translation, and any modern laptop has those.
For a lab, your 2 GB VMs with 60 GB disks are fine. UEFI, Secure Boot and TPM 2.0 only matter for certain features such as BitLocker, and you don’t need them to install.
What happens during Setup. Setup boots a small Windows PE system from the ISO, creates the partitions on the disk, copies the image you picked from install.wim onto it and installs the drivers.
After that it restarts a couple of times while it finishes hardware detection and settings. You only answer questions at the beginning and set a password at the end.
Partitions. On a BIOS VM like DC01, Setup makes a small System Reserved partition plus the Windows partition (C:).
UEFI machines get an EFI system partition, a Microsoft Reserved partition and C: instead, and you’ll see both layouts side by side in Lesson 16.
The Administrator account. Setup asks you for a password for the built-in local Administrator.
The password has to meet the complexity rules, which means at least 8 characters using three of uppercase, lowercase, numbers and symbols. For the lab, write it down; on real servers it goes into a password vault.
Guest Additions. This is VirtualBox’s driver pack for the guest.
With it, the screen resizes along with the window, the mouse moves smoothly, the clipboard is shared and graphics get better. Hyper-V and VMware have their own versions of the same thing.
Snapshots are not backups. A snapshot saves the VM’s disk (and memory, if you choose) at one moment so you can roll back to it.
It’s stored next to the VM on the same disk, so if that disk dies the snapshot goes with it. In real data centres people keep snapshots for hours or days around a change and never treat them as the backup plan.
Where’s CL01? CL01 gets Windows 11 in Lesson 13, just before you join it to the domain.
How it works, step by step
Windows Server 2025 uses the same Setup screens as Windows 11. Here they are in order so nothing catches you off guard:
- Language and keyboard. Pick your language, time format and the keyboard you’ll type with. When a password “doesn’t work” later, a wrong keyboard layout is the usual reason.
- Setup option. Choose Install Windows Server and tick the box agreeing that everything on the disk will be deleted. Repair is for fixing an existing installation, which comes in Lesson 48.
- Select image. You’ll see the same four images you listed in Lesson 3. For DC01 and SRV01 choose Windows Server 2025 Datacenter Evaluation (Desktop Experience).
- Licence terms, then the disk. Accept the terms and pick Disk 0 Unallocated Space, and Setup creates the partitions for you.
- Install, restart, password. Setup copies the files and restarts by itself, and at the end it asks for the Administrator password before showing the sign-in screen.
Once the server is in, the snapshot becomes your safety net for the rest of the course. This is how it compares with a real backup:
In the lab you’ll take a snapshot before every risky change. At work you do the same before a change and then delete it a day or two later once the change has proved itself, because old snapshots slow VMs down and eat storage.
Hands-on Lab: install Windows Server 2025 on DC01 and SRV01
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.
Steps 1 to 6 happen inside the DC01 window, and steps 7 and 8 use PowerShell on your laptop. At the end you’ll run through a shorter version for SRV01.
1Start DC01 and begin Setup
In PowerShell on your laptop, run this:
VBoxManage startvm DC01The VM window opens and boots from the Server 2025 ISO. When Setup shows Select language settings, pick your language and time format and click Next, then pick your keyboard layout and click Next again.
✅ Checkpoint: The DC01 window shows Windows Server Setup.
2Choose Install and the right image
On Select setup option, choose Install Windows Server, tick I agree everything will be deleted including files, apps, and settings, and click Next. On Select image, choose Windows Server 2025 Datacenter Evaluation (Desktop Experience) and click Next. Accept the licence terms.
✅ Checkpoint: You picked the image that ends in “(Desktop Experience)”. The ones without it install Server Core.
3Pick the disk and install
On Select location to install you’ll see Disk 0 Unallocated Space, 60 GB in size.
Select it, click Next and then Install. Setup copies the files and restarts on its own, normally within 10 to 20 minutes. If “Press any key to boot from CD or DVD” appears after a restart, leave the keyboard alone and let it boot from the disk.
✅ Checkpoint: Setup finished copying files and the VM restarted at least once.
4Set the Administrator password and sign in
On Customize settings, type an Administrator password twice and click Finish. Something like Lab-Admin-2026! meets the complexity rules; write down whatever you choose.
To sign in, press Right Ctrl + Delete (VirtualBox’s “host key” plus Delete) rather than Ctrl+Alt+Delete, and type the password. Server Manager opens by itself, so leave it open.
✅ Checkpoint: You are signed in to DC01 as Administrator and Server Manager is open.
5Install Guest Additions
From the DC01 window’s menu, choose Devices, Insert Guest Additions CD image. Inside DC01, open File Explorer, go to the CD drive and run VBoxWindowsAdditions.exe. Accept the defaults, allow the driver installs and pick Reboot now when it finishes.
✅ Checkpoint: After the restart, the DC01 screen resizes when you resize its window.
6Check what you installed, from inside the server
Sign in again, open PowerShell inside DC01 and run these one at a time:
Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, CSName
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').InstallationType
Get-CimInstance SoftwareLicensingProduct -Filter "Name LIKE 'Windows%' AND PartialProductKey IS NOT NULL" |
Select-Object Name, LicenseStatus, @{n='DaysLeft';e={[math]::Round($_.GracePeriodRemaining/1440)}}You should see something like this:
Caption Version CSName
------- ------- ------
Microsoft Windows Server 2025 Datacenter Evaluation 10.0.26100 WIN-4JH2T8QK1VD
Server
Name LicenseStatus DaysLeft
---- ------------- --------
Windows(R), ServerDatacenterEval edition 1 180
Those three commands give you three useful facts. CSName is the random name Setup chose, which you’ll change in Lesson 6. InstallationType shows Server for Desktop Experience and Server Core for Core, and it’s the quickest way for a script to tell them apart.
DaysLeft is the evaluation time. DC01 doesn’t have a network address yet (LabNet has no DHCP on purpose), so the evaluation can’t activate online until Lesson 6. That’s why you might see a small number like 10 now instead of about 180; check it again after Lesson 6.
✅ Checkpoint: Caption says Windows Server 2025 Datacenter Evaluation and InstallationType says Server.
7Shut down, eject the ISO and take a snapshot
In DC01’s PowerShell, shut it down:
Stop-ComputerWhen the window closes, run these in PowerShell on your laptop:
VBoxManage storageattach DC01 --storagectl SATA --port 1 --device 0 --type dvddrive --medium emptydrive
VBoxManage snapshot DC01 take "Fresh install" --description "Server 2025 installed, Guest Additions, no config"
VBoxManage snapshot DC01 listYou should see something like this:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Snapshot taken. UUID: 6b1e0f3a-2c7d-4e85-9a14-d3f52c8e7b10
Name: Fresh install (UUID: 6b1e0f3a-2c7d-4e85-9a14-d3f52c8e7b10) *
Description: Server 2025 installed, Guest Additions, no configOnce the ISO is ejected, the “Press any key to boot from CD” prompt stops showing up every time DC01 starts. The * marks the snapshot the VM is currently running from.
✅ Checkpoint: DC01 has a snapshot called “Fresh install”.
8Do the same for SRV01
Now go through steps 1 to 7 again for SRV01, with the same image and disk choice, a password you’ll remember, Guest Additions, and then shut down, eject and snapshot. These are the commands for the start and the end:
Run these on your laptop:
VBoxManage startvm SRV01
# ... install, set password, Guest Additions, Stop-Computer inside SRV01 ...
VBoxManage storageattach SRV01 --storagectl SATA --port 1 --device 0 --type dvddrive --medium emptydrive
VBoxManage snapshot SRV01 take "Fresh install"✅ Checkpoint: Both DC01 and SRV01 run Windows Server 2025 with Desktop Experience and have a “Fresh install” snapshot.
Break It, Then Fix It
Nearly everyone gets caught by two things in their first week with VMs: a snapshot that refuses to restore, and a keyboard shortcut that lands on the wrong computer.
1Break it: restore a snapshot while the VM is running
Start DC01, sign in and make a test file inside it (in DC01’s PowerShell):
New-Item C:\after-snapshot.txt -ItemType File -Value "made after the snapshot"Then, with DC01 still running, run this on your laptop:
VBoxManage snapshot DC01 restore "Fresh install"You’ll get an error like this:
Restoring snapshot 'Fresh install' (6b1e0f3a-2c7d-4e85-9a14-d3f52c8e7b10)
VBoxManage.exe: error: Cannot delete the current state of the running machine (machine state: Running)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface IMachine, callee IUnknown
Restoring a snapshot throws away the VM’s current state, and VirtualBox won’t throw away a state that’s still running. Hyper-V and VMware follow the same rule: either you revert a stopped VM or the tool stops it for you.
To fix it, power off first and then restore:
VBoxManage controlvm DC01 poweroff
VBoxManage snapshot DC01 restore "Fresh install"
VBoxManage startvm DC01You should see something like this:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Restoring snapshot 'Fresh install' (6b1e0f3a-2c7d-4e85-9a14-d3f52c8e7b10)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Waiting for VM "DC01" to power on...
VM "DC01" has been successfully started.Sign in and look for C:\after-snapshot.txt, and you’ll find it’s gone. A restore puts you back at the moment the snapshot was taken and loses everything that happened after it, which is why you never “just restore” a production server without first asking what’s changed since.
✅ Checkpoint: The restore failed while DC01 was running, worked after poweroff, and the test file disappeared.
2Break it: Ctrl+Alt+Delete goes to your laptop
At the DC01 sign-in screen, press Ctrl+Alt+Delete on your keyboard. Rather than DC01’s sign-in box, you get your laptop’s own security screen (Lock, Switch user, Task Manager), because Windows always grabs this key combination for itself before any app can see it.
Fix it: press Esc to go back, click inside the DC01 window and press Right Ctrl + Delete. Right Ctrl is VirtualBox’s host key, and host key + Delete sends Ctrl+Alt+Delete to the VM. The VM window’s menu works too: Input, Keyboard, Insert Ctrl-Alt-Del.
✅ Checkpoint: You can open the DC01 sign-in box with Right Ctrl + Delete.
This happened at work
The temporary file server that kept switching off
A finance team needed a file server in a hurry for a project. The engineer on duty built it from the evaluation ISO already sitting on his laptop and told himself he’d put a proper key in “next week”. It went live, the project grew, and nobody went back to it.
Six months on, right in the middle of quarter-end close, the server began shutting itself down every hour. Twenty people lost unsaved spreadsheets, twice, before anyone opened the event log, and the entries from the licensing service made it obvious that the evaluation period had run out.
Luckily it was a member server and not a domain controller, so the team could sort it out that same evening by running DISM /online /Set-Edition with a real Standard key and restarting after hours.
The fix for the future: every new server now has to pass a build checklist before handover, including slmgr /dli showing a non-evaluation channel, the right name and IP, current updates and a backup job. Install media comes only from the company’s volume licensing download, and never from someone’s laptop.
The lesson: “temporary” servers have a habit of becoming permanent, so build each one as if it’ll be running for five years.
Common mistakes and troubleshooting
| Mistake or symptom | What happens | What to do instead |
|---|---|---|
| Picking an image without “(Desktop Experience)” | You get Server Core, with no desktop to follow the lessons | Reinstall and choose the Desktop Experience image; you can’t switch afterwards |
| Pressing a key at “Press any key to boot from CD or DVD” after install | Setup starts again | Let it time out, and eject the ISO once Windows is installed |
| Password rejected at the end of Setup | It doesn’t meet complexity rules | Use 8+ characters with three of: upper, lower, number, symbol |
| Password “wrong” at sign-in | Usually a different keyboard layout or Caps Lock | Check the keyboard layout chosen in Setup and the language icon on the sign-in screen |
| Screen stays small and the mouse is jumpy | Guest Additions aren’t installed | Devices, Insert Guest Additions CD image, run VBoxWindowsAdditions.exe, reboot |
| “Cannot delete the current state of the running machine” | Snapshot restore refused | Power off the VM first, then restore |
| Lots of old snapshots | VM disk gets slow and fills the laptop’s drive | Keep one or two named snapshots; delete the rest with VBoxManage snapshot … delete |
| DaysLeft shows about 10, not 180 | The evaluation hasn’t activated online yet | Give the server network access in Lesson 6, then check again |
| VM says “No bootable medium found” | No ISO attached and the disk is empty | Attach server2025.iso to SATA port 1 as in Lesson 2 |
Interview questions
Click a question to open it. Each one is written the way an interviewer would ask it. Under it you will see why they ask it and one way you could answer, in your own words.
Fresher level
1. You’re about to install Windows Server 2025 on a new VM. What do you need to have ready?
Why they ask this: They’re checking you know the basic requirements and which security features need extra hardware.
How you might answer: I’d want a 64-bit 1.4 GHz processor with modern instruction support, at least 2 GB of RAM for Desktop Experience and about 32 GB of disk as the bare minimum, though more in practice, and of course the installation media.
TPM 2.0, UEFI and Secure Boot are needed for things like BitLocker and Secured-core, but the install itself works without them.
2. Before a change, a teammate says, “Don’t worry, I took a snapshot, so we have a backup.” Is that right?
Why they ask this: People who mix up snapshots and backups can lose a server for good, so they want to hear that you know the difference.
How you might answer: Not really. A snapshot captures the VM at one point in time and lives with the VM, so it’s handy for a quick rollback before a change.
A backup is a separate copy kept somewhere else, so it survives if we lose the VM or its storage. We need real backups, and snapshots should only be short-term.
3. You connect to a server you’ve never seen before. How can you tell if it’s Server Core or Desktop Experience?
Why they ask this: On an unfamiliar server, knowing where to look saves time, and they want to see you check rather than guess.
How you might answer: First I’d look for a desktop and Server Manager. To be certain, I’d check the InstallationType value under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion.
That shows “Server” for Desktop Experience and “Server Core” for Core.
2–5 years experience
4. Your manager needs 50 new servers, all built exactly the same way. How would you do it?
Why they ask this: They want to see you think beyond clicking Next 50 times, because identical builds are easier to support and secure.
How you might answer: I’d go with unattended installs using an answer file, autounattend.xml, or deploy a prepared sysprep image through WDS, MDT or Configuration Manager. On virtual platforms I’d use templates.
After that I’d push the same configuration to all of them with scripts or DSC.
5. You’ve just built a new server for another team. What would you check before you hand it over?
Why they ask this: Steps missed at handover turn into incidents a few months later, so they want to know you follow a build standard.
How you might answer: I’d confirm the edition and activation channel are right and not evaluation, along with the name, IP, domain join and latest updates. Then I’d check the antivirus and monitoring agents, a working backup job and time sync.
Last of all, I’d make sure it’s in the inventory with an owner against it.
6. A server keeps shutting itself down every hour, and nobody knows why. What would you look at first?
Why they ask this: It’s a confusing problem until you’ve seen it once, and they want to know whether you’d spot an expired evaluation licence.
How you might answer: I’d start with the System event log to see what triggered the shutdown, and run slmgr /dli or /xpr to see the licence state, because an expired evaluation shuts Windows down every hour.
If it isn’t a domain controller I’d convert it with DISM, and if it is I’d rebuild it.
Senior level
7. What rules would you set for using VM snapshots on production servers?
Why they ask this: Snapshots carry real risk, and a senior engineer sets clear rules so they don’t pile up.
How you might answer: Take them before a change, name them with the change ID and delete them within a fixed time, often 24 to 72 hours. They’re never our backups and they never sit on domain controllers for long.
I’d also monitor for old snapshots, since they slow down I/O and keep growing.
8. A junior admin wants to fix a domain controller by restoring last month’s snapshot. Why would you stop them?
Why they ask this: This mistake can quietly break replication across the whole domain, so they want to see you understand how AD tracks changes.
How you might answer: Rolling a DC back in time can cause USN rollback, where the DC reuses update numbers its partners have already seen and its changes stop replicating.
Modern Hyper-V and VMware support VM-GenerationID, which lets Windows notice the restore and protect itself, but I’d still restore AD from a proper backup to be safe.
9. Different teams in your company build servers in their own way. How would you standardise that?
Why they ask this: Standard builds make security and support a lot easier, and they want to see you think about consistency across teams.
How you might answer: I’d keep one approved image or build script per OS version in version control, built only from volume licensing portal media. Every build gets checked with a checklist or automated tests, and any exception is written down.
We’d also refresh the images regularly with the latest updates.
Quick quiz
Q1. Which image gives you the full desktop and Server Manager?
- Windows Server 2025 Datacenter Evaluation
- Windows Server 2025 Datacenter Evaluation (Desktop Experience)
- Windows PE
Show answer
B — Images ending in “(Desktop Experience)” include the desktop.
Q2. How do you send Ctrl+Alt+Delete to a VirtualBox VM?
- Ctrl+Alt+Delete
- Right Ctrl + Delete
- Alt+F4
Show answer
B — Right Ctrl is the default host key; host key + Delete sends Ctrl+Alt+Delete.
Q3. Why did the snapshot restore fail in the Break It lab?
- The snapshot was corrupt
- The VM was running
- The disk was full
Show answer
B — VirtualBox won’t discard the state of a running VM.
Q4. What does InstallationType “Server” mean?
- Server Core
- Desktop Experience
- Nano Server
Show answer
B — “Server” is Desktop Experience; Core shows “Server Core”.
Q5. In the work story, why did the file server shut down every hour?
- A virus
- Its evaluation period had ended
- A power fault
Show answer
B — Expired evaluations shut down hourly. It was fixed with DISM /Set-Edition.
Quick recap
- To install Windows Server 2025, boot from the ISO, choose Install, then pick the image, the disk and an Administrator password.
- Images ending in (Desktop Experience) come with the desktop, and you can’t switch later.
- Sign in to a VirtualBox VM with Right Ctrl + Delete, and install Guest Additions straight away.
- Check from inside:
Win32_OperatingSystemfor the caption, InstallationType for Core vs Desktop, and GracePeriodRemaining for evaluation days. - Snapshots are for quick rollbacks and aren’t backups. Restore only with the VM off, and remember that anything after the snapshot is lost.
Next lesson
Lesson 6: Initial configuration → You’ll rename DC01 and SRV01, give them their fixed IP addresses on LabNet, set DNS and the time zone, install updates, turn on Remote Desktop, and learn sconfig and Server Manager.
Further reading: how to install Windows Server 2025
Want to go further with how to install Windows Server 2025? Microsoft’s Install Windows Server from installation media on Microsoft Learn covers it, and the full plan for this course is on the Windows Server Administration course page.
