How to schedule dark and light theme via Task Scheduler?

  • Thread starter Ice Cube Productions
  • Start date
I

Ice Cube Productions

Since Microsoft Doesn't provide us with auto dark and light theme in Windows, I'd show you how to schedule dark & light mode. It has to be done via Task Scheduler only.

  1. Open Start menu, then goto All Apps > Windows Administrative Tool > Computer Management
  2. Go to task scheduler section, then create a new folder named Windows System Scheme (Theme), just for convenience.
  3. Right Click on Empty Area and Left click on "Create New task".
  4. Triggers tab: Time slots may vary, adjust the time you like, or maybe add another time slot.
  5. Actions Tab; Program/Script: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
  6. Actions Tab: Arguments: 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/1 -Type Dword -Force; New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name ColorPrevalence -Value 0/1 -Type Dword -Force
  7. 0-Dark 1-Light. Leave ColorPrevalence off while in light theme and instead use in dark theme. For Dark, use 0 in AppsUseLightTheme & SystemUsesLightTheme, and if want to add Accent color to taskbar, set ColorPrevalence to 1, otherwise for dark mode, keep to 0. For Light mode, Set AppsUseLightTheme & SystemUsesLightTheme to 1. Either create AppsUseLightTheme, SystemUsesLightTheme, and ColorPrevalence as different sets else create in 1 only, separated by ; semicolons. Tutorial below.

Continue reading...
 
Back
Top Bottom