memstechtips / UnattendedWinstall

Personalized Unattended Answer Files that helps automatically debloat and customize Windows 10 & 11 during the installation process.
MIT License
3.47k stars 397 forks source link

Let Windows PE to autodetect Windows edition and product key from the UEFI tables #128

Closed bfg01 closed 2 months ago

bfg01 commented 2 months ago

I read that xmls from here and Schneegans generator all require forcibly specifying a Windows edition and product key, even if not used for immediate activation.

But Windows PE's (the Windows installer) default behavior is autodetecting them by reading the tables embedded in the UEFI.

What can I do in the xml to achieve this default behavior?

Thanks.

memstechtips commented 2 months ago

I have added entries that creates an ei.cfg file during that part of the windows setup, but it gets ignored by the Windows setup on the latest builds/ISO's of Windows. This is unrelated to the autounattend.xml answer file, it's an issue in the latest Windows builds.

A workaround is to click on the back button in the upper left corner when you get to the edition selection screen. The next time you see that screen it will display all available options.