die Lösung war eigentlich sehr einfach:
mit einer modifizierten autounattend.xml hat es nicht geklappt, aber wenigstens benutzt das Windows 11 Setup jetzt wieder die alte Setup-Routine und damit läuft auch die autounattend.xml. Das war ja das Ziel.
Man nehme eine Windows 11 22H2 (evtl .geht auch 23H2 ?) kopiere den Inhalt auf die Festplatte, ersetze die install.wim im Sources-Ordner durch die eigene install.wim (hier: kastrierte Version von Windows 11)
https://github.com/ntdevlabs/nano11
und baue daraus wieder eine ISO mit der autounattend.xml im Wurzelverzeichnis (z.B. mit oscdimg.exe)
viewtopic.php?p=442159&hilit=ISO2VM#p442159
Für die oscdimg.exe braucht man nicht mehr das komplette ADK von MS herunterladen:
entweder gibt es die noch bei @g-force oder einfach mit Winget:
ich glaube, so etwas nennt man dann "Frankenbuild"
viewtopic.php?p=403220&hilit=frankenbuild#p403220
Andere haben das Problem mit einer modifizierten winpeshl.ini gelöst:
https://www.elevenforum.com/t/w11-24h2- ... ost-661506
for anyone that dont want the hassle of editing the iso file what i did and worked for me (windows 11 25h2 build: 26200):
1. Save the following content as winpeshl.ini (thanks to @Young Min Oh)
[LaunchApps]
%SystemDrive%\setup.exe /legacy
2. open the windows 11 iso with 7zip navigate to sources folder and extract boot.wim
3.open the extracted boot.wim with 7 zip navigate to Windows\System32 and drop winpeshl.ini in there and exit 7zip it will ask you if you want to save it press yes
4.use rufus to make a usb with the original win 11 iso after it finish open the usb and go to the "sources" folder and replace boot.wim file with the one we crated in step 3, Done
i tried to add my unattended.xml file in the usb and it work normally (my xml file answer all the question all the way to the desktop and even run custom script all of them worked)
The whole point for switching to old setup for me is on the hard drive selection tab i use "tab" on the keyboard to quickly select partitions and delete them , in the new UI you need to use the mouse or like 8 tabs to reach the partitions i hate it as an it that do alot of formats daily, hope that help someone.