Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unsupported Image Build [19042] #198

Open
ghysler opened this issue Oct 21, 2020 · 3 comments
Open

[BUG] Unsupported Image Build [19042] #198

ghysler opened this issue Oct 21, 2020 · 3 comments

Comments

@ghysler
Copy link

ghysler commented Oct 21, 2020

After running Start-Optimize.ps1 from an elevated PowerShell the following message returns:

Copying WIM from "S:\W10UI\DVD\sources"
WARNING: Unsupported Image Build: [19042]

  • Image Name: Windows 10 Pro
  • Image Build: 19042
  • Host Environment: Windows 10 Pro

Integrated 2020-10 updates into image from official 20H2 ISO with W10UI first, including Enablement Package (20H2). According to the changelog build 19042 should be supported. What am I missing here?

@strotee
Copy link

strotee commented Oct 21, 2020

This is by no means a final solution but a workaround that worked for me. Open Optimize-Offline.psm1 in your favorite text editor and go down to about line 240:

	If ($InstallInfo.Build -ge '17134' -and $InstallInfo.Build -le '19041')

Just remove the latter half and make it read:

	If ($InstallInfo.Build -ge '17134')

Or, if you're paranoid, comment out the above top line and make a copy of the bottom line, like this:

#		If ($InstallInfo.Build -ge '17134' -and $InstallInfo.Build -le '19041')
		If ($InstallInfo.Build -ge '17134')

(final edit) Or, just change 19041 to 19042.

Save and launch O-O again.

@ghysler
Copy link
Author

ghysler commented Oct 26, 2020

Thanks @strotee, that works like a charm as a workaround.

@strotee
Copy link

strotee commented Nov 15, 2020

Some additional information with a new release of O-O, the PowerShell file is listed along with line # for what should be changed (credit goes to drew84 at MDL):

\Optimize-Offline-4.0.1.7\Optimize-Offline.psm1
- Line 240 If (" " -and $InstallInfo.Build -ge '19041') changed from -le '19041')
- Line 450 If ($InstallInfo.Build -ge '19041') changed from -eq '19041')
- Line 493 If ($InstallInfo.Build -ge '19041') changed from -eq '19041')
- Line 613 If ($InstallInfo.Build -ge '19041') changed from -lt '19041')

\Optimize-Offline-4.0.1.7\Src\Public\Set-RegistryProperties.ps1
- Line 239 If (" " -ge '17763' -and $InstallInfo.Build -ge '19041') changed from -lt '19041')
- Line 247 If ($InstallInfo.Build -eq '19042' etc. etc) changed from -eq '19041')

\Optimize-Offline-4.0.1.7\Content\Additional\Setup\Set-Additional.ps1
-Line 184 If ($Build -ge 19041 and etc. etc) changed from -eq '19041')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants