Hi, I am using Windows LTSC IoT. I am installing it using the WinNT tool. With each install, I do several tweaks to my preferences: set UAC to the highest level. set Windows Backup, Windows Update, and Windows Time services to automatically. Adjust many settings of the personalized theme like dark colors, items in the taskbar, items in the start menu ...etc. folder option settings ...etc some control panel settings. etc... So does there is any way to automate it? I would like to have something like a .reg file (or anything like that) that contains all settings I would like to add it to Winnt during installation or after post install. And if it is working in that way, how do we figure out the registry key or settings to be added for that particular setting? so I can export it and then save everything in one big registry file?
I have an idea to make a simple .bat like this, which you can continue as you wish Code: @Echo Off Title Up to you & Color 0B cd %systemroot%\system32 call :IsAdmin REM ; Darkmode Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "ColorPrevalence" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "EnableTransparency" /t REG_DWORD /d "1" /f Reg.exe add "HKCU\Control Panel\Desktop" /v "WallPaper" /t REG_SZ /d "C:\Windows\web\wallpaper\Windows\img19.jpg" /f Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes" /v "CurrentTheme" /t REG_SZ /d "C:\Windows\resources\Themes\dark.theme" /f Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\HighContrast" /v "Pre-High Contrast Scheme" /t REG_SZ /d "C:\Windows\resources\Themes\dark.theme" /f Pause & Exit :IsAdmin Reg.exe query "HKU\S-1-5-19\Environment" If Not %ERRORLEVEL% EQU 0 ( Cls & Echo You must have administrator rights to continue ... Pause & Exit ) Cls goto:eof
Do you mean to goggle each setting I want to adjust and add its registry setting the way you showed in your post. Does there is any part in your example that is fixed? not to be changed? Does there is a guide for the registry to follow?
yes you can.. youll need uploaded files. example i use win optimizer i run program then you need to find out if program is x86 or x64. run as admin regfromapp and look for program there (winoptimizer) if its not listed then use the x64 if found select it. make changes to tweaks you want once you finish all tweaks youll see all the registry codes there in redfromapp. copy them then run Regcon and covert it that code will be the same as below. REM ; Darkmode Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "ColorPrevalence" /t REG_DWORD /d "0" /f Reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "EnableTransparency" /t REG_DWORD /d "1" /f Reg.exe add "HKCU\Control Panel\Desktop" /v "WallPaper" /t REG_SZ /d "C:\Windows\web\wallpaper\Windows\img19.jpg" /f Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes" /v "CurrentTheme" /t REG_SZ /d "C:\Windows\resources\Themes\dark.theme" /f Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\HighContrast" /v "Pre-High Contrast Scheme" /t REG_SZ /d "C:\Windows\resources\Themes\dark.theme" /f Pause & Exit do the same for settings.
WinNTsetup has (obviously) the option to import user tweaks. No need to use external batch files or whatever.