6

Is there a command line to set the color personalization Dark or Light in the Colors settings?

1 Answer 1

2

To set win 10 light mode:

New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 1 -Type Dword -Force; New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 1 -Type Dword -Force

to set the dark

New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0 -Type Dword -Force; New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force

credits to this blog post that aims to do it automatically.

1
  • This works for the app mode in Windows 11, but the system color mode change is not detected automatically by the system.
    – SArcher
    Commented Apr 14 at 18:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .