Page 1 sur 1

[RESOLU] WADS - Windows 11

Publié : 31 mai 2022 - 17:11
par smandel
Bonjour,

impossible de déployer Windows 11 avec WADS, j'ai un erreur comme comme quoi le programme d'installation Windows ne peut pas formater la partition (0x80300024).
Le WinPE crée très bien les partitions en amont donc je ne comprends pas...
Aucun soucis avec le même fichier de réponse sous Windows 10.
Auriez vous des idées ?
Merci.

Re: WADS - Windows 11

Publié : 01 juin 2022 - 12:44
par sfonteneau
Bonjour

Je viens de m'apercevoir que la dernière release n'inclus pas les fichier xml win11_with_join_ad_offline.xml et win11_with_join_ad_online.xml
Les fichiers sont bien sur notre git interne et dans la dernière version nightly mais pas en release

En faite windows11 a un bug avec son installeur

Dans les xml de windows7 a windows 10 on pouvait utiliser

Code : Tout sélectionner

<InstallToAvailablePartition>true</InstallToAvailablePartition>
qui signifie a l'installeur qu'il doit trouver tout seul la partition qu'il doit utiliser ce qui donne:

Code : Tout sélectionner

			
				<OSImage>
					<InstallToAvailablePartition>true</InstallToAvailablePartition>
					<InstallFrom>
						<Path>install.wim</Path>
                                               <MetaData>
                                                     <Key>/IMAGE/FLAGS</Key>
                                                           <Value>Professional</Value>
                                                </MetaData>
					</InstallFrom>
				</OSImage>
mais sous windows 11 cela plante avec l'erreur que vous décrivez il faut donc spécifier la partition où windows 11 doit être installer donc 3 pour uefi et 2 pour legacy :

Code : Tout sélectionner

					
				<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>
Vous pouvez donc éditer votre xml et ce sera bon

Re: [RESOLU] WADS - Windows 11

Publié : 01 juin 2022 - 15:45
par smandel
J'essaye ça tout de suite !
Merci 👍

Re: [RESOLU] WADS - Windows 11

Publié : 01 juin 2022 - 15:57
par smandel
Parfait ça marche 👍
J'ai aussi un problème avec le package de migration de windows 10 vers windows 11 mais je vais ouvrir un post dédié.
Encore merci 👍