UnixDroid

Lesson 7 of 10 · 11 min

Install Windows 11 Enterprise (free evaluation)

Install Windows 11 Enterprise from Microsoft's free 90-day evaluation with a local account, Guest Additions and a static LabNet IP.

Most company laptops run Windows, so most real attacks and most SOC alerts involve Windows too. A Windows VM lets you practise Windows privilege escalation, read Event Viewer logs, test how Defender reacts, and later join an Active Directory domain. Microsoft gives you Windows 11 Enterprise free for 90 days for evaluation, which is perfect for a lab.

Windows 11 VM recipe card
Windows 11 VM recipe card

Download the evaluation ISO

  1. Go to microsoft.com/evalcenter and choose Windows 11 Enterprise.
  2. Fill in the short registration form, then download the ISO – Enterprise file for your language (64-bit).

The evaluation is for testing and learning, not for daily use. When the 90 days run out, the desktop goes black and the PC shuts down every hour. In a lab that's fine: rebuild it, or keep a template (lesson 10).

Create the VM

  1. New → Name WS01, select the ISO. VirtualBox detects Windows 11 (64-bit).
  2. Tick Skip Unattended Installation, so you learn the real Windows installer instead of watching it happen.
  3. Hardware: 4096 MB RAM (8192 is smoother) and 2 CPUs (4 if you can).
  4. Hard disk: 80 GB, VDI, dynamically allocated.
  5. Check Settings → System → Motherboard: Enable EFI ✔, Secure Boot ✔ and TPM: v2.0. Windows 11 needs all three, and VirtualBox sets them automatically for the Windows 11 type.
  6. Settings → Network: Adapter 1 NAT, Adapter 2 Host-only (LabNet).

Install Windows

  1. Start the VM and press any key when you see Press any key to boot from CD or DVD. Miss it and you land in a black UEFI shell. If that happens, see Troubleshooting below.
  2. Choose language, time and keyboard → Install Windows 11 → accept that everything on the disk will be deleted (the empty virtual disk, not your PC).
  3. Select Disk 0 Unallocated Space → Next. Installation takes 10–20 minutes and reboots a few times.

Then Windows runs its setup screens (OOBE):

  • Region and keyboard: yours
  • Device name: WS01
  • How would you like to set up this device? → Set up for work or school
  • Sign-in options → Domain join instead. This creates a local account with no Microsoft account needed
  • Username, e.g. labuser, a password and the three security questions
  • Privacy settings: switch them all off. It's a lab machine

When the desktop appears, Windows is installed.

Install Guest Additions

Without them the mouse lags and the screen won't resize.

  1. In the VM window menu: Devices → Insert Guest Additions CD image.
  2. In File Explorer, open the CD drive and run VBoxWindowsAdditions.exe. Click through and allow the driver prompts.
  3. Reboot. Then turn on Devices → Shared Clipboard → Bidirectional.

Let Windows Update run once while the NAT adapter is connected.

Give it a static LabNet IP

Open PowerShell as Administrator:

Get-NetAdapter        # find the LabNet adapter, usually "Ethernet 2"
New-NetIPAddress -InterfaceAlias "Ethernet 2" -IPAddress 192.168.56.30 -PrefixLength 24

You'll point its DNS at the domain controller in the next lesson.

By default Windows Firewall ignores ping. For easy testing, allow ping from LabNet only:

New-NetFirewallRule -DisplayName "LabNet ICMPv4" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -RemoteAddress 192.168.56.0/24 -Action Allow

Check how long your evaluation has left:

slmgr /dlv

Test it from Kali

ping -c 3 192.168.56.30
nmap -Pn 192.168.56.30     # -Pn: don't give up just because ping is filtered

You'll see that a fresh Windows 11 shows very few open ports. The firewall is doing its job, and that's a useful lesson in itself.

About Defender: leave Microsoft Defender on. Learning what it catches is part of the job. When a later lesson needs it off for a test, take a snapshot first and restore it afterwards.

Take a snapshot called clean-install.

Troubleshooting

ProblemFix
"This PC can't run Windows 11"Check EFI, Secure Boot and TPM 2.0 in Settings → System, and at least 4 GB RAM
Black screen showing Shell>You missed "Press any key". Type exit, choose the DVD in Boot Manager, then press a key quickly
Very slow, green turtle iconHyper-V is active. See lesson 2. Give it 2+ CPUs
Screen stuck at 800×600, laggy mouseInstall Guest Additions and reboot
Setup insists on a Microsoft accountUse Set up for work or school → Sign-in options → Domain join instead
Try it yourself
  1. Install Windows 11 Enterprise Evaluation as WS01 with a local account.
  2. Install Guest Additions and enable the bidirectional clipboard.
  3. Set 192.168.56.30/24 on the LabNet adapter and add the ICMP firewall rule.
  4. Run slmgr /dlv and write the expiry date in your lab notebook.
  5. From Kali, run ping -c 3 192.168.56.30 and nmap -Pn 192.168.56.30. How many ports are open?
  6. Take a snapshot named clean-install.
No Linux machine? Practise in the free online terminal

Quick check

Complete the command that shows how many evaluation days are left: slmgr /___

Need a hint?

Detailed License View.

Finished this lesson?

Done lessons keep your daily streak going 🔥

0 day streak

0 lessons done

best 0 days

Log in to keep your streak on every device →