Installing Windows 11 - 24H2 to a VHD or VHDX no longer works


sfernley

New member
Local time
6:57 PM
Posts
10
Visit site
OS
Windows 11
I've tried to install Windows 11 - 24H2 to a virtual disk VHD file. The installation gets to the end but then reports "Install Failed".

This worked ok on all versions earlier than 24H2. I wonder if it's a bug or intentionally blocked by Microsoft?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop

My Computer

System One

  • OS
    Windows 11 Home 24H2 26100.2894
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion TP01-2xxx
    CPU
    AMD Ryzen 3 5300G
    Memory
    8gb
    Graphics Card(s)
    Radeon Graphics 4.00GHZ
    Monitor(s) Displays
    ViewSonic
    Keyboard
    HP
    Mouse
    wireless Microsoft
    Browser
    FireFox
    Antivirus
    Avira
I've tried to install Windows 11 - 24H2 to a virtual disk VHD file. The installation gets to the end but then reports "Install Failed".

This worked ok on all versions earlier than 24H2. I wonder if it's a bug or intentionally blocked by Microsoft?
Hard to say. Definitely not blocked as I have done it myself.

Are you using vhdx file?

The size of the vhdx drive needs to be smaller than spare space on physical hard drive (allow extra 20 GB for temporary files).

So if hard drive has 200GB spare, max size of VHDX file should be 180 GB or less.

Also is pc Win11 compatible?
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
I didn't follow that particular tutorial but what I did was very similar. I've done this successfully many times on different computers.

I've even created a tutorial for this on Youtube:

But since version 24H2 was released a couple of weeks ago, this version won't do a successful clean install.
It gets to the end of the install but then fails with "Installation Failed". And the OS will not boot.

The fact that it allows you to go through the install suggests Microsoft is not blocking it, so perhaps it's a bug with 24H2.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
You have not answered my questions in post 3.

I do not think it is a bug with 24H2 - more likely something is not quite right on your pc.

Turn off all AV packages temporarily
Run following from admin command prompt

Code:
chkdsk c: /f

and reboot
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Working fine on my sysyem - latest Canary build

Skjámynd 2024-10-20 103844.png

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

cereberus


Are you using vhdx file?
Yes

The size of the vhdx drive needs to be smaller than spare space on physical hard drive (allow extra 20 GB for temporary files).
Yes, the size of the VHD is smaller than spare space on the physical disk.

So if hard drive has 200GB spare, max size of VHDX file should be 180 GB or less.
I know.

Also is pc Win11 compatible?
Yes, I've tried this on a physical laptop that meets the minimum Windows 11 requirements.
I've also tried this is on a Hyper-V VM that meets the Windows 11 requirements.
I've redownloaded the 24H2 ISO and also tried with the latest Canary build.

I'm doing a CLEAN install.
I'm booting from the 24H2 ISO file.
At the point where Setup asks me where I want to install Windows to, I mount my VHDX file then refresh the destination list.
I select the virtual disk to install Windows to.
I've used this method many, many times before using earlier versions of Windows 11. The last version that works is 23H2.
I can confidently say that Installing Windows 11 24H2 (Clean installation) to a VHD or VHDX file does not currently work.
The installation proceeds as normal, but near the end of the installation, it fails with this error.

1729422637392.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Jimbo

That's interesting. What method did you use to install that Canary version of Windows?

Was it a Clean Install or an In-Place upgrade from an earlier version of Windows?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
I can tell you with 100% certainty that 24H2 can be installed to a VHD and then used in a dual boot scenario. I have done it several times now, as recently as 2 days ago with the latest 24H2 build. I was doing some testing with sysprep and was using Windows installed to a VHD as my reference system. The irony is that my syspreped image always seems to fail with the very same "installation failed" message.

Maybe we should compare how we are creating the VHD and deploying Windows to it. If I have a chance later, I'll see if I can find my notes on the topic. I automated the deployment of windows to a VHD a couple of years ago, so I don't even recall the step-by-step from memory right now.

