[SOLVED] WADS - Windows 11

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

May 31, 2022 - 5:11 PM

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.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 1, 2022 - 12:44

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
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

June 1, 2022 - 3:45 PM

I'll try that right away!
Thanks 👍
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

June 1, 2022 - 3:57 PM

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 👍
Locked