Solved Installing Windows 8 on a vhd, error 0x80300024

Snakola

New member
Local time
12:34 PM
Messages
3
Hey there,

Here's my problem: I'm trying to install windows 8 consumer preview onto a virtual hard disk using the method outlined here:

Guide to Installing and Booting Windows 8 Developer Preview off a VHD (Virtual Hard Disk) - Scott Hanselman

Essentially, the method states: create DVD ISO, open diskpart during the windows 8 installation, create a vhd, attach said vhd, make windows 8 install on the vhd.

Simple enough, until I encountered error 0x80300024 when I tried to put w8 on my virtual disk: "We couldn't install Windows in the location you chose."

Here is my computer/vhd configuration:

Disk 0 = SSD w/ Windows 7 Ultimate 64x OS, MBR, Basic
Disk 1 = HDD, GTP, Basic, With general data on it

For the vhd, I am storing it on my non-OS drive, Disk 1, so the HDD (format GTP) is housing the vhds. I have made expandable (dynamically expanding) volumes varying from 50 to 100GB. I have tried leaving them unformatted (RAW), as well as formatting them to MBR +NTFS + Basic, before creating partitions through diskpart. I assume that although the root drive is GTP, since the vhds are formatted to MBR then they can have an OS written to them.

The main problem with this error (from the hours of stalking other threads here) seems to be partitioning difficulties. Here are some of the things I've tried that I have seen advised on this forum:

I have tried cleaning the vhds using 'clean' on diskpart, and then adding a primary partition, as well as trying to have 2 primary partitions for the 1 vhd post-clean.
I have tried cleaning, adding partitions and then formatting the vhd after.
I have tried unplugging all my other drives (Disk 0, my SDD) from the Mobo, leaving only the target drive there.
I have unplugged all usb devices, including the mouse.
I have used bcdedit in prep for w8 boot, but this is an extraneous step for w8 I realised...
I have changed the boot order of my HDDs in the BIOS menu so that the drive I am trying to install windows on is priority.

The only thing I have not tried to do is use the 'clean all' function on diskpart. Perhaps I should use 'clean all' on the vhd, although I am wary that it will erase the entire HDD and not just the vhd. When I use the command 'list disk' on diskpart, the vhd comes up as a separate disk to my HDD, of course, but from what I've heard, 'clean all' is hard drive specific, not disk specific, and wipes the entire drive clean, no matter how many disks may be on there. Is this the case?

If you have any suggestions, or I have overlooked anything, please feel free to jump in!

Thank you kindly guys, I really appreciate any help I can get.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Last edited:

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hello Snakola, and welcome to Seven Forums.

I haven't tried this with the Windows 8 CP yet, but you might see if you may be able to do this using the method in either tutorial below, and just substitute anything Windows 7 with Windows 8 instead.

Windows 8 VHD - Create at Boot to Dual Boot with - Windows 8 Forums


Hope this helps,
Shawn

Hey Shawn, thanks for the welcome! :)

The method you linked me to is the method I've been using so far to try and install Windows 8 CP, but I keep getting the 0x80300024 error after I create the vhd, attach the vhd and then try and install w8 CP onto the unallocated space partition.

This is the main problem I am encountering.
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Snakola,

I just had a thought. Is the drive/partition letter that you are trying to install Windows 8 to set to boot to automatically at startup? If not, set it to be so to see how doing the tutorial works afterwards.

http://www.sevenforums.com/tutorials/2282-default-operating-system-change-default-boot-os.html

The drive I am trying to install windows 8 onto isn't bootable at startup, yet. Since it is a vhd, I have already created a boot menu using BCDedit in preparation for when I install windows 8 onto the virtual drive. I have tried assigning my partition a letter, but I don't think that has helped.

But I just found a way to install windows 8 on my original OS SSD using vhds. I unplugged my data HDD, created a new vhd on the OSS drive and then tried to install to it. Bingo, worked like a charm.

Thanks so much Shawn for your patience and time :)

Alas, the mystery of 0x80300024 remains unsolved for my other drive; spooky :)
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
I'm happy to hear that you got it sorted. Thank you for posting back with your results. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top