I'll post back once I can give you a step-by-step for what is working for me.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Kamrui Mini PC, Model CK10
    CPU
    Intel i5-12450H
    Memory
    32GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    1 x 4TB 2.5" SSD
    PSU
    120W "Brick"
    Keyboard
    Corsair K70 Mechanical Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

hsehestedt


How did you install Windows 11 - 24H2 to the VHD?

Did you do a clean install? Or some other deployment method, like using DISM or other deployment tool?

I'm not disputing other deployment methods, but doing a normal clean install, eg. Booting from the 24H2 ISO file, mounting the VHD, then choosing the VHD as the destination to install Windows always fails. It worked fine for 23H2 and earlier.

If you want to see the exact method I'm using for creating the VHD and how I mount it and install to it, then check out the Youtube video in Post no 4. That is the method I'm using (and I created that video by the way).
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
I've even created a tutorial for this on Youtube:
I've used this method many, many times before using earlier versions of Windows 11. The last version that works is 23H2.
I can confidently say that Installing Windows 11 24H2 (Clean installation) to a VHD or VHDX file does not currently work.
Welcome to Eleven Forum.

I'm no stranger to vhdx native boot myself....

1722254976241-png.102565


I've watched your video. In that you created a 50GB dynamically expanding VHDX. What size of virtual disk are you using for 24H2? Is it still 50GB? If so, maybe that's the issue. The minimum requirement for Windows 11 is supposed to be a 64GB disk.
 

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 (and all my Hyper-V VMs).

    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 the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
  • 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 (and all my Hyper-V VMs).

    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 the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
Bree, I've also tried it with an 80GB size VHD. I'm not doing anything any different than what I've done successfully with 23H2 and earlier.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Welcome to Eleven Forum.

I'm no stranger to vhdx native boot myself....

1722254976241-png.102565


I've watched your video. In that you created a 50GB dynamically expanding VHDX. What size of virtual disk are you using for 24H2? Is it still 50GB? If so, maybe that's the issue. The minimum requirement for Windows 11 is supposed to be a 64GB disk.
Sure but it would not even allow it to install?

However this does seem to be the most likely cause as you need quite a bit of space for temporary files. I use a minimum of 80 GB with no issues.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Sorry for the slow response. I was not yet up and in front of my primary system :-).

Below are my raw notes on this topic. You can, of course, alter things like the size of the recovery partition, drive letters used, etc. I have reasons for using the values I show in my notes, but feel free to use what works best for you.

If you have any questions on this procedure, do let me know.

DETAILED PROCEDURE

1) Create a VHD

NOTE: The commands below assume you are creating the VHD on F: and naming the VHD WIN11PRO.vhdx with a size of 100 GB, a recovery partition of 2GB, and drive letter W:. Modify the commands to fit your needs. While there are ways to install Windows to a VHD on a BitLocker encrypted drive, there are some special steps needed that we will not go into here. Avoid installing to a BitLocker encrypted drive for this procedure.

Run the following commands from an elevated command prompt:

diskpart
create vdisk file=F:\W11PRO.vhdx maximum=102400 type=expandable
attach vdisk
convert gpt
create partition efi size=260
format quick fs=fat32 label="System"
create partition msr size=128
create partition primary
shrink minimum=2048
format quick fs=ntfs label="Windows"
assign letter="W"
create partition primary
format quick fs=ntfs label="WinRE"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
exit

2) Run the following commands to apply the image to the VHD:

Make sure to use the index number associated with the edition of Windows you want to install. To get a list of Windows editions on your media and the associated index number, run this command:

dism /Get-WimInfo /WimFile:I:\Sources\install.wim

Note that the path references the location of the install.wim file located in your mounted Windows image or a folder on your HDD.

Now, run these commands. The first line is long and may wrap in this document. It ends with /applydir:W:\. You can replace W: with another letter.

dism /apply-image /imagefile:I:\sources\install.wim /index:6 /applydir:W:\
bcdboot W:\Windows
bcdedit /set {default} description "Win11 PRO (VHDX)"

In the above commands we are making the virtual disk the default boot option. We do this to avoid premature boot to the primary OS. You can change this later.

