Yes works with these reg hives Code: HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_LOCAL_MACHINE\SOFTWARE HKEY_LOCAL_MACHINE\SYSTEM HKEY_USERS\.Default
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.
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
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.
Yes even HKCU also works, the Toolkit will import the settings to ntuser.dat mounted at HKEY_LOCAL_MACHINE\TK_NTUSER
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?