Virtualization Native Boot Windows 11 Virtual Hard Disk (VHDX)


  • Staff
Drive_banner.png

This tutorial will show you how to boot a Windows 11 VHDX file natively to dual boot with Windows 10 or Windows 11.

Native Boot allows you to create a virtual hard disk (VHDX), install Windows to it, and then boot it up, either on your PC side-by-side with your existing installation, or on a new device.

A native-boot VHDX can be used as the running operating system on designated hardware without any other parent operating system. This differs from a scenario where a VHDX is connected to a virtual machine on a computer that has a parent operating system.

Native boot for Windows 11 requires the .vhdx format, not the .vhd format.

VHDXs can be applied to PCs or devices that have no other installations of Windows, without a virtual machine or hypervisor. (A hypervisor is a layer of software under the operating system that runs virtual computers.) This enables greater flexibility in workload distribution because a single set of tools can be used to manage images for virtual machines and designated hardware.


You must be signed in as an administrator to setup and Native Boot a Windows 11 VHDX file.

The Windows 11 VHDX file used in this tutorial was created with a Hyper-V Windows 11 virtual machine, and copied to the OS to dual boot with.



EXAMPLE: Dual boot Windows 10 with a Native Boot Windows 11 VHDX

Native_boot_Windows11_VHDX.png



Here's How:

1 Copy the Windows 11 VHDX file where you want to keep it saved at to the Windows OS you want to dual boot with.

2 Open Disk Management (diskmgmt.msc).

3 In Disk Management, click/tap on Action on the menu bar, and click/tap on Attach VHD. (see screenshot below)

Native_boot_Windows11_VHDX-1.png

4 Perform the following steps to select the Windows 11 VHDX file to attach: (see screenshot below)
  1. Click/tap on Browse.
  2. Navigate to and select the VHDX file.
  3. Click/tap on Open.
  4. Click/tap on OK.
Native_boot_Windows11_VHDX-1B.png

5 Right click on the middle "Healthy (Basic Data Partition)" for the attached VHDX, and click/tap on Change Drive Letter and Paths. (see screenshot below)

If a drive letter has already been assigned to the attached Windows 11 VHDX, then jump to step 8 instead.


Native_boot_Windows11_VHDX-2.png

6 Click/tap on Add. (see screenshot below)

Native_boot_Windows11_VHDX-3.png

7 Select (dot) Assign the following drive letter, select an available drive letter (ex: "F") you want to assign, and click/tap on OK. (see screenshot below)

Native_boot_Windows11_VHDX-4.png

8 The Windows 11 VHDX file will now be mounted as a drive with the drive letter (ex: "F") you selected to assign to it. (see screenshots below)

Native_boot_Windows11_VHDX-5.png
Native_boot_Windows11_VHDX-6.png
Native_boot_Windows11_VHDX-7.png

9 You can now close Disk Management if you like.

10 Open an elevated Windows Terminal, and select Command Prompt.

11 Type the command below you want to use into the elevated command prompt, and press Enter. (see screenshot below)

(Keep current OS default at boot)
bcdboot <drive letter>:\Windows /d

OR

(Make VHDX the default OS at boot)
bcdboot <drive letter>:\Windows

This command will add the attached Windows 11 VHDX to the boot manager to dual boot.

Substitute <drive letter> in the command above with the actual drive letter (ex: "F") of the attached Windows 11 VHDX.

For example: bcdboot F:\Windows


Native_boot_Windows11_VHDX-8.png

12 You can now close the elevated command prompt.

13 The next time you boot or restart the computer, you can select to boot from Windows 11 (VHDX) or Windows 10 (installed OS).


That's it,
Shawn Brink


 

Attachments

  • Drive.png
    Drive.png
    5.8 KB · Views: 196
Last edited:
I hope so coz Dev Build always seems to go set itself as "Default OS" after every update 😒
Windows 10 upgrades never used to do this but most upgrades need to reboot and trouble was pc would boot into default unless you specifically selected the version being upgraded.

Windows 11 changed this by making the upgrading OS the default and no user interaction needed.

Personally, I do not like this change as a flawed upgrade can lead to pc not being bootable.

If this happens, restoring the EFI partition from a backup is the easiest solution.

I use easybcd tool to reorder partitions as less faffing around than using bcd commands.
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Windows 10 upgrades never used to do this but most upgrades need to reboot and trouble was pc would boot into default unless you specifically selected the version being upgraded.

Windows 11 changed this by making the upgrading OS the default and no user interaction needed.

Personally, I do not like this change as a flawed upgrade can lead to pc not being bootable.

If this happens, restoring the EFI partition from a backup is the easiest solution.

I use easybcd tool to reorder partitions as less faffing around than using bcd commands.
Thanks for this one @cereberus 🙌downloaded EasyBCD and gonna definitely make use of it 😎
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22631.3374
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    CPU
    Intel Celeron N4000 @ 1.10GHz Gemini Lake 14nm
    Motherboard
    LENOVO LNVNB161216 (U3E1)
    Memory
    8GB Ram
    Graphics Card(s)
    Intel UHD Graphics 600 (Lenovo)
    Sound Card
    Realtek High Definition Audio Intel Display Audio
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080
    Hard Drives
    512GB Western Digital WDC PC SN530 SDBPMPZ-512G-1101 (Unknown (SSD))
    Keyboard
    Laptop Keyboard
    Mouse
    G5 Gaming Mouse
    Internet Speed
    50mbps/50mbps
    Browser
    Chrome/Edge
    Antivirus
    Microsoft Defender
  • Operating System
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    CPU
    Intel Celeron N4000 @ 1.10GHz Gemini Lake 14nm
    Motherboard
    LENOVO LNVNB161216 (U3E1)
    Memory
    8GB Ram
    Graphics card(s)
    Intel UHD Graphics 600 (Lenovo)
    Sound Card
    Realtek High Definition Audio Intel Display Audio
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080
    Mouse
    G5 Gaming Mouse
    Keyboard
    Laptop Keyboard
    Internet Speed
    50mbps/50mbps
    Browser
    Chrome/Edge
    Antivirus
    Microsoft Defender
Back
Top Bottom