Virtualization Create Windows 11 Virtual Hard Disk (VHDX) at Boot to Native Boot


Drive_banner.png

This tutorial will show you how to create a Windows 11 Virtual Hard Disk (VHDX) file at boot and natively boot it 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.

Windows 11 minimum system requirements:

If you’d like to see if your current PC meets the minimum requirements, download and run the PC Health Check app.

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


After you have created the Windows 11 VHDX file in this tutorial, you will also be able to Native Boot the VHDX using the method in the tutorial below.

Native Boot Windows 11 Virtual Hard Disk (VHDX)



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

Native_boot_Windows11_VHDX.png



Here's How:

1 Boot from a Windows 11 installation USB flash drive on your computer.

2 When you see Windows Setup, press the Shift + F10 keys to open a command prompt at boot. (see screenshot below)

Native_boot_Windows11_at_boot-1.png

3 Type diskpart into the command prompt, and press Enter. (see screenshot below step 4)

4 Make note of the drive letter (ex: "D") you want to create and save the VHDX file at. (see screenshot below)

Native_boot_Windows11_at_boot-2.png

5 Type the command below into the command prompt, and press Enter. (see screenshot below)

create vdisk file="<drive letter>:\<file name>.vhdx" maximum=<size> type=fixed

Substitute <drive letter> in the command above with the actual drive letter (ex: "D") from step 4.

Substitute <file name> in the command above with the name (ex: "Windows11") you want for the VHDX file.

Substitute <size> in the command above with how many MB (1GB = 1024MB) you want the VHDX size to be. Windows 11 requires 64 GB (65536 MB) or larger.

For example: create vdisk file="D:\Windows11.vhdx" maximum=65536 type=fixed


Native_boot_Windows11_at_boot-3.png

6 When creating the VHDX is completed, type attach vdisk into the command prompt, and press Enter. (see screenshot below)

Native_boot_Windows11_at_boot-4.png

7 When attaching the VHDX is completed, type Exit into the command prompt, press Enter, and close the command prompt. (see screenshot below)

Native_boot_Windows11_at_boot-5.png

8 Continue at step 5 in this tutorial (click on link) to clean install Windows 11 to the attached VHDX file. (see screenshot below)

Native_boot_Windows11_at_boot-6.png

9 When you get to step 10 in the clean install tutorial (click on link), select the Unallocated Space that is for the attached VHDX created from step 5.

Native_boot_Windows11_at_boot-7.png

10 When you have finished with the clean install of Windows 11 to the attached VHDX, Windows 11 will be the default OS in your dual boot with the attached Windows 11 VHDX and installed Windows 10 or Windows 11 OS on PC.


That's it,
Shawn Brink


 
Last edited:
I have my previous Windows 10 Pro pre-upgrade (in Macrium backup form and virtualized in Hyper-v) and running Windows 11 Pro. I've tried varying scenarios such as a clean install of Windows on a virtual disk, but always get errors when trying to natively boot from them.

Since you have an existing VHDX, you can try the method below instead.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Since you have an existing VHDX, you can try the method below instead.

Thank you. But I saw that here and it inspired me to try it using that exact method. It failed. For those of you who have done this successfully, is there anything that needs to be done first? I've read about generalizing your system with SysPrep, but haven't tried that yet.

Thanks!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ThinkPad T470
Thank you. But I saw that here and it inspired me to try it using that exact method. It failed. For those of you who have done this successfully, is there anything that needs to be done first? I've read about generalizing your system with SysPrep, but haven't tried that yet.

Thanks!

Odd. You shouldn't need to do anything other than what's in the tutorial steps.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Just to confirm. do you have the Pro edition of Windows 11 installed on the PC. The Home edition will not support native boot from a VHDX.
You sure? Works in Home for me, both setting up....

1738327699537.webp


...and native booting.

1738328698314.webp
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
You sure? Works in Home for me, both setting up....

View attachment 123830

...and native booting.

View attachment 123831
Thanks to aoo lf you. I was able to complete the task successfully. It was a huge WIM file and ISO file, 67GB. For me this was just an experiment and to learn something new and I did just that. Thanks again.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ThinkPad T470

Latest Support Threads

Back
Top Bottom