Skip to content

Instantly share code, notes, and snippets.

@PyroGenesis
Last active December 31, 2025 12:38
Show Gist options
  • Select an option

  • Save PyroGenesis/e3f2d59b636f03653b64e07ba4e1e8aa to your computer and use it in GitHub Desktop.

Select an option

Save PyroGenesis/e3f2d59b636f03653b64e07ba4e1e8aa to your computer and use it in GitHub Desktop.
Enable Windows Dark Mode via registry (no activation needed)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000
@Osara001
Copy link

It works, however the google chrome still has light theme though set as system default. How can I get dark mode system wide?

@PeterGabaldon
Copy link

Equivalents reg commands

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

@iamzakibb
Copy link

Thanks a lot !

@yuliannnnnn
Copy link

Thanks so fcking much

@utilyre
Copy link

utilyre commented Dec 6, 2025

It works after a restart on Windows 11. Thanks!

@KolyaKorruptis
Copy link

changing these registry entries used to be enough on windows 10. but on windows 11 explorer (and startbar with it) do not get the change.
you can force it by restarting explorer, but there should be a less brutal solution, since switching through the windows settings does not require restarting explorer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment