MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. JamesT70

    JamesT70 MDL Novice

    May 18, 2019
    1
    0
    0
    @MSMG

    Hi, first thanks for your work

    I get an error message:
    "ToolKit component removal only work with the below Source OS Images...
    Windows 10 v1909 (10.0.18363.418) Source OS."

    But the changelog list for 9.6 say:
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1909 (v10.0.18363.693) Source OS.

    I use this image:
    Windows 10 Pro v1909 (10.0.18363.693) x64 german
     
  2. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    use the image 10.0.18363.418 + cumulative update KB4535996
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    Thank you. I shall do 6 > 1 then 6 > 2 > Y for the most thorough cleanup.

    Awaiting today's CU and SSU before testing new method.
     
  4. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    Tested new ToolKit with CU and SSU released today and SFC has found errors.
    Code:
    Microsoft Windows [Version 10.0.18363.719]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>sfc /scannow
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.
    Have attached log files.

    x86 ISO: 18363.418.191007-0143.19H2_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X86FRE_EN-GB.ISO
    x86 SSU: windows10.0-kb4541338-x86_8aba9b3c75caff7833e37dd5c0a26abcd88def01.msu
    x86 CU: windows10.0-kb4540673-x86_6f88fdf775c2bc27727f08cfa92b1e4859d01af0.msu

    x64 ISO: 18363.418.191007-0143.19H2_RELEASE_SVC_REFRESH_CLIENTENTERPRISE_VOL_X64FRE_EN-GB.ISO
    x64 SSU: windows10.0-kb4541338-x64_5db6cfc57a8bda4d13107ad24b3fe8fd790219cf.msu
    x64 CU: windows10.0-kb4540673-x64_aefb1592e55950abcaae06f56cdc3e93aed61370.msu

    Extract ISO (1 > 3)

    Select source (1 > 1) (also mount boot and recovery images)

    Integrate Win32 calculator (3 > 3 > C)

    Apply SSU and CU updates (3 > 4 > 2 > 1 > 4)

    Apply setup media update (3 > 4 > 2 > 2)

    Remove using RemovePkgsList.txt (4 > 3)
    ToolKitHelper:GameExplorer
    ToolKitHelper:MapControl
    ToolKitHelper:OneDrive
    ToolKitHelper:peopleExperienceHost
    ToolKitHelper:pPIProjection
    ToolKitHelper:RetailDemoContent
    ToolKitHelper:SkypeORTC
    ToolKitHelper:SecureAssessmentBrowser
    ToolKitHelper:WindowsMixedReality
    ToolKitHelper:XboxGameCallableUI
    ToolKitHelper:WindowsApps

    Tweaks for Task View, App Downloads, Photo Viewer (5 > 8 > B/D/J)

    Cleanup (6 > 1)

    Apply changes to image (6 > 2 > Y)

    Rebuild (6 > 1)

    Convert WIM to ESD (2 > 4)

    Make ISO (7 > 1)
     

    Attached Files:

  5. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    Same goes for removals, IE right away gave troubles removing. This is how it goes though as it is impossible to code around all possible changes MS makes in a CU.

    I reverted to the last CU which is fully compatible with the toolkit and just installed the SSU and CU after reboot, they installed without issue on a heavily modified image.
     
  6. xlincn

    xlincn MDL Novice

    Nov 9, 2013
    20
    2
    0
    wait for the delete component version
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Will update the ToolKitHelper

     
  8. biatche

    biatche MDL Addicted

    Nov 14, 2009
    568
    143
    30
    i think insider removal menu items arent correct ; doesnt point to the right menus. at least the case for my latest iso
     
  9. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    Looking forward to test. Will check later today for release.
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Fixed in the next version, just do this one line correction in the ToolKit.cmd file using notepad

    Line No: 2592

    Code:
        if errorlevel 1 goto :RemoveWindowsComponentsMenu
    
    To

    Code:
        if errorlevel 1 goto :RemoveWindowsAppsList
    

    And it's works properly.

    Code:
    ===============================================================================
              MSMG ToolKit - Remove Windows Apps Using Apps List
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Remove Windows Apps Using Apps List###############################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x86
        Image Version            : 10.0.19577.1000.0
        Image Edition            : Professional
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Removing Windows Apps Using Apps List######################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Removing Microsoft.ZuneMusic Provisioned Appx Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Microsoft.ZuneVideo Provisioned Appx Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Apps Using Apps List#############################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
    

    Code:
    ===============================================================================
            MSMG ToolKit - Remove Windows Components Using Package List
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x86
        Image Version            : 10.0.19577.1000.0
        Image Edition            : Professional
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components Using Package List#############################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-AM-Default-Definitions-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-AppLayer-Group-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-Client-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Removing Windows-Defender-Group-Policy-Package Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19546.1000
    
    Image Version: 10.0.19577.1000
    
    Processing 1 of 1 - Removing package Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.19577.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Users who are using ToolKit to integrate WHD updates for Windows 8.1, do the below change in ToolKit.cmd to reflect the newer WHD updates Repo.

    Replace all instances of KB4524445 to KB4540725

    That's it, save the file.
     
  12. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    53
    9
    0
    Hi! How do I remove onedrive integration when installing Windows 10 Pro 2004-19041.1? Can I delete OneDrive from the command line? Thanks!
     
  13. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    Using the same files and method as described in my post #14382, I am still getting errors when running SFC. This is with the updated ToolKitHelper.exe.

    CBS files attached to this post.
     

    Attached Files:

  14. Rr0

    Rr0 MDL Member

    Jul 8, 2017
    151
    13
    10
    Is there still a reason to use 1903 .1 first release version or it doesn't make any difference?
     
  15. tistou77

    tistou77 MDL Expert

    Mar 22, 2008
    1,659
    550
    60
    #14397 tistou77, Mar 12, 2020
    Last edited: Mar 12, 2020
    Thanks for your great work
    I'll test for Edge C and DirectX

    Thanks so much
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Rafiusks

    Rafiusks MDL Novice

    Mar 11, 2020
    6
    0
    0
    Hi There,

    I would like to report the bug in NetFX48 W7 (NetFX48_x86.reg and NetFX48_x64.reg).
    The MSMG try to integrate the reg files but show me: "Error accessing the image registry", not integrating the regs.

    Windows Defender off.
    I used Official W7 SP1 iso from MS (x86/x64).
    I tried to integrate NetFX48 with MSMG 9.4.1 until 9.6 but same error.
    I tested NetFX472 and everything ok.
     
  17. Ace2

    Ace2 MDL Addicted

    Oct 10, 2014
    523
    320
    30
    Used ToolKitHelper v1.0.2700.0 on Windows 10.0.18363.719 with AllComponents command, no errors.;)
     
  18. mingyue

    mingyue MDL Novice

    Feb 27, 2020
    1
    0
    0