We will now boot the instance of Windows in the VHD and allow setup to proceed, up to a point. Reboot the system. A menu showing the new VHD and your original primary Windows installation will be shown. Select the VHD or allow it to timeout to boot the VHD. Windows setup will run, and the system will reboot. Allow it to once again boot the VHD.

IMPORTANT: If you are installing the same edition of Windows 10 or 11 (Home, Pro, etc.) as is already installed and activated on this system, then this installation will also activate, and you will be able to fully personalize Windows. Note that this holds true even if your primary OS is Windows 10, but you are installing Windows 11 to the VHD. If Windows does not activate, you may need to select the option to troubleshoot activation, but it should then activate successfully. However, if you are installing a different edition of Windows, then you should make certain that you disable any Ethernet connection BEFORE you boot into this instance of Windows. If the system finds an Internet connection, you will lose the ability to perform many personalization tasks.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Kamrui Mini PC, Model CK10
    CPU
    Intel i5-12450H
    Memory
    32GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    1 x 4TB 2.5" SSD
    PSU
    120W "Brick"
    Keyboard
    Corsair K70 Mechanical Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Bree, I've also tried it with an 80GB size VHD. I'm not doing anything any different than what I've done successfully with 23H2 and earlier.
Well I've just tried a clean install of 24H2 to an 80GB expanding .vhdx using a fully supported PC and seen the same error.

1729430025533.png

Can't see why though. The install seems to have created all the required folders in the vhdx, and the necessary boot entry to complete the install.

1729430135057.png
 

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 (and all my Hyper-V VMs).

    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 the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
  • 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 (and all my Hyper-V VMs).

    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 the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
Well I've just tried a clean install of 24H2 to an 80GB expanding .vhdx using a fully supported PC and seen the same error.

View attachment 113295

Can't see why though. The install seems to have created all the required folders in the vhdx, and the necessary boot entry to complete the install.

View attachment 113296
I just literally installed it a few minutes ago using dism method and oobe/bypassnro method (which cuts out all the updates during oobe) and it worked first time.

VHD is annoyingly set up as bitlock encrypted ready and I had to activate it and turn it on then off (only took a couple of minutes).

Oh nuts - just installed 23H2. Have to do it again with 24H2.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
I just literally installed it a few minutes ago using dism method and oobe/bypassnro method (which cuts out all the updates during oobe) and it worked first time.

VHD is annoyingly set up as bitlock encrypted ready and I had to activate it and turn it on then off (only took a couple of minutes).

Oh nuts - just installed 23H2. Have to do it again with 24H2.
@Bree, @sfernley

I can confirm Dism installation method worked fine on my device for 24H2.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
@Bree, @sfernley

I can confirm Dism installation method worked fine on my device for 24H2.
Dism works fine for both 23H2 and 24H2 (and 23H2 can be updated via standard WU if you don't want to install from scratch) -- no problems with using vhdx files.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
My point was that the usual Windows installation method which works ok up until 23H2 no longer works on 24H2.
It's good to know that applying an image using DISM still works though so I really appreciate you testing it. I'm hoping Microsoft fix this in a later build, but it's not the end of the world. Can use DISM if I need to.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
My point was that the usual Windows installation method which works ok up until 23H2 no longer works on 24H2.
It's good to know that applying an image using DISM still works though so I really appreciate you testing it. I'm hoping Microsoft fix this in a later build, but it's not the end of the world. Can use DISM if I need to.
Yep definitely a bug - I get same issue.

However, there is a way to make it work.

1) install 24h2 to a new vhdx in Hyper-V - for some bizarre reason that works!

2) shut down vm in Hyper-V, mount vhdx as a drive, assign main OS partition a drive letter e.g. M and create native boot entry.

Notes

These notes would apply to an extent even if installing to vhdx on host.

1) If host requires nvme drivers you need to inject them into boot.wim and install.wim. You cannot select them at boot time in a vm install like on a host install.

2) Due to an annoying change in oobe, it automatically installs updates to .2033 update but you can uninstall the update.

3) It is harder to install as a local account - I do not know of a way to get to a command prompt in a vm to run bypassnro.
However, old trick of selecting to install to a domain and entering false account fake.com and garbage password a couple of times causes it to give up and allows you to set up a local account.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Back
Top Bottom