We have noticed that our Windows 10 ImageX image fails to apply on hard drives that have never had an OS installed. Is there a way to resolve this issue? Here is the DiskPart commands we are using to prepare the hard drive for the image. If we apply our Windows 7 ImageW image to the drive first then we can use the ImageX image without issue.
Thanks
x:\windows\system32\diskpart.exe /s X:\win10_UEFI.txt
win10_UEFI.txt:
select disk 0
clean
convert gpt
rem == 1. System partition =========================
create partition efi size=500
format quick fs=fat32 label="System"
assign letter="S"
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=128
rem == 3. Windows partition ========================
rem == a. Create the Windows partition ==========
create partition primary
rem == b. Create space for the recovery tools ===
shrink minimum=1000
rem == ** NOTE: Update this size to match the size of the recovery tools (winre.wim) plus free space **
rem == c. Prepare the Windows partition =========
format quick fs=ntfs label="Windows"
assign letter="C"
rem === 4. Recovery tools partition ================
create partition primary
format quick fs=ntfs label="Recovery tools"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
exit