1. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    MSMG: is it "technologically possible" to disable all those 'useless' apps/components instead of removing them... ?
     
  2. qkwxx

    qkwxx MDL Novice

    Jul 22, 2015
    19
    3
    0
    Unified Telemetry Client (Asimov)
    Windows Error Reporting
    --------------------------------------------
    Remove these two components,
    Running Sysprep without updating the patch is normal,
    If the Sysprep error is run after the Windows Update patch.
     
  3. AmnoN

    AmnoN MDL Novice

    Jan 10, 2011
    1
    0
    0
    I removed it
    No problem with SysPrep
     
  4. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    There is no direct way to do this. You can integrate them the same way you add software to the base image but its a lot more work that simply integrating .MSU/.CAB updates.
     
  5. qkwxx

    qkwxx MDL Novice

    Jul 22, 2015
    19
    3
    0
    No Windows Update update patch
    Run Sysprep OK
    -----------------------
    After Windows Update updates the patch
    Run Sysprep error
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Did you checked with the install, did any error occurred?

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Although the best practice is to enable/disable features, integrate updates and then remove components but the ToolKitHelper isn't coded to remove components files/registry with pre-updates integrated.

    Today checked with x64 image, just removed apps and system apps and integrated updates and the install failed with an error, Need to further test which component is breaking the setup process.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #9108 MSMG, Dec 24, 2018
    Last edited: Dec 24, 2018
    (OP)
    Not all components can be disabled.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Ok, these components WER, Asimov, CEIP need to be re-worked to completely remove any remaining traces which is breaking the Sysprep when WU is used.

     
  10. supa

    supa MDL Novice

    Mar 11, 2012
    9
    7
    0
    I tried searching, but didn't really get anywhere...

    Is it possible to Remove All Windows Components, except for a specific selection of components?

    For example, I'd like to remove all Windows Components, EXCEPT for Calculator (which it seems users still need).

    The ability to specify components to omit from the removal process would be very handy!

    Regardless, thank you for this great utility, and Merry Christmas!
     
  11. (ABE)

    (ABE) MDL Novice

    Mar 26, 2018
    38
    13
    0
    So far everything is normal. I test as much as possible. The system backup in Macrium Reflect does not work. I think it's at all inside versions..
     
  12. Krager

    Krager MDL Senior Member

    Jan 9, 2017
    396
    233
    10
    Have a question, forgive me if it's been asked already.

    I'd like to script the use of the MSMG Toolkit so I can non-interactively remove components from a mounted install.wim file. Is that something easily done? Any how-to documents on that?

    Reason is I already have a script that configures my install.wim files and I'd like to just pop in another batch command to remove some components. I know some of that I can do with dism, but it seems the Toolkit does a better job of it.

    Thanks.
     
  13. boyonthebus

    boyonthebus MDL Expert

    Sep 16, 2018
    1,168
    753
    60
    Use this in Powershell (admin.)%MOUNT% is path to your mounted install.wim.
    Code:
    Get-AppxProvisionedPackage -path %MOUNT% | Where-Object {$_.packagename -notlike "*calc*"} | Remove-AppxProvisionedPackage -path %MOUNT%
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Jimmeh

    Jimmeh MDL Novice

    Sep 3, 2009
    2
    0
    0
    Anyone having trouble with Edge crashing? Anytime I open a new tab, it crashes. If I set to open a blank page (no page suggestions), it works fine. I cant work out what dependencies Edge has :(
     
  15. Krager

    Krager MDL Senior Member

    Jan 9, 2017
    396
    233
    10
    Ah, I think I found the answer to my question with some searching. Can the ToolKitHelper binary stand on its own or does it need support from the toolkit directory structure, for example, binaries in the bin dir?
     
  16. scaramonga

    scaramonga MDL Senior Member

    Oct 27, 2012
    426
    262
    10
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Selective component removal is not yet added, in future it will added.

     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Ok then it's only with x64 image the setup is failing with updates integrated.

     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    If you want to just remove components then you can directly include the ToolKitHelper.exe commands to remove the component.

    Syantx for removing the command:

    ToolKitHelper.exe <imagemount-path> <component-name>


    The below command list the supported components list

    ToolKitHelper.exe <imagemount-path> /?

    Note: You may need to run the script using the NSudo command prompt with TrustedInstaller privilege, since I haven't yet added the file/registry take-ownership for ToolKitHelper.exe

     
  20. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Did you removed IE?