winutil icon indicating copy to clipboard operation
winutil copied to clipboard

[Bug Report] - Problem selecting Windows edit and modifying/creating

Open V1r61l3 opened this issue 2 months ago • 6 comments

Image Image

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.

Image Image

List of Applied Tweaks

No response

Paste the full error output (if available) or Screenshot or Video.

No response

V1r61l3 avatar Sep 28 '26 17:09 V1r61l3

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?

mewclouds avatar Oct 03 '26 15:10 mewclouds

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.

V1r61l3 avatar Oct 09 '26 09:10 V1r61l3

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.

Image Image

V1r61l3 avatar Oct 09 '26 11:10 V1r61l3

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, regex Windows 11 Pro(?![\w ])) and Get-WinUtilEditionIdFromName both match English image names only. So a French ISO preselects index 0 (Famille), and ei.cfg is skipped for every edition.
  • Before #4862, the EditionID was read from the image in a locale-independent way (#4791), so localized ISOs lost ei.cfg from 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-independent EditionId (Professional, Core, …) without mounting. Using that for both the Pro preselection and the ei.cfg value 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.

PanagiotisKaraliolios avatar Oct 09 '26 19:10 PanagiotisKaraliolios

@V1r61l3 fixed in #5161. Will be in a future release.

mewclouds avatar Oct 10 '26 02:10 mewclouds

Thank you very much. You are very responsive.

V1r61l3 avatar Oct 10 '26 08:10 V1r61l3