Page 1 of 1
[SOLVED] WADS - Windows 11
Published: May 31, 2022 - 5:11 PM
by smandel
Hello,
I'm unable to deploy Windows 11 using WADS. I'm getting an error message stating that the Windows installer cannot format the partition (0x80300024).
WinPE creates the partitions perfectly beforehand, so I don't understand...
I have no issues with the same answer file under Windows 10.
Do you have any ideas?
Thank you.
Re: WADS - Windows 11
Published: June 1, 2022 - 12:44 PM
by sfonteneau
Good morning
I just noticed that the latest release does not include the win11_with_join_ad_offline.xml and win11_with_join_ad_online.xml files
The files are indeed on our internal Git repository and in the latest nightly version, but not in the release version
Actually, Windows 11 has a bug with its installer
In the XML files of Windows 7 to Windows 10, one could use
Code: Select all
<InstallToAvailablePartition>true</InstallToAvailablePartition>
which tells the installer that it must find the partition it needs to use on its own, resulting in:
Code: Select all
<OSImage>
<InstallToAvailablePartition>true</InstallToAvailablePartition>
<InstallFrom>
<Path>install.wim</Path>
<MetaData>
<Key>/IMAGE/FLAGS</Key>
<Value>Professional</Value>
</MetaData>
</InstallFrom>
</OSImage>
But under Windows 11 it crashes with the error you describe, so you need to specify the partition where Windows 11 should be installed: 3 for UEFI and 2 for legacy
Code: Select all
<OSImage>
<InstallTo>
<PartitionID>3</PartitionID>
<DiskID>0</DiskID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<Path>install.wim</Path>
<MetaData>
<Key>/IMAGE/FLAGS</Key>
<Value>Professional</Value>
</MetaData>
</InstallFrom>
</OSImage>
So you can edit your XML and it will be fine
Re: [SOLVED] WADS - Windows 11
Published: June 1, 2022 - 3:45 PM
by smandel
I'll try that right away!
Thanks

Re: [SOLVED] WADS - Windows 11
Published: June 1, 2022 - 3:57 PM
by smandel
Perfect, it works!

I also have a problem with the Windows 10 to Windows 11 migration package, but I'll start a separate thread for that.
Thanks again
