How to Activate Dark Theme at Night on Windows 10

Although dark app mode on Windows 10 helps to protect the eyes at night, unlike MacOS Mojave’s dark theme, there’s no option to automatically enable dark mode at night. Instead, you just turn it on and off automatically using scheduled tasks.

The “Night Light” feature adjusting the color shade can automatically enable at night and then disable during the day, but there is not any similar built-in option for the dark mode. To set up a schedule, you’ll need to create two tasks in Task Scheduler app. The first one is to activate dark mode at night, and the other is to turn it off in the morning.

How to Create the Dark Theme Task

First, we need to create a scheduled task to switch to the dark theme at night. To do so:

  • Launch the Task Scheduler by opening the Start and searching for “Task Scheduler”.
  • Click on Action > Create Basic Task.
  • Type in “Switch to Dark Theme” or another name. Once done, click on “Next”.
  • Choose the “Daily” trigger, and click on “Next” button.
  • Enter the time you want the dark theme to activate.
  • Make sure that “Recur every” option is set to “1 days” and click on “Next” again.
  • Choose “Start a Program” action, and also click on “Next”.
  • Type ” reg” into the Program/script box, and then paste the below line into the “Add arguments” box:

add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f

  • Enable “Open the Properties dialog for this task when I click Finish” option, and simply click on “Finish” button.

Task Scheduler will now create your new task, and there is a new window showing additional options. Move to the “Conditions” tab, and turn off “Start the task only if the computer is on AC power” option. It makes sure that the task works normally even when you are using your laptop with the battery.

Move to the “Settings” tab, and activate the “Run task as soon as possible after a scheduled start is missed” box. This allows the task to run and dark theme to be applied even when your computer is powered off.

You can now find the task in the “Task Scheduler Library”. Confirm it to work properly by right-clicking on it, and selecting the “Run” command. The dark theme will automatically be enabled.

Also read: How To Fix Windows 10 Version Freezing

Create the Light Theme Task

To complete this process, you have to create a second scheduled task to automatically activate light mode during the day. To do so:

  • Click on Action > Create Basic Task.
  • Name the task “Switch to Light Mode” or something else
  • Choose “Daily” trigger, and click on “Next” again.
  • Enter the time you want to enable the light.
  • Make sure the “Recur every” option is set to “1 days”.
  • Choose “Start a program” section
  • Type ” reg” into the Program/script box, and also paste the below line into Add arguments box:

add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f

  • Check the “Open the Properties dialog for this task when I click Finish” box and click on the “Finish” button.
  • In the properties window, move to the “Conditions” tab, and then turn off the “Start the task only if the computer is on AC power” box.

From the “Settings” tab, enable the “Run task as soon as possible after a scheduled start is missed” box. It makes sure the task will run and the light theme will be applied when you boot your computer.

You have already got your dark and light themes set to a schedule on your Windows 10 computer. The dark mode will automatically be enabled at whatever time in the evening you set, and then turn automatically of in the morning.

Related Post

Facebooktwittergoogle_plusredditpinterestlinkedinmail
Category Windows

Comments

We love comments
No Comments Yet! You can be first to comment this post!

Your data will be safe! Your e-mail address will not be published. Also other data will not be shared with third person. Required fields marked as *