I'm a bit confused right now. Where do I specify the target folder to enable .NET 3.5 in the W10UI.cmd? " # Enable .NET Framework 3.5 if available source detected locations to be checked: mounted iso, inserted dvd/usb, sxs folder for distribution target so provide one of these if you want to auto-enable it"
Regarding the ResetBase issue, it seems this registry value prevent the removal of superseded components in offline operation (maybe online too, but i didn't check) Code: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration] "DisableResetbase"=dword:00000001 it basically makes the /Resetbase parameter not effective and DISM perform the standard ComponentCleanup operation by delta-compressing superseded components, which makes the process takes longer setting the value to 0 solves that on a side note, i see that in build 15063 and later, "%windir%\Logs\CBS" directory is now protected by TrustedInstaller they don't want us to delete the big logs?
its possible they locked logs\cbs the whole OS cauze is online and when you make first log in account without e-mail or with e-mail automatically "trusted Installed" get the whole Permission Rights?
No, that's has nothing to do with login or account, it's for servicing (updates, features, SFC, DISM)
Thanks Microsoft for disabling features and taking good care of my OS Edit: Thanks @abbodi1406 It works ResetBase much faster (around 4 min with Win10 LTSB 2016 x64).
W10UI 3.1 - Added option to skip Resetbase operation - Added visible menu options for .NET 3.5 and Resetbase - Implemented auto fix/change for registry value DisableResetbase (to allow Resetbase) - Enabling .NET 3.5 now occurs after installing updates (to allow Resetbase), and cumulative update will be reinstalled afterwards - Few improvement to handle "All applicable updates are found installed" situation - Windows 10 ADK DISM will be used if detected, even if Host OS is Windows 10 Edit: v3.1: Added option for custom path to .NET 3.5 cab source
abbodi1406, since I update my wims directly, is enabling .NET 3.5 supported if microsoft-windows-netfx3-ondemand-package.cab is put in the updates directory with the rest? The readme states you only check three locations.
Updating 1607 LTSB x64 install.wim with June updates took only half an hour to complete on my system with W10UI v3.0. I haven't decided yet whether to enable .NET 3.5 in my target wim (if supported as mentioned in my previous post) or do it with SetupComplete.cmd using dotNetFx35_WX_3_x86_x64.exe Spoiler =========================================================== 1. Target (x64): "x:\$W0\$0_WUI\x64\LTSB+06.wim" 2. Updates: "x:\$W0\$0_WUI\x64\Repo-Dir" 3. DISM: "x:\$W0\ADK_6\amd64\DISM\dism.exe" 4. Enable .NET 3.5: NO 5. Reset Image Base: YES =========================================================== 0. Start the process =========================================================== Change a menu option, press 0 to start, or 9 to exit: . . =========================================================== Extracting/Copying .cab files to temp folder =========================================================== 12:30 1/4: windows10.0-kb4022715-x64.msu 2/4: windows10.0-kb4022730-x64.msu 3/4: windows10.0-kb4023834-x64.msu 4/4: windows10.0-kb4025632-x64.msu . . . =========================================================== Finished =========================================================== Press any key to exit. 12:58
When you really want dotnetfx3 pre-enabled why don't you just run the script with the extracted iso path as target, then all will be integrated in the correct order and the install wil be much faster compared to using the setupcomplete.cmd stage to do it (looks unprofessional too). When you enable it after integrating the CU, there is a chance that there will be a (partially) re-download of the CU after install is finished, to update dotnetfx3. Maybe @abbodi1406 can code the option to set the path to the sxs folder manually when the target is the install.wim.
Setting the target to the iso source updates the install.wim etc.. I don't want to extract the iso every time to get a fresh wim each time I build a new one. I'd rather use the vanilla install.wim as a starting point and export from that wim and go from there. What looks unprofessional - using SetupComplete.cmd, or using it to enable .NET 3.5? SetupComplete.cmd is very useful in my case such as installing non-integratable fixes, assigning drive letters, system activation, etc.
I extract the iso once and use it for 100's of new uptodate builds, just put in the sxs folder and the base boot + install.wim every time you want to do a new project. The base wims i use are pre produced: Murphy78's Diskpart and image apply script 1.2.8 in boot.wim index 2 MS DaRT 10 in boot.wim index 2 MS DaRT 10 in winre.wim from the first index (W10UI will update it and copy it over to all other indexes) The 15063 en-US base install. wim's contain all 13 x86 and 13 x64 en-US indexes The 15063 nl-NL base install.wim's contain all 10 x86 and 10 x64 dutch indexes
You may specify the path manually, add this line after set net35=1 Code: set "net35source=path\to\microsoft-windows-netfx3-ondemand-package.cab"
question : when rollup come out and updates tusday ...what should integrate first rollup and then updates or updates first and then rollup???
@abbodi1406 I ran W10UI_3 and it does somethings a bit weird: Settings: Code: ============================================================ Extracting/Copying .cab files to temp folder ============================================================ 1/4: windows10.0-kb4022405-x86_69fe37101820b0ea6828a4c3e6679d082c19b5ac.cab 2/4: windows10.0-kb4022730-x86_749a5a7af3ac36a1ff014171f2b21eb38fc224f4.cab 3/4: Windows10.0-KB4025632-x86.cab 4/4: windows10.0-kb4034450-x86_82ccd2928001fc77e86fd6336b117cd0616c523e.cab ============================================================ Extracting files from update cabinets (.cab) *** This will require some disk space, please be patient *** ============================================================ 1/4: windows10.0-kb4022405-x86_69fe37101820b0ea6828a4c3e6679d082c19b5ac.cab 2/4: windows10.0-kb4022730-x86_749a5a7af3ac36a1ff014171f2b21eb38fc224f4.cab 3/4: Windows10.0-KB4025632-x86.cab 4/4: windows10.0-kb4034450-x86_82ccd2928001fc77e86fd6336b117cd0616c523e.cab ============================================================ Mounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 3 - Adding package Package_for_KB4022730~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting the image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding .NET Framework 3.5 feature ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~11.0.15063.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~~10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : D:\W10UI_3.0\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ============================================================ 1 file(s) copied. ============================================================ Unmounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting the image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [===========================99.0%========================= ] The operation completed successfully. ============================================================ Unmounting boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\boot.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting the image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [===========================99.4%========================= ] The operation completed successfully. ============================================================ Unmounting boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\boot.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding boot.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ CDIMAGE 2.53m CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. For Microsoft internal use only. Scanning source tree (1500 files in 55 directories) Scanning source tree complete (1627 files in 96 directories) Computing directory information complete Image file is 3197599744 bytes (before optimization) Writing 1627 files in 96 directories to Win10_15063_Updated.iso 100% complete Storage optimization saved 38 files, 14147584 bytes (1% of image) After optimization, image file is 3187032064 bytes Space saved because of embedding, sparseness or optimization = 14147584 Done. ============================================================ Finished ============================================================ Press any key to exit. ] It enables dotnetfx3 after integrating the updates and next it reinstalls the CU. Is this because of the "enable resetbase" option so it's enforced? Will run the same scenario using 1.8 to compare the resulting install.wim/iso size W10UI_1.8: Code: ============================================================ Extracting/Copying .cab files to temp folder ============================================================ 1/4: windows10.0-kb4022405-x86_69fe37101820b0ea6828a4c3e6679d082c19b5ac.cab 2/4: windows10.0-kb4022730-x86_749a5a7af3ac36a1ff014171f2b21eb38fc224f4.cab 3/4: Windows10.0-KB4025632-x86.cab 4/4: windows10.0-kb4034450-x86_82ccd2928001fc77e86fd6336b117cd0616c523e.cab ============================================================ Extracting files from update cabinets (.cab) *** This will require some disk space, please be patient *** ============================================================ 1/4: windows10.0-kb4022405-x86_69fe37101820b0ea6828a4c3e6679d082c19b5ac.cab 2/4: windows10.0-kb4022730-x86_749a5a7af3ac36a1ff014171f2b21eb38fc224f4.cab 3/4: Windows10.0-KB4025632-x86.cab 4/4: windows10.0-kb4034450-x86_82ccd2928001fc77e86fd6336b117cd0616c523e.cab ============================================================ Mounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding .NET Framework 3.5 feature ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~11.0.15063.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~x86~~10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing Updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 3 - Adding package Package_for_KB4022730~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 3 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 3 of 3 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Updating winre.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing Updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : D:\W10UI_3.0\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding updated winre.wim ============================================================ 1 file(s) copied. ============================================================ Unmounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing Updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting the image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting boot.wim - index 1/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\boot.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Mounting boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4022405~31bf3856ad364e35~x86~~10.0.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing Updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Processing 1 of 2 - Adding package Package_for_KB4025632~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.448.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Resetting the image base ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting boot.wim - index 2/2 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : d:\W10UI_3.0\15063_0_x86_enUS\sources\boot.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding boot.wim ============================================================ Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Creating updated ISO file... ============================================================ CDIMAGE 2.53m CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. For Microsoft internal use only. Scanning source tree (1500 files in 55 directories) Scanning source tree complete (1628 files in 96 directories) Computing directory information complete Image file is 3429728256 bytes (before optimization) Writing 1628 files in 96 directories to Win10Updated.iso 100% complete Storage optimization saved 38 files, 14147584 bytes (1% of image) After optimization, image file is 3419181056 bytes Space saved because of embedding, sparseness or optimization = 14147584 Done. ============================================================ Finished ============================================================ Press any key to exit. Wow, the size of the iso is significantly smaller using the 3.0 script: 2.96 GB (3,187,032,064 bytes) instead of 1.8: 3.18 GB (3,419,181,056 bytes)
This is by design: Spoiler Yes the intention is to allow the ResetBase then the script integrates the CU before .NET 3.5 then integrating the CU again to update the components of .NET 3.5 with that the size of the install.wim is also reduced
Offtopic: @Enthousiast Do you use the boot.wim and ISO x86 Setup files for your AIO? So is it possible to use this ISO for upgrades as well? And does MS DaRT work for both x86 x64 versions of Windows?