I'm trying to learn how to edit the .mum files to remove the junk. But while I don't know how to do that, we're trying other ways to clean up. Maybe the Registry Tweak Tool will break updates if it removes something that shouldn't be removed. Just a thought... Maybe you can help us with editing the .mum files? I'd really appreciate it!
Editing .mum files for every cu is to much work imho. i think it would be best to build a script to remove all the junk you can, without the need to edit cu files, imho.
It's true. Editing mum is a lot of work. Let's continue with our removals then... Thanks. By the way, see the attached image, from Windows Update of an image in which we used the package removal with Registry Tweak Tool. Windows Update works without errors.
The script had updated the image to date (26100.4349) before many packages were removed. This is why, after installation, Windows Update won't push CU ATM. Q: What about upcoming CU, e.g. 26100.4351 (KB5063060)? A: Code: C:\windows\system32>dism /english /image:K: /add-package:z:\Windows11.0-KB5063060-x64.msu Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.4349 Processing 1 of 1 - [==========================100.0%==========================] [===========================73.0%========== ] z:\Windows11.0-KB5063060-x64.msu: An error occurred applying the Unattend.xml file from the .msu package. For more information, review the log file. Error: 0x80073712 Error: 14098 The component store has been corrupted. The DISM log file can be found at C:\windows\Logs\DISM\dism.log C:\windows\system32> ---> The component store has been corrupted. Corrupted = Unrecoverably damaged. [Rule of latest Update Format] Except Custom Update, CU will fail when any System package had been modified or removed.
Please, in your opinion, would it be possible to remove the garbage before integrating the LCU? Could this work? What is the best way to remove all the garbage?
The context menu is one of the tweaks within WPI24H2. Therefore it will only appear if you use WPI24H2. WPI24H2 contains only some basic tools and apps for my personal use. All clean and free. And also my small tweaks to customize the desktop and some tools.
sainfo, I'm looking at SunLion's script and he is mounting the registry with TK_Software for example but you are using WIM_Software in your reg file.
No, it doesn't matter at all. It's clear that in order to use them in the Integrator, all the Integrator paths are written in the script. This is an example of a script that I additionally use to apply these .reg files. In Integrator, these files, for some reason, do not want to be applied. Although its scripts from the PersonalTweaks folder are applied without any questions. That is, if you simply place them in the PersonalTweaks folder, they are not applied to the image.
I see this is a more compicated problem then. I hope someone has met this kind of problem and can provide help.
For a specialist, I don't consider this a difficult task. And for me, it's all just a hobby. I'm just very interested in all this and I do it all rather intuitively. In fact, I see only three options here: 1. Add my .reg files to the PersonalTweaks folder in SunLon's tool 2. Apply Super User.exe to them Spoiler Code: "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\SOFTWARE.reg" "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\SYSTEM.reg" "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\USER.reg" 3. Apply NSudo.exe to them Spoiler Code: "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\SOFTWARE.reg" >nul 2>&1 "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\SYSTEM.reg" >nul 2>&1 "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\USER.reg" >nul 2>&1 I think it is clear to everyone that before executing this code we open the registry hive and after executing the code we close it. But unfortunately none of these three options work for me. I suppose that there is an error somewhere in my code, that's why I asked SunLion as a specialist. Perhaps there are other options for solving this problem, but I personally don't know them.