OSDeploy / OSDCloud

OSDCloud is a process to fully deploy a Windows OS from a WinPE Environment
https://osdcloud.osdeploy.com
63 stars 14 forks source link

Windows 10 Pro NL is installing Education N NL version #13

Closed hogendoorn closed 2 years ago

hogendoorn commented 2 years ago

Describe the bug When i try to instal Windows 10 Pro NL Windows 10 Education N version is actually installed.

To Reproduce Steps to reproduce the behavior: See screenshots.

Expected behavior Installing the correct version.

Screenshots Screenshot_6 Screenshot_7

OSDeploy commented 2 years ago

Thanks. Do you have any idea on what the proper Index should be?

hogendoorn commented 2 years ago

@OSDeploy After downloading:

image

and running: dism /Get-WimInfo /WimFile:D:\OSDCloud\OS\19044.1288.211006-0501.21h2_release_svc_refresh_CLIENTCONSUMER_RET_x64FRE_nl-nl.esd

image

Is this good info for the change?

hogendoorn commented 2 years ago

Copying a install.wim to USB:\OSDCLOUD\OS from a downloaded iso is a good workaround so far. When selecting the right index it also installs the chosen index.

dennisvl92 commented 2 years ago

I have the same problem. I noticed that the imageindex gets adjusted 2 times. This results in the index getting changed from 9 to 7 instead of 8 screen

OSDeploy commented 2 years ago

Ok this helps. The issue is some media doesn't have Home Single Edition so I have to make a correction ... now I see it is being done twice. I'll get that tested this weekend, my apologies for the delay

OSDeploy commented 2 years ago

Most of the ESD's contain a Home Single Edition image, so this issue only happens on ESD's that do not contain this Windows Image. To correct this issue, I have resolved the error where the Index was shifted by -1 twice. So this should now work. As you can see from this screenshot, NL-NL Pro Retail is assumed to be Index 9 image

But since the Image count is less than expected, because Home Single Edition is not part of the ESD, the ImageIndex gets adjusted by -1. Additionally, I have added a listing of the Windows Images (greater than 3GB to hide the Windows Setup and WinPE indexes) so you can validate. Finally, after Expand-WindowsImage, I am running a Get-WindowsImage to return the installed Windows Image. I hope this works and I'll push this out in OSD 22.6.11.1. Let me know if this works and I can close this issue image

dennisvl92 commented 2 years ago

Yes it is working now. Thanks

hogendoorn commented 2 years ago

Sorry for the delay. But it works!