Enable dark wallpaper with registry key


DMD

Member
Local time
8:39 AM
Posts
39
OS
W11
Good morning
I ask how you can customize the secure theme by enabling the dark wallpaper via the registry key, which I would like to insert in the iso in order to have it already active after installation.
thank you

Screenshot-001.png
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i5 750 @ 2.67GHz
    Motherboard
    Gigabyte P55A-UD4
    Memory
    8,00GB DDR3 @ 640 MHz
    Graphics Card(s)
    NVIDIA GeForce GTX 960
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920x1080
    Hard Drives
    1x SSD 840 EVO
    1x HDD WD 3TB
    1x HDD WD 4TB
    PSU
    Seasonic G-650
    Cooling
    Thermalright AXP-140 with Noctua 140mm fan
    Keyboard
    Logitech G510
    Mouse
    Logitech G203
    Browser
    Firefox
    Antivirus
    AVG Free

FreeBooter

Well-known member
Power User
VIP
Local time
9:39 AM
Posts
949
Location
Adana
OS
Windows 11
You can use attached batch script to enable dark or light theme to do that execute the batch script and type N letter to enable dark theme.
 

Attachments

  • DarkTheme.bat
    1.7 KB · Views: 2

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

DMD

Member
Thread Starter
Local time
8:39 AM
Posts
39
OS
W11
Thank you for the script, but the problem that it does not replace the light wallpaper with the dark one

Screenshot-002.png
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i5 750 @ 2.67GHz
    Motherboard
    Gigabyte P55A-UD4
    Memory
    8,00GB DDR3 @ 640 MHz
    Graphics Card(s)
    NVIDIA GeForce GTX 960
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920x1080
    Hard Drives
    1x SSD 840 EVO
    1x HDD WD 3TB
    1x HDD WD 4TB
    PSU
    Seasonic G-650
    Cooling
    Thermalright AXP-140 with Noctua 140mm fan
    Keyboard
    Logitech G510
    Mouse
    Logitech G203
    Browser
    Firefox
    Antivirus
    AVG Free

FreeBooter

Well-known member
Power User
VIP
Local time
9:39 AM
Posts
949
Location
Adana
OS
Windows 11
See you can change it from below registry value:

Code:
HKEY_USERS\S-1-5-21-1250897756-1007707114-1137306247-1001\Control Panel\Desktop\WallPaper
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

FreeBooter

Well-known member
Power User
VIP
Local time
9:39 AM
Posts
949
Location
Adana
OS
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

DMD

Member
Thread Starter
Local time
8:39 AM
Posts
39
OS
W11
Unfortunately I can't find the System key in W11

Screenshot-003.png
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i5 750 @ 2.67GHz
    Motherboard
    Gigabyte P55A-UD4
    Memory
    8,00GB DDR3 @ 640 MHz
    Graphics Card(s)
    NVIDIA GeForce GTX 960
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920x1080
    Hard Drives
    1x SSD 840 EVO
    1x HDD WD 3TB
    1x HDD WD 4TB
    PSU
    Seasonic G-650
    Cooling
    Thermalright AXP-140 with Noctua 140mm fan
    Keyboard
    Logitech G510
    Mouse
    Logitech G203
    Browser
    Firefox
    Antivirus
    AVG Free

FreeBooter

Well-known member
Power User
VIP
Local time
9:39 AM
Posts
949
Location
Adana
OS
Windows 11

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

DMD

Member
Thread Starter
Local time
8:39 AM
Posts
39
OS
W11
Thanks, it works. however, it does not allow you to change the background, I tried to set a light background, but it always remains the one set in the registry key.

Screenshot-004.png
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i5 750 @ 2.67GHz
    Motherboard
    Gigabyte P55A-UD4
    Memory
    8,00GB DDR3 @ 640 MHz
    Graphics Card(s)
    NVIDIA GeForce GTX 960
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920x1080
    Hard Drives
    1x SSD 840 EVO
    1x HDD WD 3TB
    1x HDD WD 4TB
    PSU
    Seasonic G-650
    Cooling
    Thermalright AXP-140 with Noctua 140mm fan
    Keyboard
    Logitech G510
    Mouse
    Logitech G203
    Browser
    Firefox
    Antivirus
    AVG Free

FreeBooter

Well-known member
Power User
VIP
Local time
9:39 AM
Posts
949
Location
Adana
OS
Windows 11
I don't know how to help you with that one.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

DMD

Member
Thread Starter
Local time
8:39 AM
Posts
39
OS
W11
I have found a combination of registry keys, after applying the keys you need to restart the desktop,
and you can change the background normally.

Dark Theme
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"WallPaper"="C:\\Windows\\web\\wallpaper\\Windows\\img19.jpg"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes]
"CurrentTheme"="C:\\Windows\\resources\\Themes\\dark.theme"
"ThemeMRU"="C:\\Windows\\resources\\Themes\\dark.theme;"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\HighContrast]
"Pre-High Contrast Scheme"="C:\\Windows\\resources\\Themes\\dark.theme"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000

Default Theme
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"WallPaper"="C:\\Windows\\web\\wallpaper\\Windows\\img0.jpg"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes]
"CurrentTheme"="C:\Windows\resources\Themes\aero.theme"
"ThemeMRU"="C:\Windows\resources\Themes\aero.theme;C:\Windows\resources\Themes\themeA.theme;C:\Windows\resources\Themes\dark.theme;"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\HighContrast]
"Pre-High Contrast Scheme"="C:\Windows\resources\Themes\aero.theme"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000001
"SystemUsesLightTheme"=dword:00000001
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i5 750 @ 2.67GHz
    Motherboard
    Gigabyte P55A-UD4
    Memory
    8,00GB DDR3 @ 640 MHz
    Graphics Card(s)
    NVIDIA GeForce GTX 960
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920x1080
    Hard Drives
    1x SSD 840 EVO
    1x HDD WD 3TB
    1x HDD WD 4TB
    PSU
    Seasonic G-650
    Cooling
    Thermalright AXP-140 with Noctua 140mm fan
    Keyboard
    Logitech G510
    Mouse
    Logitech G203
    Browser
    Firefox
    Antivirus
    AVG Free
Top Bottom