Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Schedule Light and Dark Mode in Windows 11

Automatically switch Windows 11 between light and dark mode at set times. Use Auto Dark Mode for wallpaper switching or set up two daily tasks with Task Scheduler.

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

  1. Install Auto Dark Mode from the project’s releases page or the Microsoft Store.
  2. Open the app, enable automatic theme switching, and select Custom hours. Set the times when light and dark mode should begin.

How to schedule windows 11 theme changes by time of day Picture 5

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.

How to schedule windows 11 theme changes by time of day Picture 6

How to schedule windows 11 theme changes by time of day Picture 7

How to schedule windows 11 theme changes by time of day Picture 8

Schedule light and dark mode with Task Scheduler

Create the daily light-mode task

  1. 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.

How to schedule windows 11 theme changes by time of day Picture 1

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

How to schedule windows 11 theme changes by time of day Picture 2

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

How to schedule windows 11 theme changes by time of day Picture 3

Add a second action with reg.exe and these arguments, then save the task:

add "HKCUSoftwareMicrosoftWindowsCurrentVersionThemesPersonalize" /v AppsUseLightTheme /t REG_DWORD /d 1 /f

How to schedule windows 11 theme changes by time of day Picture 4

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.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.