1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Fixed.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Thanks, I have simplified the code to display the OS Info in detail.

    Code:
    echo.Reading Host OS Information...
    echo.
    echo.%HostOSName% ^(%HostBuildBranch%^) %HostDisplayVersion% ^(v%HostVersion%.%HostBuild%.%HostServicePackBuild%^) %HostArchitecture% %HostLanguage%
    
    Code:
    ===============================================================================
                               MSMG ToolKit - StartUp
    ===============================================================================
    
    Reading Host OS Information...
    
    Windows 10 Pro (co_release) 21H2 (v10.0.22000.194) x64 en-US
    
    Setting Toolkit and WADK tools environment path variables...
    
    DISM.exe           =  D:\Toolkit\Bin\x64\DISM10\Dism.exe
    Imagex.exe         =  D:\Toolkit\Bin\x64\imagex.exe
    Oscdimg.exe        =  D:\Toolkit\Bin\x64\oscdimg.exe
    Dvdburn.exe        =  D:\Toolkit\Bin\dvdburn.exe
    7zip.exe           =  D:\Toolkit\Bin\x64\7z.exe
    Dism++CUI.exe      =  D:\Toolkit\Bin\Dism++CUI.exe /ESDFile
    EsdDecrypt.exe     =  D:\Toolkit\Bin\esddecrypt.exe
    ToolKitHelper.exe  =  D:\Toolkit\Bin\ToolKitHelper.exe
    ResourceHacker.exe =  D:\Toolkit\Bin\ResourceHacker.exe
    WimlibImagex.exe   =  D:\Toolkit\Bin\x64\wimlib-imagex.exe
    
    ===============================================================================
    
    Press any key to continue . . .
    
    
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    It's the Toolkit's component removal program ToolKitHelper.exe which is tied to 19043.1237 and not the Toolkit.cmd itself.

    If you want to use 19043.1151 with Toolkit.cmd v11.8 then replace the ToolKitHelper.exe from v11.7


    Don't know whether the search bug is with 19043.1151 CU or ToolKitHelper.exe need to check, you can check the 19043.1151 support info know the known bugs.

    The Windows 10 contains both the Snipping Tool - Classic and Modern, the Screen Snip is the modern version.


     
  4. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    Though toolkit's component removal program is toolkithelper.exe, the VCRuntime packs reference are contained in the batch file toolkit.cmd isnt it ?. I am using the latest packs and toolkit.cmd in v11.7 is the earlier one which has the references to the old VCRuntime packs and I am not able to use the toolkit.cmd in v11.7 with the latest packs. It gives error when integrating the newer VCRuntime.
    Thats why i took the toolkit.cmd from v11.8 and used in v11.7 for 19043.1151. Correct me if I am wrong and there are no sfc errors.

    Now the problem I am facing is screen snip doesnt work through quick actions with 17763.2061 (serviced with 11.7) ,19043.1151 (serviced with 11.7) as well as in 19043.1237 (serviced with 11.8). My bad i didnt check the screen snip tool from the time since i started generating ISOs through UUPDUMP.

    Even under 19043.1153 and 19043.1237 the command DISM /Online /Cleanup-Image /Restorehealth progresses upto 55% and exits saying that something is missing. Is this usual ?
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Use the latest Toolkit v11.8 + latest VCRuntime Packs + old ToolKitHelper.exe to have complete functionality for all OS.

    You need to re-check the packs folder structure to match with the latest Toolkit v11.8.

    Will check with the Screen snip and DISM /Online /Cleanup-Image /RestoreHealth thing.

     
  6. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    Sorry, but you mean the packs folder structure or the files inside Packs\VcRuntime\w10 ?.

    toolkit.cmd of v11.7 needs VC_2019 files in packs.
    toolkit.cmd of v11.8 needs VC_2022 files in packs.

    Thats why I used the toolkit.cmd of 11.8 under 11.7 with VC_2022 in the packs folder.
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    I have changed the Toolkit's Bin and Packs folder structure to adapt to Windows 11 version, some language pack base patch files have been moved from Bin to Packs\LanguagePacks folder.

    If you are just adding VC Runtime Pack then it's OK to use just Toolkit.cmd, if you want to use the rest of the functions then use the full latest version always.

     
  8. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    258
    152
    10
    #20428 正义羊, Sep 21, 2021
    Last edited: Sep 21, 2021
    For Builds 22000 and above, It may speak Windows 11, not Windows 10, although they have the same NT Kernel Version

    Therefore, you can consider judging the operating system name based on Build.

    Based on the existing information, you can use 21650 as a boundary for judgment
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The HOST info is read from the registry [SOFTWARE\Microsoft\Windows NT\CurrentVersion] and the ProductName subkey value is still Windows 10 Pro for Windows 11.

    Don't know whether the MS will change it on Oct 5, if they don't make the changes then will adapt the code to display it correctly.

     
  10. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    #20430 jinvidia, Sep 21, 2021
    Last edited: Sep 21, 2021
    @MSMG - Please let me know if the screensketch component in removepkgslist.txt is related to the screen snip shortcut in quick Actions. If i remove screensketch package will it make the screen snip shortcut in quick action non-functional ?

    So in order for screen snip to work should I retain Microsoft.screensketch Apps package and screensketch component package ?. I think this is the reason why screen snip is not working for me. Correct me if I am wrong.

    And moreover "Applying Disable Windows smartscreen tweak" title is missing while customizing in the toolkit. Dont know if it is fixed in the latest toolkit. This is for your kind information.

    UPDATE:
    Used 19043.985 with toolkit 11.5 and found out that retaining screensketch component brings back the screen snip in the quick actions. And Microsoft screensketch application is listed as snip and sketch and removing that doesnt harm the screen snip. But the dism restorehealth persists even in this version.
    It says "the system cannot find the file specified at 55.5%".
    Hope this helps.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes ScreenSketch is the Snip and Sketch App, removing it will also render it's functionality in Quick Actions.

    Will check with the Applying Disable Windows SmartScreen tweak.

    You need to use the correct image with CU specified in the changelog, if you use unsupported CU's then you will get SFC or DISM errors.

     
  12. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    #20432 jinvidia, Sep 21, 2021
    Last edited: Sep 21, 2021
    Just now checked 19043.985 serviced with 11.5 with screensketch app and component removed and I am surprised to note that screen snip is working without screensketch and I think removal of the same will not have an impact on screen snip shortcut in quick actions. I used 19043.985 downloaded from uupdump which is compatible with toolkit 11.5.
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Ok here's is the thing which get confused with many users due to similar naming.

    Screen Sketch - Screen Sketch App - Windows 10 Modern screenshot tool.
    Snip and Sketch - Windows Ink Workspace which is part of the ShellExperienceHost.exe
    Snipping Tool - Windows 10 Classic screenshot tool.
    Screen Sketch (Snipping Tool) - Windows 11 Classic and Modern screenshot tool.

    Okay you can remove the Screen Sketch it won't affect the Snip and Sketch

     
  14. ck3a19

    ck3a19 MDL Novice

    May 20, 2016
    20
    1
    0
    my English is very bad. Please guide me how to update
    [E] - Integrate Windows Updates using Integrate->Windows Updates menu

    [1] If using Integrate Windows Updates menu, then Copy the Windows Updates to Toolkit's <Updates\w11\<Architecture>> folder E.g: <Updates\w11\x64>.

    Or

    [2] If using Integrate Windows WHD Updates Pack menu, then Copy the Windows 10 WHD Update Pack files to Toolkit's <WHD\w11\<Architecture>\ImageBuild>> folder (Eg <WHD\w11\x64\10.0.22000>) .

    Note: The Toolkit supports updates either in .msu/.cab format.
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    If using [E] - Integrate Windows Updates using Integrate->Windows Updates menu then you may need to do it several steps and also you may need the full LCU cab not the PSF one.

    The best I do suggest is you copy all the below Windows 11 updates to <WHD\w11\x64\10.0.22000> folder and then use the [2] Integrate Windows WHD Pack -> Integrate WHD General Updates -> Integrate to Windows Boot, Installation and Recovery Image.

    Code:
    windows10.0-kb5005635-x64.cab
    windows10.0-kb5005635-x64.psf
    Windows10.0-KB5004342-x64-NDP48.cab
    windows10.0-kb5005662-x64.cab
    ssu-22000.190-x64.cab
    windows10.0-kb5006587-x64.cab
    windows10.0-kb5004567-x64.cab
    


     
  16. ck3a19

    ck3a19 MDL Novice

    May 20, 2016
    20
    1
    0
    Hãy chia sẻ link tải cho mình nhé

    [MÃ SỐ]
    windows10.0-kb5005635-x64.cab
    windows10.0-kb5005635-x64.psf
    Windows10.0-KB5004342-x64-NDP48.cab
    windows10.0-kb5005662-x64.cab
    ssu-22000.190-x64.cab
    windows10.0-kb5006587-x64.cab
    windows10.0-kb5004567-x64.cab
    [/ CODE] [/ QUOTE]
     
  17. Randy Bobandy

    Randy Bobandy MDL Novice

    Mar 18, 2021
    40
    4
    0
    Pardon straight question but what do you exactly delete as removing Windows manual setup / inplace upgrade? As you can guess I'm not so great with bat scripts ;]
     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20438 MSMG, Sep 22, 2021
    Last edited: Sep 22, 2021
    (OP)
    Write in English or at least translate it using Google/Bing Translator.

     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The code for removing the Windows Manual Setup (InPlace Uprade) has been moved to ToolKitHelper.exe.

    Removing Windows Manual Setup (InPlace Uprade) will only keep the files or folders required for installing Windows through bootable media.

    Below is the list of files or folders deleted.

    Code:
    \autorun.inf
    \setup.exe
    \support
    \upgrade
    \sources\*.* (Except the default language resource folder e.g: en-us/en-gb, boot.wim, ei.cfg, gatherosstate.exe, install.wim, setup.exe, lang.ini, pid.txt)
    \sources\<Default-Language>\*.* (Except setup.exe.mui)
    
     
  20. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    347
    484
    10
    #20440 graver.x, Sep 22, 2021
    Last edited: Sep 22, 2021
    All operations are successful. Thank you! Wonderful job. :shake:

    Updates:

    ssu-22000.190-x64.cab (SSU)
    windows10.0-kb5004567-x64.cab (General)
    windows10.0-kb5005635-x64.cab (LCU)
    windows10.0-kb5005635-x64.psf (LCU)
    windows10.0-kb5005662-x64.cab (DU for SafeOS)
    windows10.0-kb5006587-x64.cab (Setup DU)

    Code:
    ===============================================================================
                       MSMG ToolKit - Integrate WHD General Updates
                    to Windows Setup Boot, Install & Recovery Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
        Image                    : Boot.wim         |  Install.wim   |  WinRE.wim
        Image Index              : 1, 2             |      1         |      1
        Image Architecture       : x64
        Image Version            : 10.0.22000.1.0
    
    -------------------------------------------------------------------------------
    ####Processing WHD General Updates Packages####################################
    -------------------------------------------------------------------------------
    
    Creating WHD General Updates Temporary folder...
    
    Extracting .CAB Package files to Temporary folder...
    
    Finished Extracting .CAB Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Boot Image################
    -------------------------------------------------------------------------------
    
    =============================[Boot.wim, Index : 1]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_190~31bf3856ad364e35~amd64~~22000.190.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 General Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5004567~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22000.194.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    =============================[Boot.wim, Index : 2]=============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Servicing Stack Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_190~31bf3856ad364e35~amd64~~22000.190.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 General Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5004567~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Cumulative Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22000.194.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.194
    
    Processing 1 of 1 - Adding package Package_for_KB5005662~31bf3856ad364e35~amd64~~22000.132.1.7
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Dynamic Update for Sources...
    -------------------------------------------------------------------------------
    
    Copying Windows 11 Dynamic Update for Sources to <DVD> folder.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_190~31bf3856ad364e35~amd64~~22000.190.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 General Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5004567~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22000.194.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Re-Integrating Windows 11 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.194
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22000.194.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Recovery Image############
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_190~31bf3856ad364e35~amd64~~22000.190.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 General Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5004567~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 11 Safe OS Dynamic Update...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5005662~31bf3856ad364e35~amd64~~22000.132.1.7
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up WHD General Updates Temporary folder.
    
    -------------------------------------------------------------------------------
    ##################Finished Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Для продолжения нажмите любую клавишу . . .