1. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    466
    30
    @MSMG does the registry integration works for all subsets of registry including HKLM/HCR/HKCU ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes works with these reg hives

    Code:
    HKEY_CLASSES_ROOT
    HKEY_CURRENT_USER
    HKEY_LOCAL_MACHINE\SOFTWARE
    HKEY_LOCAL_MACHINE\SYSTEM
    HKEY_USERS\.Default
    
     
  3. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    466
    30
    Thank you for the response. For HKCR does the toolkit loads the hives from "Default" user ? I've tried HKCR integrations in the past and they were discarded by the setup when the first account is setup. It uses the default profile for new accounts, for the changes to hold on, integrations have to be in that hive.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Replace all occurrence of

    HKEY_CLASSES_ROOT

    to

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes

    That's how the HKCR is imported, upon installation the values will be copied from HKEY_LOCAL_MACHINE\SOFTWARE\Classes to HKEY_CLASSES_ROOT

     
  5. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    466
    30
    Thank you for this valuable support. I apologies I mistakenly wrote HKCR when I wanted to write HKCU. Will the toolkit also integrate the HKCU for the default user ? Because all new users will get the profile copied from the default user.

    Sorry again for the confusion.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes even HKCU also works, the Toolkit will import the settings to ntuser.dat mounted at HKEY_LOCAL_MACHINE\TK_NTUSER

     
  7. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
  8. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    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
     
  9. 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
     
  10. sergey130270

    sergey130270 MDL Senior Member

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

    MSMG MDL Developer

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

     
  12. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
    #14955 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
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    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 : 正义羊).
     
  14. 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.
     
  15. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    162
    75
    10
    #14958 Igor147, Apr 30, 2020
    Last edited: Apr 30, 2020
    @MSMG
    For Windows 10 Client v2004 (v10.0.19041.208)
    Deleted components recover after upgrade?
     
  16. 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.
     
  17. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    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?