Don't worry, It won't have any issues with the systems working state. If you want to completely cleanup a component then the DISM method is not the right way, You need to use Manual method by reading the Component package manifest file and remove the files/folders/registry settings/tasks. This method is although fastest in removing but preparing the removal data takes time as we need to extract each main package of the component we need to remove and gather the data and convert it into the code. or else we need to write a auto-mechanism to read the manifest and generate the code.
This is my usual recommended order and it still is the best for Windows 7/8.1 - Integrate Features including .NET Framework 3.5 - Integrate Language Packs - Integrate Updates - Remove Components - Clean-Up Integrating Updates after removing the components for example System Restore in Windows 8.1 will again get restored due to it's update. But, Starting from Windows 10 it has changed a bit like - Integrate Features - Integrate Language Packs - Integrate Updates - Remove Components - Clean-Up - Integrate .NET Framework 3.5 Edit: Corrected the last step.
you lost me there. I'm new to this, how to use that component package manifest? please tell me step by step if you don't mind
One way is using the SxS Exapnder tool to create the Package for the Removed Component which contains all the files/folders/registry settings/tasks in it's manifest file that the Component will be installing. Read the manifest file and make the list of files/folders/registry settings/tasks it will be adding and write the code to remove the same.
For example let take Windows 10 1) Integrate all the features you want to add except the .NET Framework 3.5 using the Integrate Feature Menu. 2) Integrate the Language pack you want if required 3) Integrate the Updates. 4) Remove the Apps you don't want 5) Remove the Components you don't want 6) Apply Changes, this will perform the Cleanup 7) Re-Mount the Source 8) Add the .NET Framework 3.5 using the Integrate Feature Menu. 9) Apply Changes. 10) Re-Build the Image.
Small bug report, I tried integrating the Windows 7 Games then got an error that the chess game could not be found and the operation aborted.
Please don't try to add the old Games pack as it contains a serious bug which it affects the entire drive and that's why I have removed the Games Packs until I redo it from scratch and so I haven't fixed the code too yet.
Can someone share their custom list for package removal? I am interested in packages other the ones MSMG lists and other than Store Apps, but your own custom ones relatively safe to use? I think I successfully removed most Holo packages - there are sooo many and unless you use that Holo stuff, removing all has no effect. BTW, when I made my image there was the reported error about denied access to the Windows Defender SecUI package yet registry keys were deleted and the package is not listed. Does that mean it is gone..? The folder still exists in SystemApps.
Ok, but to remove Windows Defender I just have to remove it with this tool or do I have to run PowerShell commands after or before using the Windows Defender removal option in MSMG? EDIT: I just used these PowerShell elevated commands after I removed Windows Defender and before applying & saving changes to the source images and creating the ISO: dism /Image:X:ToolKit\Mount\Install /Cleanup-Image /ScanHealth dism /Image:X:ToolKit\Mount\Install /Cleanup-Image /StartComponentCleanup /ResetBase I think the first wasn't needed since it didn't detect any component store corruption...