Ibra86

W10UI.cmd changelog

Feb 7th, 2025 (edited)
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.29 KB | None | 0 0
  1. 10.56:
  2. - Add support for the new 26100+ RCU update "Package_for_RevisedFix"
  3.  
  4. 10.55:
  5. - Update ISO\sources\ServicingCommon.dll from install.wim for 26xxx builds
  6.  
  7. 10.54:
  8. - Change non-insider 26200 iso label to 25h2_ge_release
  9. - Move Enablement package installation order before .NET updates
  10. - Fix for 25H2 .NET Rollup mistakenly detected as .NET feature pack
  11.  
  12. 10.53:
  13. - Add workaround to avoid KB5043080 msu installation error
  14. - Install all SSUs for Windows 10 v1507 (LTSB 2015)
  15. - Fixed detecting EKB version and branch for latest Windows 11 24H2/25H2
  16.  
  17. 10.52:
  18. - Fixed WimCreateTime option when "Keep indexes: Selected"
  19.  
  20. 10.51:
  21. - Add detection for Windows 11 24H2 Dev build 26200 Enablement Package
  22.  
  23. 10.50:
  24. - "LCUmsuExpand" will be auto enabled for builds 26052+. Change to 2 to force disable
  25. - "UpdtBootFiles" will also update new UEFI CA 2023 boot files (see KB5053484)
  26. - Add workaround to change cleanup registry values for builds 27768+
  27. - Delete "DecompressOverride" cleanup registry value for builds 26052+
  28. - Add extra value for "ResetBase" with for builds 26052+:
  29. change value to 2 to run reset base cleanup after each LCU
  30. this option still require enabling Cleanup option
  31.  
  32. 10.49:
  33. - Add option "WimCreateTime" to change install.wim image creation time
  34. - Fix repacking psf+wim for multiple updates in the same AggregatedMetadata
  35.  
  36. 10.48:
  37. - Add type detection for Microcode and OOBE updates
  38. - Extend "LCUmsuExpand" option to support Windows 11 builds 22621-22635
  39. - Process msu wim files with wimlib-imagex.exe if "UseWimlib" option is enabled
  40. - Repack Windows 11 psf+wim or psf+cab into msu file
  41. requires matching UUP files:
  42. AggregatedMetadata cab
  43. DesktopDeployment cab, and/or SSU cab
  44.  
  45. 10.47:
  46. - 24H2: Add option "LCUmsuExpand":
  47. expand LCUs and install via update.mum, instead adding msu files directly
  48. default state is OFF
  49. - Update PSFExtractor code to support the new PA31 format, using UpdateCompression.dll
  50. - Detect Package_for_SafeOSDU update for all builds
  51. - 24H2: Match setuphost.exe version between ISO and boot.wim
  52.  
  53. 10.46:
  54. - 24H2: Always install/reinstall all LCU(s) one by one per version
  55. - 24H2: Remove the block for NetFx3 feature with multiple LCUs
  56.  
  57. 10.45:
  58. - All : Detect SSU(s) version, and install the highest only
  59. - 24H2: Detect LCU(s) version, and install the highest only (26052+)
  60. - 24H2: Fix SSU misdetection as .NET rollup in latest updates
  61. - 24H2: NetFx3 feature will not be enabled if multiple LCUs detected
  62. - Show defender-dism package versions, and fix detection for arm64
  63. - DisableResetbase registry will be always set to 1 for builds 25380+
  64. - Extend LCU .mum timestamp preserve workaround for all builds 22621+
  65.  
  66. 10.44:
  67. - Reinstall all LCUs together after NetFx3 feature (26052+)
  68.  
  69. 10.43:
  70. - Add Edge-WebView suppressor for builds 19041+ < 26080
  71. - Add config option "SkipWebView" to control the new suppressor
  72.  
  73. 10.42:
  74. - Fix detection issue where SafeOS DU might get added for install.wim
  75. - Add fallback `dism.exe /Apply-Image` command to extract LCU msu wim files if Powershell code failed
  76. - Optimize "Extracting dpx.dll" code
  77. - Detect oscdimg.exe from work `\bin` directory
  78. - Skip integrating SSU for winre.wim if no other updates will be added
  79.  
  80. 10.41:
  81. - Fix to skip Package_for_SafeOSDU for boot.wim
  82.  
  83. 10.40:
  84. - Detect Package_for_SafeOSDU (26080+)
  85. - Detect and skip HotPatchUpdate for offline target (26058+)
  86. - Skip LCU for winre.wim (26052+)
  87. - Remove WinPE-Rejuv-Package from boot.wim if LCU is added (26052+)
  88. - Reinstall only highest LCU after NetFx3 feature (26052+)
  89.  
  90. 10.39:
  91. - Implemented basic support to Add Drivers to install.wim and boot.wim / winre.wim
  92. - Updated detection for SafeOS DU
  93.  
  94. 10.38:
  95. - Fixed processing SSU-*.cab from normally-named SSU msu
  96. - Changed 22631 iso label to 23h2_ni_release
  97. - Changed finish prompt to "Press 9 or q to exit"
  98. - Added detection for Net35 sxs folder from W10UI.cmd root, or updates repo folder
  99. - Added SupplementalServicing suppressor for builds 14393+ < 19041
  100. - Added ExtendedSecurityUpdates suppressor for builds 17763+ < 20348 (theoretical)
  101. - Added EdgeChromium suppressor for builds 17134+ < 20348 if SkipEdge=1
  102.  
  103. 10.37:
  104. - Fixed CIM_DataFile powershell.exe commands (used if wmic.exe is not installed)
  105.  
  106. 10.36:
  107. - Improved iso label accuracy for Enablement Package fake builds
  108. - Fixed accidental endless loop when AutoStart=1 and Target/Repo are not detected
  109. - Update boot files when W10UI.cmd is called from W10MUI.cmd
  110.  
  111. 10.35:
  112. - Fixed wimlib issue with boot.wim
  113. - Changed "UseWimlib" default state to OFF
  114.  
  115. 10.34:
  116. - Detect and use wimlib-imagex.exe for exporting wim files instead dism.exe
  117. - Added config option "UseWimlib" to control the new behavior
  118.  
  119. 10.33:
  120. - Export wim indexes one at a time if detected Dism.exe version 10.0.25115.1000 or later
  121.  
  122. 10.32:
  123. - Updated detection for Windows 11 23H2 Enablement Package
  124.  
  125. 10.31:
  126. - Fixed Windows 10 Combined LCU integration for install.wim when used via W10MUI
  127.  
  128. 10.30:
  129. - Added workaround for using target image dpx.dll to extract updates cab files for builds 22000+
  130. - Suppress DISM cleanup output for builds 25380+
  131.  
  132. 10.29:
  133. - ISO files bootmgr.efi/bootmgfw.efi will be always updated, regardless UpdtBootFiles option
  134.  
  135. 10.28:
  136. - Added conditional support for SV2 beta builds 22631+
  137.  
  138. 10.27:
  139. - Updated detection for separate Secure Boot updates
  140.  
  141. 10.26:
  142. - Added support for new msu wim files (LCU for builds 25336+)
  143. - Replaced embedded PSFExtractor.exe with Powershell code (external PSFExtractor.exe still supported)
  144. - Enhanced "Cleanup System Image" behavior for current online OS:
  145. RunOnce_AfterRestart_DismCleanup.cmd script will be created on desktop
  146. if above script is not executed, W10UI.cmd will prompt once to run or skip cleanup
  147.  
  148. 10.25:
  149. - Changed integration routine for WinPE images:
  150. winre.wim will get SSU + SafeOS only
  151. winre.wim will get LCU only if LCUwinre=1 (regardless of SafeOS)
  152. boot.wim will not get SafeOS DU (regardless of LCU)
  153. boot.wim will get Enablement KB
  154.  
  155. 10.24:
  156. - Add support for future Windows 11 22H2 Moments Enablement Packages
  157.  
  158. 10.23:
  159. - Detect and use external PSFExtractor.exe (located next to the script)
  160.  
  161. 10.22:
  162. - Fix detection for .NET 4.8.1 pack KB5011048
  163. - Skip Enablement Package for not applicable editions
  164. - Skip rebuilding sources\install.wim if wim2esd is enabled
  165.  
  166. 10.21:
  167. - Added support for Azure Stack HCI, 22H2 Enablement Package
  168.  
  169. 10.20:
  170. - Restore original timestamp for Package_for_RollupFix .mum for 22621+ MSU integration
  171.  
  172. 10.19:
  173. - Added support for Windows 11 22622 Enablement Package
  174. - Fixed Combined UUP update naming scheme for Windows 11 22H2
  175.  
  176. 10.18:
  177. - Enhanced detection for wmic.exe
  178. - Changed option "SkipBootFiles" to "UpdtBootFiles" to avoid confusion
  179.  
  180. 10.17:
  181. - Added support for the new updates file name "Windows11.0-KB*"
  182.  
  183. 10.16:
  184. - Added option "SkipBootFiles" for not updating ISO boot files bootmgr/bootmgr.efi/efisys.bin
  185.  
  186. 10.15:
  187. - Added support to install Windows 11 Combined UUP .msu file directly
  188.  
  189. 10.14:
  190. - Check and exclude unsupported editions for 19041 WindowsExperienceFeaturePack
  191. - Fixed: ADK parameter is not enabled when using custom dism.exe
  192.  
  193. 10.13:
  194. - Added workaround for the missing wmic.exe in build 22483 (and later)
  195. - When running within W10MUI, W10UI will install detected updates, regardless if already installed
  196.  
  197. 10.12:
  198. - Added support for the new UUP dump file name scheme (PSF updates)
  199.  
  200. 10.11:
  201. - Added support for Windows 11 Combined UUP updates
  202. - Updated Windows Defender cab integration routine
  203. - If AutoStart option is active, the script will not clear initial screen, and will auto exit at the end
  204.  
  205. 10.10:
  206. - Added workaround for updating 1904x images on Host OS below Windows 10 1803
  207.  
  208. 10.9:
  209. - Added manual option "LCUwinre" to force updating winre.wim with Cumulative Update
  210. - Fixed architecture detection for already mounted WinPE images
  211.  
  212. 10.8:
  213. - Fix updated iso label for Windows 10 1909
  214.  
  215. 10.7:
  216. - Implemented DIR2ISO by AveYo as a last resort to create updated iso
  217. - Improved updated iso label accuracy
  218.  
  219. 10.6:
  220. - Updated PSFExtractor to remove SxSExpand dependency
  221. - Embedded PSFExtractor using Compressed2TXT v5.3
  222. - Include detected language(s) in ISO file name
  223.  
  224. 10.5:
  225. - Changed updated ISO file name scheme
  226. example old:
  227. Win10_22000.71_x64_2021-07-16.iso
  228. example new:
  229. 22000.71.210709-1028.CO_RELEASE_SVC_PROD1_CLIENT_X64FRE.iso
  230.  
  231. 10.4:
  232. - Rebrand to Windows NT 10.0 Updates Installer
  233. - Improved PSF files processing, and updated PSFExtractor
  234.  
  235. 10.3:
  236. - Added workaround for long path issue when extracting PSF updates
  237.  
  238. 10.2:
  239. - Build 18362, added alternative workaround to suppress Supplemental Servicing or SkipEdge
  240. - Build 20231 and later, LCU will be re-extracted from cab file for updating install.wim
  241. - Build 21382 and later, added support for new LCU PSFX format (cab + psf), require external PSFExtractor/SxSExpand
  242.  
  243. 10.1:
  244. - Added detection for 19044 / v21H2 Enablement package
  245. - Fixed wrong ISO version detection in some scenarios
  246.  
  247. 10.0:
  248. - Added "SkipEdge=2" option to skip LCU's EdgeChromium via "Microsoft\Edge" folder
  249. - Build 20231 and later, for updating install.wim, LCU will be added from cab file directly
  250. - Build 20231 and later, if ReservicingLCU is detected, .NET CU / LCU will not be re-added after enabling NetFx3 feature
  251. - Enhanced Flash updates detection to avoid confliction when Flash Removal update is merged with LCU
  252.  
  253. 9.9:
  254. - Extended `SkipEdge` option to skip EdgeChromium bundled with Cumulative Update
  255.  
  256. 9.8:
  257. - Further enhancement to prevent setup.exe conflict (if ISO files dates are newer than DU)
  258.  
  259. 9.7:
  260. - Fix setup.exe conflict for UUP created ISO
  261. - Fix cosmetic bug detecting EP KB5000736 as Flash
  262. - Show W10UI version in the menu header
  263.  
  264. 9.6:
  265. - Fix setup.exe conflict between boot.wim and DU for ISO distribution
  266.  
  267. 9.5:
  268. - Added proper detection and integration for the new combined msu/cab files
  269.  
  270. 9.4:
  271. - Fixed detection for SSU file and custom Updates location path
  272.  
  273. 9.3:
  274. - Add proper detection and integration for the new SSU file name
  275. - Added "theoretical " support for Windows 10 ARM64 target
  276.  
  277. 9.2:
  278. - Added detection for 19043 / v21H1 Enablement package
  279. - Added detection to install .NET 4.x main pack before .NET LP/Rollup
  280. - Skip wim2swm if install.wim size is less than 4GB
  281.  
  282. 9.0:
  283. - Improved detection for update KB number and version
  284. - Added detection support for WindowsExperienceFeaturePack updates (e.g. KB4592784)
  285. - Added wim2swm option to split install.wim into multiple install.swm files
  286. note: if both wim2esd/wim2swm are 1, install.esd takes precedence over split install.swm
  287. - Added internal support to work with W10MUI.cmd (multilingual distribution script)
  288.  
  289. 8.9:
  290. - Improved processing for 20H2 Enablement/EdgeChromium package
  291. - Added support to install v1607 updates for unsupported editions (non Enterprise LTSB)
  292. - Fixed detection for Adobe Flash Removal Update KB4577586
  293. - Defender update will not be processed for online live OS
  294.  
  295. 8.8:
  296. - Added support to integrate Microsoft Defender update (defender-dism-[x86|x64].cab)
  297. https://support.microsoft.com/en-us/help/4568292
  298. - Improved integration for 20H2 Enablement/EdgeChromium package
  299.  
  300. 8.7:
  301. - Implemented specific fixes for build 14393 (WinPE will not be updated with LCU)
  302. - Enhanced Setup DU updating
  303.  
  304. 8.6:
  305. - Fixed fail-safe integration using update cab file directly
  306.  
  307. 8.5:
  308. - Added SkipEdge option for EdgeChromium with Feature Update Enablement Package
  309. - Fixed cosmetic double image cleanup without EdgeChromium update
  310.  
  311. 8.4:
  312. - Fixed iso version for 19042 / 20H2
  313.  
  314. 8.3:
  315. - Defer adding EdgeChromium update after CU
  316. - Handle Safe OS (WinPE) updates separately
  317. - Show when setup dynamic update is added
  318. - Identify updates types as possible
  319. - winre.wim will not be updated with CU if Safe OS update is detected and added, per Microsoft recommendation
  320. https://docs.microsoft.com/en-us/windows/deployment/update/media-dynamic-update
  321.  
  322. 8.2:
  323. - Added differentiation for Win10 20H1 and 20H2
  324.  
  325. 8.1:
  326. - Enhanced installed updates detection on live online OS
  327.  
  328. 8.0:
  329. - Fixed offline installation for secure boot update KB4524244
  330.  
  331. 7.9:
  332. - Updated .NET CU detection for 1809 and later
  333.  
  334. 7.8:
  335. - Fixed error regarding creating Dism logs
  336.  
  337. 7:7:
  338. - x64 target on x86 host: Fix for unseen registry flush error.
  339.  
  340. 7.6:
  341. - x64 target on x86 host: Fix for wrong detection.
  342.  
  343. 7.5:
  344. - Code improvements and fixes.
  345.  
  346. - Added option wim2esd to convert install.wim to install.esd (only for distribution target)
  347.  
  348. 7.4:
  349. - Detect and skip WinPE only updates for install.wim
  350.  
  351. 7.3:
  352. - Enhanced Mount and Extraction Directory processing
  353.  
  354. 7.2:
  355. - Mount Directory will be always created as a subdirectory (even if it's already a subdirectory)
  356.  
  357. 7.1:
  358. - Do not overwrite iso\sources files with dynamic updates when non-UUP boot.wim is used and updated
  359.  
  360. 7.0:
  361. - Proper extraction of multilingual dynamic updates to only update existing language directories
  362.  
  363. - Support for the new 1909 Enablement Package to set the proper version tag
  364.  
  365. 6.6:
  366. - ResetBase will be disabled for build 18362 and later, to avoid breaking future LCU installation
  367.  
  368. 6.5:
  369. - Enhanced processing DU
  370. now if you choose install.wim (or boot.wim) as target from inside \sources\ folder, DU will be processed and extracted
  371.  
  372. - Enhanced UUP boot.wim index 2 updating
  373. if DU is detected, \sources\ folder will be updated with newer files
  374.  
  375. 6.4:
  376. Fixed .NET cumulative update reinstallation for build 18362
  377.  
  378. 6.3:
  379. - Added workaround fix for updating refreshed 18362 WinPE images
  380.  
  381. - If you selected specific indexes from install.wim, you will get extra option to only keep the selected indexes when rebuilding install.wim
  382. you can still choose to keep them ALL
  383.  
  384. - To avoid accidental closing before reading or copying cmd window output, you now need to Press 9 to exit
  385. or close the window with the red X button
  386.  
  387. - Cosmetic change, option 3. DISM will now show "Windows 10 ADK" instead the long dism.exe path (if ADK is detected)
  388.  
  389. 6.2:
  390. - Fixed already-installed detection for 1903 Cumulative Update
  391.  
  392. 6.1:
  393. - Added manual option "isodir" to specify alternative folder path for saving iso file
  394.  
  395. - Added support for configuration file W10UI.ini to set options:
  396. Values in W10UI.ini take precedence over the ones inside W10UI.cmd (by default both are the same)
  397. Do not change the structure of W10UI.ini, just set your options after the equal sign
  398. To restore old behavior and change options by editing the script, simply delete W10UI.ini file
  399.  
  400. 6.0:
  401. - Code improvement and fixes, mostly to avoid issues with paths and spaces in files names
  402.  
  403. 5.9:
  404. - Added workaround to perform Cleanup System Image for current online OS after installing updates that require reboot to complete (i.e. Cumulative Update)
  405. how to:
  406. run W10UI.cmd and install updates, assuming you choose to cleanup OS image (with or without resetbase)
  407. restart system
  408. run W10UI.cmd again, it will go directly to Cleanup or Reset OS image (it doesn't install or check any updates)
  409.  
  410. 5.8:
  411. - Fixed secondary SSU integration for 14393 WinPE images
  412.  
  413. 5.7:
  414. - Normal 1809 cumulative update will be reinstalled (with .NET cumulative) after enabling .NET 3.5, to keep WU happy
  415.  
  416. 5.6:
  417. - Added support and menu option "Selected Install.wim indexes"
  418. to select specific index(s) to update from install.wim, instead updating them all of them always
  419.  
  420. all indexes is the default setting, to change press 8 at menu
  421. the available indexes will be listed, enter the desired index(s) numbers to choose, separated with space
  422. you can revert to all indexes by entering * alone
  423.  
  424. - Fixed netfx cumulative update duplication, and the accidentally iso option set to 0
  425.  
  426. 5.5:
  427. - Added support to handle the new .NET cumulative update for build 17763 and later
  428.  
  429. 5.4:
  430. - Added support for multi-versioned updates, to avoid skipping new version if old version already installed
  431.  
  432. 5.3:
  433. - Fixed Flash update integration for 17763 (non-applicable editions will be skipped)
  434.  
  435. - Fixed SSU integration for 16299 and later (previously it was always re-integrated even if present)
  436.  
  437. - Implemented Debug Mode (for advanced users)
  438.  
  439. 5.2:
  440. - Fixed: image cleanup is not executed if you only integrated Servicing Stack Update
  441.  
  442. 5.1:
  443. - Fixed ISO creation typo
  444.  
  445. 5.0:
  446. - Fixed confliction issue in detecting offline partition as target, if it had boot files
  447.  
  448. - Added Mount & Extraction directories options to main menu
  449.  
  450. 4.8:
  451. - Fixed detecting and integrating build 14393 cumulative update for WinPE images
  452.  
  453. 4.7:
  454. - Added workaround to prevent breaking operation if Dism Error 1726 occur in cleanup OS image (W10 ver 1803)
  455.  
  456. - Added support to use DVD drive letter as target, whether mounted ISO or inserted DVD
  457.  
  458. 4.6:
  459. - Added architecture to updated ISO file name
  460.  
  461. 4.5:
  462. - Added manual option "delete_source" to keep or delete DVD distribution folder after creating updated ISO
  463.  
  464. 4.3 - 4.4:
  465. - Skip .NET lang packs integration for WinPE images
  466.  
  467. - Updated WinRE.wim will not be left over, if the target is direct install.wim file
  468.  
  469. 4.2:
  470. - Code improvements and fixes
  471.  
  472. - Detailed documentation for options in ReadMe.txt
  473.  
  474. - Added workaround for resetting 16299 WinPE images (they have the same restriction as OS image)
  475.  
  476. - Added option to update or skip winre.wim (if detected within install.wim)
  477.  
  478. - oscdimg.exe will be detected automatically if Windows 10 ADK is installed
  479.  
  480. - ISO file name will have the cumulative update version, and today's date (e.g. Win10_16299.214_2018-02-10.iso)
  481.  
  482. 4.1:
  483. - Implemented workaround for offline ResetBase of build 16299 and later
  484.  
  485. 4.0:
  486. - Cumulative update will now be installed separately after other updates (to avoid confliction with dynamic/.NET updates)
  487.  
  488. - Verbose script version
  489.  
  490. - Fixed .NET 3.5 feature enabling on Server editions
  491.  
  492. 3.6:
  493. - Fixed: if net35source is set manually, the script still try to check and find another source
  494.  
  495. 3.5:
  496. - Update files cab/msu will be processed from current location directly without copying over to temp location
  497.  
  498. 3.4:
  499. - Fixed: when selected target is already mounted boot.wim index 2, detection conflict will cause the script to hang
  500.  
  501. 3.3:
  502. - Fixed accidental mount directory confliction when updating live OS
  503.  
  504. 3.2:
  505. - Split the ResetBase option to two, Cleanup System Image / Reset Image Base
  506.  
  507. 3.0/3.1:
  508. - Added option to skip Resetbase operation
  509.  
  510. - Added option for custom path to .NET 3.5 cab source
  511.  
  512. - Added visible menu options for .NET 3.5 and Resetbase
  513.  
  514. - Implemented auto fix/change for registry value DisableResetbase (to allow Resetbase)
  515.  
  516. - Enabling .NET 3.5 now occurs after installing updates (to allow Resetbase), and cumulative update will be reinstalled afterwards
  517.  
  518. - Few improvement to handle "All applicable updates are found installed" situation
  519.  
  520. - Windows 10 ADK DISM will be used if detected, even if Host OS is Windows 10
  521.  
  522. 2.0:
  523. - Updated WinRE.wim will not be left over, if the target is distribution folder
  524.  
  525. 1.8:
  526. - Added workaround for "The remote procedure call failed." error when adding cumulative update to winpe image
  527.  
  528. 1.2:
  529. - Fixed a check bug that prevent integrating 10240 cumulative into boot.wim/winre.wim
  530.  
  531. - Added two manual options for advanced users, autostart / iso
  532.  
  533. 1.1:
  534. - Minor revision
  535.  
  536. 1.0:
  537. - Initial release
  538.  
Advertisement
Add Comment
Please, Sign In to add comment