@MSGM THANKS FOR THE NEW VERSION!! I want to ask somethig about the TK: Respecting WHD updates... I take a look into the WHD-W7UI.cmd code (an updates autoinstaller from the WHD Project, in this case is for Win7SP1 using the Convenience RollUp Update, there's other versions of this script for other windows versions and without the CRU). In this code there are some tweaks for bloking the win10update telemetry and some registry an other thigs to be applied when th WHD Hotfixes are installed. I would like to know if this settings are applied with the TK6.5 if I integrate WHD Hotfix updates and the Win10 preparation updates for Win7sp1 (all of them based on the using of de CRU) Thanks.
I am finding v6.5 very slow exporting and importing images compared to v6.4. With v6.4 this would only take maybe 5 minutes, but with v6.5 it now takes about 45 minutes.
Trying ToolKit 6.5 ... Code: ------------------------------------------------------------------------------- ####Integrating Microsoft Win32 Calculator##################################### ------------------------------------------------------------------------------- ##########################[Install.wim, Index : 1]############################# [ERROR] Can't open "D:\W7\ToolKit\Mount\Install" read-only: Permission denied ERROR: Exiting with error code 47: Failed to open a file. ??? read-only? ... Also ... Code: ------------------------------------------------------------------------------- ####Integrating Microsoft .NET Framework 3.5################################### ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [==========================100.0%==========================] An error occurred - Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x80073701 Error: 14081 DISM failed. No operation was performed. For more information, review the log file. The DISM log file can be found at D:\W7\ToolKit\Logs\Dism.txt Sorry but something is wrong with ToolKit 6.5
I don't know what the WHD-W7UI.cmd script does contain as I haven't checked it so far, But what ever fix and workaround given in WHD Repo in the form of Readme.txt related to Blocking Windows Telemetry, I have added to the ToolKit Script.
I just tested with ToolKit 6.4 and Win32Calc integrates fine... Still having problems with .NET3.5. BTW if u updated the .NET pack, why the files inside it are dated 16/07/2016 ?
I have only modified the ToolKit script and not the DISM binaries, and that too the Mount/Save/Export Code hasn't been changed, it's intact. The DISM operational speed can vary on many things like AV Interference, Slow System/Disk Usage, DISM related services taking too much to respond or even using a DISM binary with higher version on HOST OS with a lower version for which the DISM version was not meant to be.
Ok will again check with the Win32Calc and .NET FX 3.5 Integration. I had misplaced the TH1 .NET FX 3.5 files inside the RS1 folder in the last pack and also in the present pack I have just renamed the cab files to make it easier. I haven't changed the files inside the CAB and it's the original MS CAB file.
Okay, i thought u modded the MS CAB file or something. I manually added the .NET with the next command and worked: Code: dism /image:D:\W7\ToolKit\Mount\Install\1 /enable-feature /featurename:NetFX3 /All /LimitAccess /Source:D:\W7\ToolKit\DVD\sources\sxs
Regarding .NET 3.5 Integration - For Windows 8.1 OS, the ToolKit uses the SXS folder or the folder inside the <Packs\NETFX35\w81\x64> and it uses the DISM Command with /Enable Feature for Integration. - For Windows 10 OS, the ToolKit uses the compressed cab file microsoft-windows-netfx3-ondemand-package.cab inside the SXS Folder or the compressed cab file Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.14393.0.cab inside the folder <Packs\NETFX35\w10>, The ToolKit extracts the cab file to a Temporary folder under <Temp\NETFX35> and uses the DISM Command with /Add-Package:<Temp\NETFX35\update.mum"> for Integration.
while integrating: when Dism.exe is in Taskmanager it shows 100% usage of CPU (all cores). when Dismhost is in Taskmanager it shows ony 1/Core% (only one core is at 100%). Maybe that slows it down...
Also it depends upon the Source and HOST OS and WADK too, Windows 8.1 Image on Windows 10 HOST with Windows 10 WADK takes hell lot of time to mount and unmount.
Test integration using 2 index win 10 iso: Code: =============================================================================== MSMG ToolKit - StartUp Settings =============================================================================== Retrieving Host OS Information... - Microsoft Windows 10 / Server 2016 (x64) [en-US] Setting ToolKit & WADK Tools Environment Variables... DISM.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\DISM10\Dism.exe Imagex.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\imagex.exe Oscdimg.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\oscdimg.exe Dvdburn.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\dvdburn.exe 7zip.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\7z.exe Dism++CUI.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\Dism++CUI.exe /ESDFile EsdDecrypt.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\esddecrypt.exe ResourceHacker.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\ResourceHacker.exe SetACL.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\SetACL.exe WimLibImagex.exe = F:\MSMG6_5\MSMG\ToolKit-v6.5\Bin\x64\wimlib-imagex.exe =============================================================================== Press ENTER Key to Continue... Code: =============================================================================== MSMG ToolKit - Select Source from <DVD> Folder =============================================================================== ------------------------------------------------------------------------------- ####Selecting Source WIM Images################################################ ------------------------------------------------------------------------------- Listing Available WIM Image Indexes for Servicing... =============================================================================== | WIM Index | WIM Arch | WIM Image Index Name =============================================================================== | 1 | x64 | Windows 10 Pro | 2 | x64 | Windows 10 Home =============================================================================== Enter the WIM Image Index's # [Range : 1-2, * - All] : * ------------------------------------------------------------------------------- ####Selected Source WIM Image Information###################################### ------------------------------------------------------------------------------- WIM Image : Install.wim WIM Image Indexes No : 1-2 WIM Image Architecture : x64 WIM Image Version : 10.0.14393 WIM Image Service Pack Build : 0 WIM Image Default Language : en-US ------------------------------------------------------------------------------- ####Mounting Source WIM Images################################################# ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Mounting [Boot.wim, Index : 1] WIM Image at <\Mount\Boot\1>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [Boot.wim, Index : 2] WIM Image at <\Mount\Boot\2>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [Install.wim, Index : 1] WIM Image at <\Mount\Install\1>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [WinRE.wim, Index : 1] WIM Image at <\Mount\WinRE\1>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [Install.wim, Index : 2] WIM Image at <\Mount\Install\2>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Mounting [WinRE.wim, Index : 1] WIM Image at <\Mount\WinRE\2>... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Mounting image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Selecting & Mounting Source WIM Images############################ ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . Code: =============================================================================== MSMG ToolKit - Integrate Microsoft .NET Framework 3.5 =============================================================================== ------------------------------------------------------------------------------- ####Starting Integrating Microsoft .NET Framework 3.5########################## ------------------------------------------------------------------------------- Source WIM Image : Install.wim Source WIM Indexes : 1-2 Source WIM Architecture : x64 Source WIM Build : 10.0.14393.0 ------------------------------------------------------------------------------- ####Processing Microsoft .NET Framework 3.5 Package############################ ------------------------------------------------------------------------------- Creating Microsoft .NET Framework 3.5 Package Temporary Folder... Extracting .CAB Package Files to Temporary Folder... ------------------------------------------------------------------------------- ##########################[Install.wim, Index : 1]############################# ------------------------------------------------------------------------------- ####Checking Whether Microsoft .NET Framework 3.5 Are Enabled################## ------------------------------------------------------------------------------- Checking Whether Microsoft .NET Framework 3.5 Are Enabled... Microsoft .NET Framework 3.5 are Not Enabled... ------------------------------------------------------------------------------- ####Integrating Microsoft .NET Framework 3.5################################### ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Generating Microsoft .NET Framework 3.5 Integration LOG Files############## ------------------------------------------------------------------------------- Writing Microsoft .NET Framework 3.5 Integration Log File... ##########################[Install.wim, Index : 2]############################# ------------------------------------------------------------------------------- ####Checking Whether Microsoft .NET Framework 3.5 Are Enabled################## ------------------------------------------------------------------------------- Checking Whether Microsoft .NET Framework 3.5 Are Enabled... Microsoft .NET Framework 3.5 are Not Enabled... ------------------------------------------------------------------------------- ####Integrating Microsoft .NET Framework 3.5################################### ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14986.1000 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [==========================100.0%==========================] An error occurred - Microsoft-Windows-NetFx3-OnDemand-Package Error: 0x80073701 Error: 14081 The referenced assembly could not be found. The DISM log file can be found at F:\MSMG6_5\MSMG\ToolKit-v6.5\Logs\Dism.txt ------------------------------------------------------------------------------- ####Generating Microsoft .NET Framework 3.5 Integration LOG Files############## ------------------------------------------------------------------------------- Writing Microsoft .NET Framework 3.5 Integration Log File... ------------------------------------------------------------------------------- ####Cleaning Up Temporary Files & Folders###################################### ------------------------------------------------------------------------------- Cleaning Up Microsoft .NET Framework 3.5 Temporary Folder... ------------------------------------------------------------------------------- ####Finished Integrating Microsoft .NET Framework 3.5########################## ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . I don't get why the ondemand cab is unpacked before using it, abbodi1406 W10UI script runs it like hell as cab. BTW, the "press [6] to go back option still doesn't work: Code: =============================================================================== MSMG ToolKit - Remove Default Metro Apps Menu =============================================================================== | [A] 3D Builder | [R] Solitaire Collection Alarms & Clock | Sticky Notes [C] Calculator | [T] Store & Xbox [D] Calendar & Mail | Voice Recorder [E] Camera | [V] Weather [F] Feedback Hub | [G] Get Office App | [H] Get Started | Groove Music | [J] Maps | [1] 3rd Party Apps Links [K] Movies & TV | [2] All Apps [L] Messaging | [3] All Apps Except Store & Xbox [M] Office OneNote | [4] All Bing Apps [N] Paid WiFi and Mobile | [5] All Online Apps [O] People | [P] Photos | [6] Go Back [Q] Skype Preview App | | =============================================================================== Enter Your Choice :
Today checked for Win32Calc and .NET FX35 Integration with Multiple Indexes Mounted : 1) Win32Calc Integration works and the below error you are getting before the Integration Code: [ERROR] Can't open "C:\ToolKit\Mount\Install" read-only: Permission denied ERROR: Exiting with error code 47: Failed to open a file. Is due to a mistake happened with find and replace which has wrongly replaced the call :GetWimIndexInfo "%InstallWim%, %%i >nul with call :GetWimIndexInfo "%InstallMount%, %%i >nul But, It's just a syntax error in getting the Image Info but when you see the Integration it is getting integrated as you see in the below output Code: =============================================================================== MSMG ToolKit - Integrate Microsoft Win32 Calculator =============================================================================== ------------------------------------------------------------------------------- ####Starting Integrating Microsoft Win32 Calculator############################ ------------------------------------------------------------------------------- Source WIM Image : Install.wim Source WIM Indexes : 1-2 Source WIM Architecture : x64 Source WIM Build : 10.0.14393.0 ------------------------------------------------------------------------------- ####Integrating Microsoft Win32 Calculator##################################### ------------------------------------------------------------------------------- ##########################[Install.wim, Index : 1]############################# [ERROR] Can't open "C:\ToolKit\Mount\Install" read-only: Permission denied ERROR: Exiting with error code 47: Failed to open a file. ------------------------------------------------------------------------------- Integrating Microsoft Win32 Calculator Package to WIM Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Win32 Calculator [en-GB] Package to WIM Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~en-GB~10.0.14393.0 [==========================100.0%==========================] The operation completed successfully. ##########################[Install.wim, Index : 2]############################# [ERROR] Can't open "C:\ToolKit\Mount\Install" read-only: Permission denied ERROR: Exiting with error code 47: Failed to open a file. ------------------------------------------------------------------------------- Integrating Microsoft Win32 Calculator Package to WIM Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Win32 Calculator [en-GB] Package to WIM Image... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Processing 1 of 1 - Adding package Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~en-GB~10.0.14393.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Integrating Microsoft Win32 Calculator############################ ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . . I will fix that Ready-Only Error in the next version. 2) .NEtFX 35 does fails for the first time to integrate the second index but when the same process is executed for the second time it does works correctly so I have made some codes changes which is working now and will add the fix in the next version.
The reason to change the NetFX 3.5 Pack was to make it simpler and also to reduce the directory depth as you can see here Previous Directory Structure for Windows 10 NetFX 3.5 Pack <Packs\NetFX35\W10\10240\x86\microsoft-windows-netfx3-ondemand-package.cab> <Packs\NetFX35\W10\10240\x64\microsoft-windows-netfx3-ondemand-package.cab> <Packs\NetFX35\W10\10586\x86\microsoft-windows-netfx3-ondemand-package.cab> <Packs\NetFX35\W10\10586\x64\microsoft-windows-netfx3-ondemand-package.cab> <Packs\NetFX35\W10\14393\x86\microsoft-windows-netfx3-ondemand-package.cab> <Packs\NetFX35\W10\14393\x64\microsoft-windows-netfx3-ondemand-package.cab> The Present Directory Structure for Windows NetFX 3.5 Pack <Packs\NetFX35\W10\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~<Arch>~~<BuildVersion>.cab> But the Dism.exe /Enable-Feature won't work if the option /Source:<Packs\NetFX35\W10\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~<Arch>~~<BuildVersion>.cab> is given as it requires a cab file to be inside a folder xinso suggested to Extract the CAB file and use the command Dism /Add-Package:<ExtractedPath\Update.mum> and it works and also the reason for extracting the CAB file and then integrating was to speed up the integration process when Multiple Indexes are used for servicing. But this approach when used with the multiple indexes fails for the first time for the second index but when the process is repeated it works. So today I tested with a new combination i.e Using the command Dism /Add-Package:<Packs\NetFX35\W10\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~<Arch>~~<BuildVersion>.cab> and it works perfectly with multiple indexes mode so there's no need to extract the CAB file anymore. Will update the ToolKit with the fixes soon. And Regarding the Remove Apps Menu Go Back Menu, What are you getting when you use the option 6 does it shows up the Remove Menu Warning Dialog or anything else?