Solved Getting Error code 0x80300024 While Trying to DualBoot Win11 on separate drive


EvilMonk

New member
Local time
2:30 PM
Posts
3
OS
Windows 11
Trying to Install Window's 11(24H2) with a Diskpart Script, On Disk 1 (1 tb SSD Unallocated).

The Script is as Follows :

SELECT DISK=1
CLEAN
CONVERT GPT
CREATE PARTITION EFI SIZE=300
FORMAT QUICK FS=FAT32 LABEL="System"
CREATE PARTITION MSR SIZE=16
CREATE PARTITION PRIMARY SIZE=716800
FORMAT QUICK FS=NTFS LABEL="Windows"
ASSIGN LETTER="S"
CREATE PARTITION PRIMARY SIZE=4096
FORMAT QUICK FS=NTFS LABEL="Recovery"
SET ID="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
GPT ATTRIBUTES=0x8000000000000001

But Getting this Error EveryTime.

IMG20250201220347.webp
 
Windows Build/Version
24H2 (26100)
Last edited by a moderator:

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo LoQ 15
format quick fs fat32
format quick fs ntfs


not format quick fs-fat32

PS. 4 GB is really too big for Recovery, unless you plan on staging something inside. 800-1024 MB is good enough.
 

My Computer

System One

  • OS
    Windows 7
Sorry that was a typo in the Question (Fixed it )
But It still show's the same error after reducing the Recovery partition size.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo LoQ 15
You don't have boot into WinPE to test your diskpart commands. Run diskpart from the live Windows, and copy/paste each line and see if you've committed some error. Don't forget to confirm you're on the right disk, by running "list disk" beforehand.

Code:
select disk 1
clean
convert gpt
create partition efi size=100
format quick fs=fat32 label="System"
create partition msr size=16
create partition primary
shrink minimum=1024
format quick fs=ntfs label="Windows"
create partition primary
format quick fs=ntfs label="Recovery"
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
 
Last edited:

My Computer

System One

  • OS
    Windows 7
Thanks for the Help, much appreciated.....!!!!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo LoQ 15

Latest Support Threads

Back
Top Bottom