Table of Contents
To switch between light and dark mode at set times in Windows 11, use Auto Dark Mode or create two daily tasks in Task Scheduler. Auto Dark Mode can also switch wallpaper. The Task Scheduler method changes the color mode for your Windows account.
Schedule dark mode and wallpaper with Auto Dark Mode
- Install Auto Dark Mode from the project’s releases page or the Microsoft Store.
- Open the app, enable automatic theme switching, and select Custom hours. Set the times when light and dark mode should begin.

To set separate wallpapers, open Personalization > Pick a Wallpaper, enable wallpaper switching, and choose a file for each mode. The Switch Modes page also offers hotkeys and controls for when the app should switch.



Schedule light and dark mode with Task Scheduler
Create the daily light-mode task
- Open Task Scheduler from Start and select Create Task. Name it Enable Light Mode. Use your own Windows account and select Run only when user is logged on, since the commands change settings for the current user.

On the Triggers tab, select New, choose Daily, and enter the time when light mode should start.

On the Actions tab, select New and keep Start a program. Enter reg.exe in Program/script and paste this line into Add arguments:
add "HKCUSoftwareMicrosoftWindowsCurrentVersionThemesPersonalize" /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
Add a second action with reg.exe and these arguments, then save the task:
add "HKCUSoftwareMicrosoftWindowsCurrentVersionThemesPersonalize" /v AppsUseLightTheme /t REG_DWORD /d 1 /f
Create and test the dark-mode task
Create another daily task named Enable Dark Mode with your preferred evening start time. Use the same program and add these as two separate actions:
add "HKCUSoftwareMicrosoftWindowsCurrentVersionThemesPersonalize" /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
add "HKCUSoftwareMicrosoftWindowsCurrentVersionThemesPersonalize" /v AppsUseLightTheme /t REG_DWORD /d 0 /f
Right-click each task in Task Scheduler Library and select Run to test it. If an open app keeps its previous colors, reopen it and check whether it follows the system setting. The Conditions tab can prevent a task from running on battery power, so check it if the schedule works only while your laptop is plugged in.
To stop the schedule, disable or delete both tasks. Then choose your preferred mode under Settings > Personalization > Colors.
Reader Comments 0
Sign in with email or Google to join the discussion.