If virtualization is enabled, not only the guest operating systems, but the host OS itself runs on top of the Hyper-V virtualization layer. Yet, the host OS still has full control over all hardware.
PS C:\> enable-windowsOptionalFeature -online -featureName Microsoft-Hyper-V -all
Do you want to restart the computer to complete this operation now?
…
When Hyper-V is enabled, the link Hyper-V Manager is added to the Start Menu (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools).
The boot loader failed (After displaying Start PXE over IPv4)
When trying to install Windows 11, I was first shown Start PXE over IPv4 and then, I've received the error 1) The boot loader failed, 2) A boot image was not found or 3) The boot loader did not load an operating system, followed by No operating system was loaded. Your virtual machine may be configured incorrectly. Exit an re-configure your VM or click restart to retry the current boot sequence again:
It turns out that in order to load the ISO file, a key must be pressed before (or shortly after?) the boot process has started.
Update 2025-07-25 / Windows 11 host
While the mentioned fix worked on a Windows 10 host where I tried to install Windows 11, it didn't work anymore on a Windows 11 host where I also tried to install Windows 11.
Alternatively: set delay option
In a virtual machine's settings, at the bottom, in Automatic Start Action, a value for Automatic start delay can be configured (the default seems to be 0 seconds).
I tried to increase it to 10 seconds, but it didn't help on the Windows 11 host (2025-07-25).
This is likely not surprising as this setting is supposed to reduce resource contention between virtual machines.
This PC doesn't currently meet Windows 11 system requirements
In order to install Windows 11, the setting Enable Trusted Platform Module (found under Security) needs to be set.
Let's connect you to a network
During the installation process, I was asked to connect to a network.
I wanted to skip this step, so I pressed shift+F10 which opened a cmd.exe Window where I typed
After rebooting, the user can click on a text that says I don't have internet which then skips this step.
Network
After Windows 11 was installed and I logged in for the first time, there was no internet connection. (I am not sure if this is related to the previous point).
In order for the guest to have Internet, in the Hyper-V Manager, I went to Actions (top right pane), chose Virtual Switch Manager, selected External and pressed the button Create Virtual Switch.
The drop-down suggested a (unconnected WiFi connection), so I had to select the (connected) Ethernet connection.
After creating the new virtual switch, I assigned it to the guest and rebooted.
Further observations
After installing Windows 11 24H2, it required 22 GB of disk.
Map a host drive to the guest
Click «Edit Session Settings». (Note, the guest must be running, but not connected, for this menu to be available).
«Show options»:
Select the second tab («Local Resources») and click «More» under «Local devices and resources»:
Choose the drives that need to be mapped from the host to the guest:
PowerShell cmdlets
Some possibly interesting cmdlets related to HyperV include
It seems that Microsoft prefers checkpoint over snapshot in the context of HyperV to prevent confustion with VSS/NTFS snapshots.
Taking and restoring a checkpoint in PowerShell
PS: 22 C:/Users/igsnyre> $vmname = 'win11'
PS: 23 C:/Users/igsnyre> (get-vm $vmname).state # Returned Off in my test
PS: 24 C:/Users/igsnyre> checkpoint-VM -name $vmname -snapshotName 'preToolInstallation'
Verify checkpoint was taken:
PS: 25 C:/Users/igsnyre> get-vmCheckpoint $vmname
start-vm $vmname
Connect to the VM from the Hyper-V Manager, do stuff‥
stop-vm $vmname
get-vm $vmname).state # Returns Off