Updated to 6691 Successfully from 6575 on EnterpriseG with 21H2 So basically ESU Suppressor worked for me that could install updates from WU successfully without errors
[26220.7523 Education amd64 en-US] Code: Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1 Removing package Microsoft-Windows-WinPE-Package~31bf3856ad364e35~amd64~~10.0.26100.1 [==========================100.0%==========================] The operation completed successfully. Code: Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.26100.1 [==========================100.0%==========================] The operation completed successfully. Code: ------------------------------------------------------------ Add Patchline Cumulative Update to Education image ------------------------------------------------------------ Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1742 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.7523.1.4 [==========================100.0%==========================] The operation completed successfully. Code: Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26220.7523 Starting to install product key... Finished installing product key. The operation completed successfully. ============================================================ Current Edition : Education (Retail) ============================================================
construct 19041.1 x64 enterpriseg (my universal script) Code: C:\construction>dism /logpath:logs\1.log /scratchdir:"C:\construction\temp" /image:mount /apply-unattend:1.xml || exit /b 1 Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Image Version: 10.0.19041.1 [==========================100.0%==========================] The operation completed successfully. C:\construction>dism /logpath:logs\2.log /scratchdir:"C:\construction\temp" /image:mount /add-package /packagepath:lp || exit /b 1 Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Image Version: 10.0.19041.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1 [==========================100.0%==========================] The operation completed successfully. C:\construction>copy mount\Windows\servicing\Editions\EnterpriseGEdition.xml mount\Windows\EnterpriseG.xml 1 file(s) copied. C:\construction>dism /logpath:logs\3.log /scratchdir:"C:\construction\temp" /image:mount /apply-unattend:mount\Windows\EnterpriseG.xml || exit /b 1 Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Image Version: 10.0.19041.1 The operation completed successfully. C:\construction>dism /logpath:logs\4-currentedition.log /scratchdir:"C:\construction\temp" /image:mount /get-currentedition /english || exit /b 1 Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Image Version: 10.0.19041.1 Current edition is: Current Edition : EnterpriseG The operation completed successfully. C:\construction>dism /logpath:logs\5-targetedition.log /scratchdir:"C:\construction\temp" /image:mount /get-targeteditions /english || exit /b 1 Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Image Version: 10.0.19041.1 Editions that can be upgraded to: (The current edition cannot be upgraded to any target editions.) The operation completed successfully. C:\construction>dism /unmount-image /mountdir:mount /commit Deployment Image Servicing and Management tool Version: 10.0.22621.2792 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. C:\construction>wimlib-imagex info install.wim 1 --image-property NAME=EnterpriseG --image-property DESCRIPTION=EnterpriseG --image-property FLAGS=EnterpriseG --image-property DISPLAYNAME=EnterpriseG --image-property DISPLAYDESCRIPTION=EnterpriseG Setting the NAME property of image 1 to "EnterpriseG". Setting the DESCRIPTION property of image 1 to "EnterpriseG". Setting the FLAGS property of image 1 to "EnterpriseG". Setting the DISPLAYNAME property of image 1 to "EnterpriseG". Setting the DISPLAYDESCRIPTION property of image 1 to "EnterpriseG". C:\construction>wimlib-imagex optimize install.wim "install.wim" original size: 2373062 KiB Using XPRESS compression with 8 threads Archiving file data: 5177 MiB of 5177 MiB (100%) done "install.wim" optimized size: 2372469 KiB Space saved: 593 KiB C:\construction>
Good. But it is barebone System without FoDs and Apps. It is applicable to old Systems. Q: Would the image work flawlessly when online? e.g. Can you Uninstall\Install Optional Features? You can't. Becasue 1. You did not install FoDs. 2. You did not install Language Features ---> You cannot use Keyboard or TouchPad.
added mediaplayer, notepad-fod and quickassist i will correct script to include fods and language features
Code: C:\>Dism /Image:C:\mount /set-Edition:EnterpriseG Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image Version: 10.0.17134.1 Editions that can be upgraded to: Error: 5023 The Windows edition was not detected. Check that the specified image is a valid Windows operating system image. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log C:\> Edit: I forgot to edit this line, now worked. Code: Edit name="Microsoft-Windows-ProfessionalEdition" to name="Microsoft-Windows-EnterpriseGEdition"
Is it possible to port .NET 4.8 into this image? Edit: I integrated .NET 4.8 first before changing edition.
Maybe better to just add, before rebuild Code: catalog.update.microsoft.com/Search.aspx?q=4486153 catalog.update.microsoft.com/Search.aspx?q=kb5001842 Dism /Image:D:\ /Add-Package /PackagePath:C:\windows10.0-kb4486153-x64_43ee33b302bfdba470542a128a9ee0b58faa5412.msu Dism /Image:D:\ /Add-Package /PackagePath:C:\windows10.0-kb5001842-x64-ndp48_a0c5ebc50ea4473684c495fcb02fa8d7af61b3df.msu Code: * catalog.update.microsoft.com/Search.aspx?q=4486153 catalog.update.microsoft.com/Search.aspx?q=kb5001842 * PowerRun cmd: copy C:\mum\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1.cat D:\Windows\servicing\Packages copy C:\mum\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1.mum D:\Windows\servicing\Packages Reg.exe load HKLM\zSOFTWARE D:\Windows\System32\config\SOFTWARE Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallClient" /t REG_SZ /d "DISM Package Manager Provider" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallName" /t REG_SZ /d "Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1.mum" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallLocation" /t REG_SZ /d "\\?\d:\os\bin\amd64fre\csi\pkgs\\" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "CurrentState" /t REG_DWORD /d "112" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "SelfUpdate" /t REG_DWORD /d "0" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "Visibility" /t REG_DWORD /d "1" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallTimeHigh" /t REG_DWORD /d "30659135" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallTimeLow" /t REG_DWORD /d "2393654328" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /v "InstallUser" /t REG_SZ /d "S-1-5-21-2168423102-1571524112-2211856714-1033" /f Reg.exe add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1\Owners" /v "Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /t REG_DWORD /d "131184" /f Reg.exe unload HKLM\zSOFTWARE * Dism /Image:D:\ /Add-Package /PackagePath:C:\windows10.0-kb4486153-x64_43ee33b302bfdba470542a128a9ee0b58faa5412.msu Dism /Image:D:\ /Add-Package /PackagePath:C:\windows10.0-kb5001842-x64-ndp48_a0c5ebc50ea4473684c495fcb02fa8d7af61b3df.msu * PowerRun cmd: Reg.exe load HKLM\zSOFTWARE D:\Windows\System32\config\SOFTWARE Reg.exe delete "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1" /f Reg.exe unload HKLM\zSOFTWARE del D:\Windows\servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1.cat del D:\Windows\servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17134.1.mum * Dism /Image:D:\ /Cleanup-Image /StartComponentCleanup /ResetBase * PowerShell online cmd to check version: Code: if (releaseKey >= 533320) return "4.8.1 or later" if (releaseKey >= 528040) return "4.8" if (releaseKey >= 461808) return "4.7.2" if (releaseKey >= 461308) return "4.7.1" if (releaseKey >= 460798) return "4.7" if (releaseKey >= 394802) return "4.6.2" if (releaseKey >= 394254) return "4.6.1" if (releaseKey >= 393295) return "4.6" if (releaseKey >= 379893) return "4.5.2" if (releaseKey >= 378675) return "4.5.1" if (releaseKey >= 378389) return "4.5" (Get-ItemPropertyValue -LiteralPath 'HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' -Name Release) -ge 528040