Skip to content

Instantly share code, notes, and snippets.

@nilsandrey
Last active April 17, 2025 18:14
Show Gist options
  • Save nilsandrey/5eeaa7477046ef9d1189c0f26586ec45 to your computer and use it in GitHub Desktop.
Save nilsandrey/5eeaa7477046ef9d1189c0f26586ec45 to your computer and use it in GitHub Desktop.
Change Dark/Light Modes in Windows
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 AppsUseLightTheme /t REG_DWORD /d 1 /f
reg.exe add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
reg.exe add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f
reg.exe add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment