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 Click/tap on the Previous Version of Setup link. (see screenshot below)

Previous_Version_of_Setup.webp

9 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

10 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

11 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'll let it continue in your other thread below so it's all kept together.


But the subject matter is not consistant.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 build 26200.9457Intel i7 8750H @ 2.2 GHz16 GB (all Samsung) DDR4-3200 SODIMM (non-ECC...Intel UHD Graphics 630 & NVIDIA Quadro P600
OS
Windows 11 Pro 25H2 build 26200.9457
Computer type
Laptop
Manufacturer/Model
Lenovo ThinkPad Workstation P72
CPU
Intel i7 8750H @ 2.2 GHz
Motherboard
Lenovo 01YU291
Memory
16 GB (all Samsung) DDR4-3200 SODIMM (non-ECC) PCIe 3
Graphics Card(s)
Intel UHD Graphics 630 & NVIDIA Quadro P600
Sound Card
Realtek ALC3286 & Focusrite Saffire 24 Pro DSP
Monitor(s) Displays
17.3"
Screen Resolution
3840x2160
Hard Drives
1TB SSD Samsung 860 EVO SATA 3
1TB SSD Samsung 970 EVO M.2 NVMe PCIe 3 x 4
2TB SSD Samsung 990 PRO M.2 NVMe PCIe 3 x 4
PSU
230W
Cooling
fan
Keyboard
UltraNav
Mouse
Kensington wireless Orbit
Internet Speed
640Mbps
Browser
DuckDuckGo and Firefox
Antivirus
Defender
Other Info
CM246 Chipset
But the subject matter is not consistant.

Yep. It would be best to create a new thread for different subjects/issues instead of posting them all in the same thread like that causing confusion.

If you're trying to use the same VHDX in Hyper-V that you are currently using to dual boot, it won't work.

Normally, you could copy the VHDX created by Hyper-V to another location to use for the dual boot. This way they will be separate.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
    Microsoft Defender
Yep. It would be best to create a new thread for different subjects/issues instead of posting them all in the same thread like that causing confusion.

If you're trying to use the same VHDX in Hyper-V that you are currently using to dual boot, it won't work.

Normally, you could copy the VHDX created by Hyper-V to another location to use for the dual boot. This way they will be separate.

Ah, I see. Okay, I'll copy it a new Hyper-V. Thanks, Brink.

Kind regards,

tecknot
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 build 26200.9457Intel i7 8750H @ 2.2 GHz16 GB (all Samsung) DDR4-3200 SODIMM (non-ECC...Intel UHD Graphics 630 & NVIDIA Quadro P600
OS
Windows 11 Pro 25H2 build 26200.9457
Computer type
Laptop
Manufacturer/Model
Lenovo ThinkPad Workstation P72
CPU
Intel i7 8750H @ 2.2 GHz
Motherboard
Lenovo 01YU291
Memory
16 GB (all Samsung) DDR4-3200 SODIMM (non-ECC) PCIe 3
Graphics Card(s)
Intel UHD Graphics 630 & NVIDIA Quadro P600
Sound Card
Realtek ALC3286 & Focusrite Saffire 24 Pro DSP
Monitor(s) Displays
17.3"
Screen Resolution
3840x2160
Hard Drives
1TB SSD Samsung 860 EVO SATA 3
1TB SSD Samsung 970 EVO M.2 NVMe PCIe 3 x 4
2TB SSD Samsung 990 PRO M.2 NVMe PCIe 3 x 4
PSU
230W
Cooling
fan
Keyboard
UltraNav
Mouse
Kensington wireless Orbit
Internet Speed
640Mbps
Browser
DuckDuckGo and Firefox
Antivirus
Defender
Other Info
CM246 Chipset
Back
Top Bottom