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
@FleeksLoft
Copy link

Just as a confirmation, it works! :D

@BC100Dev
Copy link

Might aswell adapt for a project

@Finnsflyer
Copy link

worked, thanks (I ain't activating windows)

@Romric215
Copy link

how do you turn it back?

@PyroGenesis
Copy link
Author

how do you turn it back?

@Romric215 Just delete the two entries mentioned in the registry and you should be back to light mode

@PyroGenesis
Copy link
Author

PyroGenesis commented May 5, 2025

Be wary of any spam comments below. Don't engage, just report it and GitHub will delete them.

@BC100Dev
Copy link

BC100Dev commented May 5, 2025

Considering that they promoted a website, I won't say the website to avoid being nuked by the ToS, I will also investigate that website personally to see, what things lie beneath, and possibly get that website shut down.

@circuit1465
Copy link

Tysm! works really well and easy

@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