[Bug Report] - Problem selecting Windows edit and modifying/creating
I have read the known issues
- [x] Yes, I did
Version of WinUtil
26.08.19
What part of WinUtil are you having issues with?
Win11 Creator Tab
Description of the issue
When I start the process using the official ISO image, the Windows edition selected by default is Windows Family. Then I select Windows Pro, but after mounting and verification, a problem occurs.
List of Applied Tweaks
No response
Paste the full error output (if available) or Screenshot or Video.
No response
WinUtil does not recognize the French edition name “Professionnel.” This makes Family the default and skips one edition setting. The ISO process still completes though. When you start Windows Setup, does it select Family or Pro?
When starting the Windows installation, I tried selecting both the Family and Pro versions, but neither worked. I also tried downloading the English ISO which selects the Pro version by default but that didn't work either.
I just tested it with the new version, 26.10.07. I downloaded the French version of Windows 11 and tested both the Family and Pro editions. Neither of them works—here are the screenshots.
I also downloaded the English version, and it seems to work.
Hi @mewclouds, I looked into this one. Your diagnosis matches what I found, and I think it also explains @V1r61l3's latest result (English works, French fails for both editions):
- The default selection (
Invoke-WinUtilISO.ps1, regexWindows 11 Pro(?![\w ])) andGet-WinUtilEditionIdFromNameboth match English image names only. So a French ISO preselects index 0 (Famille), andei.cfgis skipped for every edition. - Before #4862, the EditionID was read from the image in a locale-independent way (#4791), so localized ISOs lost
ei.cfgfrom 26.07.28 onward. On a machine with an OEM firmware key for a different edition, that is the "Setup has failed to validate the product key" case #4791 was added for. Get-WindowsImage -ImagePath <wim> -Index <n>returns a language-independentEditionId(Professional,Core, …) without mounting. Using that for both the Pro preselection and theei.cfgvalue would fix this for every language. The current English name match would stay as a fallback.
Happy to send a small PR for that (one file plus a Pester case with French image names), unless you're already on it.
@V1r61l3 fixed in #5161. Will be in a future release.
Thank you very much. You are very responsive.