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.
Every Hyper-V based VM is associated with a VHDx file.
Enabling Hyper-V
Use an elevated PowerShell console to check if Hyper-V is enabled:
PS:\> get-windowsOptionalFeature -online | where-object {$_.featureName -like "*Hyper-V*"}
The Processor needs SLAT (Second Level address translation) to use Hyper-V.
PS C:\> enable-windowsOptionalFeature -online -featureName Microsoft-Hyper-V -all
Do you want to restart the computer to complete this operation now?
…
dism /online /enable-feature /all /featureName:Microsoft-Hyper-V
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
).
TODO
What does the following output mean:
C:\> systeminfo | findstr Hyper-V
…
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
With elevated privileges:
C:\> dism /online /get-features | find "Microsoft-Hyper-V" | sort
Feature Name : Microsoft-Hyper-V
Feature Name : Microsoft-Hyper-V-All
Feature Name : Microsoft-Hyper-V-Hypervisor
Feature Name : Microsoft-Hyper-V-Management-Clients
Feature Name : Microsoft-Hyper-V-Management-PowerShell
Feature Name : Microsoft-Hyper-V-Services
Feature Name : Microsoft-Hyper-V-Tools-All
Does the following command turn of Hyper-V completely?
bcdedit.exe /set hypervisorlaunchtype off
Trying to install Windows 11
The boot loader failed
When trying to install Windows 11, I've received the error 1)
The bood 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.
This PC doesn't curretly 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
C:\Windows\System32> oobe\bypassnro
Ater rebooting, the user can click on a text which then skips this step.