1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
  2. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    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
     
  3. yeyobo7778

    yeyobo7778 MDL Novice

    Apr 30, 2020
    7
    7
    0

    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
     
  4. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    Thank you buddy, but this does not work, I need to make changes to the registry [HKEY_CURRENT_USER]
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes it's correct just the last line EXITE should be EXIT

     
  6. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    #14968 sergey130270, Apr 30, 2020
    Last edited: Apr 30, 2020
    I checked, but registry changes from Tweak.reg were never made. Well, okay and thanks for that help
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Updated the ToolKit to v9.9

    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 : 正义羊).
     
  8. yeyobo7778

    yeyobo7778 MDL Novice

    Apr 30, 2020
    7
    7
    0
    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.
     
  9. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    144
    67
    10
    #14971 Igor147, Apr 30, 2020
    Last edited: Apr 30, 2020
    @MSMG
    For Windows 10 Client v2004 (v10.0.19041.208)
    Deleted components recover after upgrade?
     
  10. yeyobo7778

    yeyobo7778 MDL Novice

    Apr 30, 2020
    7
    7
    0
    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.
     
  11. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    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?
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    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.

     
  13. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    144
    67
    10
    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?
     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes it will return the removed components same as like v1903/v1909.

     
  15. yeyobo7778

    yeyobo7778 MDL Novice

    Apr 30, 2020
    7
    7
    0

    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.
     
  16. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    #14978 sergey130270, Apr 30, 2020
    Last edited: Apr 30, 2020
    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;"
     
  17. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30

    Attached Files:

  18. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    #14980 Windows 10 User, Apr 30, 2020
    Last edited: May 1, 2020
    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, ToolKitHelper:picturePassword, ToolKitHelper:pinEnrollment, 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.