Set Dark Theme

Code Properties

  • Language: Windows Registry / CMD
  • OS: Windows 10/11

Overview

Registry entries to enable dark theme for Windows applications and system UI.

Code

Registry File

Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"ColorPrevalence"=dword:00000000
"EnableTransparency"=dword:00000001
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000

CMD Commands

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v AppsUseLightTheme /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v EnableTransparency /t REG_DWORD /d 1 /f

Usage

Save the registry content to a .reg file and import it, or run the CMD commands in an elevated prompt.

ValueSetting
AppsUseLightTheme=0Dark theme for apps
SystemUsesLightTheme=0Dark theme for system
EnableTransparency=1Enable transparency effects

Appendix

Note created on 2024-09-18 and last modified on 2024-12-31.

See Also


(c) No Clocks, LLC | 2024