Hello MSMG !!! WAS I CORRECTLY DONE? Dism /Mount-Image /ImageFile:install.wim /Index:1 /MountDir:Mount reg load HKU\TK_USER mount\users\default\ntuser.dat reg import Tweak.reg reg unload HKU\TK_USER Dism /UnMount-Image /MountDir:Mount /Commit EXITE
Example Code: @echo off set "dism_path=%~dp0bin\adk\amd64\DISM" "%dism_path%\dism.exe" /Mount-Wim /WimFile:"%~dp0DVD\sources\install.wim" /index:3 /MountDir:"%~dp0Mount" reg load "HKLM\TK_SOFTWARE" "%~dp0Mount\Windows\System32\config\SOFTWARE" reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Defender\Features" /v "TamperProtection" /t REG_DWORD /d "0" /f reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f reg unload "HKLM\TK_SOFTWARE" "%dism_path%\dism.exe" /Unmount-Wim /MountDir:"%~dp0Mount" /Commit
Updated the ToolKit to v9.9 Spoiler: Changelog v9.9 + Updated ToolKit's Bin folder with Windows 10 20H1 Insider Preview WADK (v10.0.19613.1000) Tools. + Add the below new Components to the Feature "Remove Windows Component" under System Category. Easy Transfer File History Steps Recorder Windows Backup Wordpad + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1909 (v10.0.18363.815) Source OS. + Updated the Feature "Remove Windows Component" to support removing the below components for Windows 10 Client v2004 (v10.0.19041.208) Source OS. Remoting System System Apps + Fixed Typo Errors (Thanks to MDL Member : 正义羊).
sergey130270, 100% it works through setupcomplete.cmd Instead of "Custom" any can be. Code: @echo off reg load "HKU\CUSTOM" "%systemdrive%\Users\Default\NTUSER.DAT" reg import "%systemroot%\Setup\Scripts\Tweaks.reg" reg unload "HKU\CUSTOM" ntuser.dat it is created by default by the system immediately after installation and it is from it that the system reads all the settings.
This problem was only found in Win 10 Build 17763.1 Enterprise LTSC. Build 17763.316 is applied without problems. This is a bit strange behavior.
in SetupComplete.cmd I have to enter these lines: @echo off reg load "HKU \ CUSTOM" "% systemdrive% \ Users \ Default \ NTUSER.DAT" reg import "% systemroot% \ Setup \ Scripts \ Tweaks.reg" reg unload "HKU \ CUSTOM" and put next to Tweaks.reg?
If you mean upgrading from previous build to this, no it won't since you are not adding the CU again. But if you use the WU or add the new CU later yes it will return the components.
Something did not understand. I have the original image of Windows 10 Pro v2004 (v10.0.19041.208) and I want to remove the components. With monthly updates, will remote components return?
Yes, you need to add them to setupcomplete.cmd. You also need to change the HKCU paths to HKU\CUSTOM in the Tweaks.reg file.
Thank you very much, I’ll experiment now So? Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Keyboard Layout] [HKEY_CURRENT_USER\Keyboard Layout\Preload] ;Английский язык по умолчанию, а также добавление русского и украинского "1"="00000409" "2"="00000419" "3"="00000422" [HKEY_CURRENT_USER\Keyboard Layout\Substitutes] "00000422"="00020422" [HKEY_CURRENT_USER\Keyboard Layout\Toggle] ;Переключение между языками ввода Ctrl+Shift "Language Hotkey"="2" "Hotkey"="2" "Layout Hotkey"="3" [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE] "AlwaysShowMenus"=dword:00000001 "ShowStatusBar"=dword:00000001 "TabBandWidth"=dword:000002a5 ;Не проверять и запускать программы с непроверенной цифровой подписью [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download] "RunInvalidSignatures"=dword:00000001 "CheckExeSignatures"="no" ;Отключить мастер первого запуска [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "DisableFirstRunCustomize"=dword:00000001 "IE10TourNoShow"=dword:00000001 ;Отключить встроенную проверку подлинности Windows [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "EnableNegotiate"=dword:00000000 ;Список "безопасных" типов файлов для загрузки из интернета [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] "LowRiskFileTypes"=".exe;.bat;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;"
I only have 1 index and so I can't remove it. What can I do reduce the image's size since after cleaning up the source image, applying and saving changes to it and rebuilding it the size increases a lot, then? When using the RemovePkgsList.txt file to remove components on 2004, MSMG ToolKit doesn't state "the operation completed successfuly." when removing some of them, like FirstLogonAnimation, GameExplorer, SpeechRecognition, CEIP_SQM, FaceRecognition, LocationService, PicturePassword, PinEnrollment, UnifiedTelemetryClient, WindowsErrorReporting and WindowsInsiderHub, so does this mean they weren't removed? It also takes a lot of time to remove all the components. I used the (ToolKitHelper:FirstLogonAnimation, ToolKitHelper:GameExplorer, ToolKitHelper:SpeechRecognition, ToolKitHelper:CEIP_SQM, ToolKitHelper:FaceRecognition, ToolKitHelper:LocationService, ToolKitHelpericturePassword, ToolKitHelperinEnrollment, ToolKitHelper:UnifiedTelemetryClient, ToolKitHelper:WindowsErrorReporting and ToolKitHelper:WindowsInsiderHub entries). Is it possible to customize the taskbar with MSMG ToolKit and remove pinned items right next to the Search Box like File Explorer, the old Edge, Microsoft Store, the Mail app, as well as remove the Search Box itself and Cortana, customize the Start Menu shortcuts (remove the Pictures folder shortcut) and remove the desktop's old Edge shortcut? EDIT: Also, right after running MSMG ToolKit, should I mount Windows Setup Boot Image and/or Windows Recovery image and when integrating updates, should I select the "Integrate Windows Updates" setting or the "Integrate WHD Update Pack" one, and if the latter, should I choose the "Integrate WHD General Updates" setting or the "Integrate Windows Setup Media Updates" one, and if the former, should I click on the "Integrate to Windows Setup Boot Image" setting, on the "Integrate to Windows Setup Install Image" one, on the "Integrate to Windows Setup Install & Recovery Image" one or on the "Integrate to Windows Setup Install Boot, Install & Recovery Image" one? EDIT 2: I just checked and FirstLogonAnimation, GameExplorer, SpeechRecognition, CEIP_SQM, FaceRecognition, LocationService, PicturePassword, PinEnrollment, UnifiedTelemetryClient, WindowsErrorReporting and WindowsInsiderHub weren't removed. Also, which one of the following commands may restore removed components: sfc /scannow or DISM /Online /Cleanup-Image /RestoreHealth? I integrated the latest CU, CU for .NET Framework and SSU and the removed components didn't return.