How to Auto-Toggle Windows 10 Dark Mode at Night
Pinterest Whatsapp
Advertisement

If you spend a lot of time in front of your computer screen, chances are you suffer from a certain degree of computer eye strain 5 Signs You Have Computer Eye Strain (And How to Relieve and Prevent It) 5 Signs You Have Computer Eye Strain (And How to Relieve and Prevent It) Computer eye strain is a real issue for up to 90 percent of heavy computer users. Here's everything you need to know about what it is and how to prevent it. Read More . Fortunately, there are a few settings you can change in Windows 10 to mitigate the impact of a bright screen on your eyes, and one of those settings is Dark Mode.

What Is Dark Mode in Windows 10?

Dark Mode, not to be confused with Night Light Dark Mode vs. Night Light: Which Should You Use in Windows 10? Dark Mode vs. Night Light: Which Should You Use in Windows 10? Night Light, a new Windows 10 feature, lets you reduce the amount of blue light emitted by your screen. How is it different from Dark Mode and which one should you use? Read More  which adds a warm red hue to your screen, allows you to opt for a dark background on certain Windows 10 apps. Night Light is meant to help your sleeping patterns, while Dark Mode is more about easing eye strain.

Dark Mode affects only certain Windows 10 native apps, such as the Settings window and Microsoft Store. Several other apps and programs, including Microsoft’s own File Explorer and Edge browser, aren’t affected by Dark Mode.

To enable Dark Mode manually, you can go to Settings > Personalization > Colors and under Choose your default app mode, select Dark.

But what if you only want Dark Mode at night and don’t want to manually toggle it on and off every day? The good news is, you can automate it using nothing more than the built-in Windows 10 Task Scheduler The Windows 10 Task Scheduler Gives You More Power The Windows 10 Task Scheduler Gives You More Power The Task Scheduler automatically executes events in the background. In Windows 10, Battery Saver mode modifies the Task Scheduler to use less energy. We'll show you how to take advantage of this feature and more. Read More .

How to Automatically Enable Dark Mode at Night

  1. Type Task Scheduler in the Windows 10 search bar and open the program.
  2. In the program menu click Action > Create Basic TaskHow to Auto-Toggle Windows 10 Dark Mode at Night Windows 1
  3. Enter a name for the task (I went with Enable Dark Mode) and click NextHow to Auto-Toggle Windows 10 Dark Mode at Night Windows 2
  4. For When do you want the task to start?, select Daily and click NextHow to Auto-Toggle Windows 10 Dark Mode at Night Windows 3
  5. Leave the start date as is, and fill in the time you want Dark Mode to be enabled and click Next. (If you tend to travel with your laptop, make sure that Synchronize across time zones is checked.)  How to Auto-Toggle Windows 10 Dark Mode at Night Windows 4 e1529342847816
  6. For the Action select Start a Program and click NextHow to Auto-Toggle Windows 10 Dark Mode at Night Windows 5 e1529342977957
  7. In the Program/Script field type Reg. In the Add arguments field, copy and paste the following and click Next:
    add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f

    How to Auto-Toggle Windows 10 Dark Mode at Night Windows 6 e1529343081236

  8. Click Finish.
    How to Auto-Toggle Windows 10 Dark Mode at Night Windows 7 e1529343181746

If your computer is turned off at the time that you chose, Dark Mode will not be enabled unless you do the following, make sure that Open the Properties dialog for this task when I click Finish is checked.

In the dialog box that opens, go to the Settings tab and check Run task as soon as possible after a scheduled start is missed. This way the task will run as soon as you turn on your computer, enabling Dark Mode after the fact.

How to Auto-Toggle Windows 10 Dark Mode at Night Windows 8 e1529343356168

You can revisit these settings by opening the Task Scheduler and clicking the Task Scheduler Library, and finding the task you want to edit (they’re listed in alphabetical order) and clicking on the Settings tab.

How to Auto-Toggle Windows 10 Dark Mode at Night Windows 9 e1529343718168

How to Automatically Disable Dark Mode at Daytime

This step is essential if you want your computer to switch back and forth between the two modes. To switch back to Light Mode in the morning, you’re going to have to go through the same steps above, creating a second task, but this time at Step 5 select the time in the morning you want to enable Light Mode.

In Step 7, in the Program/Script field type Reg. In the Add arguments field, copy and paste the following and click Next:

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

How to Edit or Delete the Tasks

If you change your mind and decide you no longer want to automatically enable Dark Mode, or want to make changes to the settings such as the time it triggers, open up the Task Scheduler and click Task Scheduler Library. After you select your task, you’ll see the option to Delete the task under Actions.

You can test if the task is working by clicking the Run button, and it will instantly switch modes.

Double-click the task and a window will open up in which you can edit all the information you had entered previously. To change the time, go to the Triggers tab and double-click to open the dialog box in which you can edit the time.

To completely darken your Windows 10 experience, you’ll probably want to look into making changes to each Windows 10 app individually The Dark Side of Windows 10: Set a Theme & Change Colors The Dark Side of Windows 10: Set a Theme & Change Colors Windows 10 is so bright, it can cause eyestrain. Setting a dark theme is a simple way to give your eyes a break. We show you how to theme Windows 10 and its most commonly... Read More .

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Jonathan Peel
    June 19, 2018 at 2:25 pm

    I very well might give this a try.
    Has anyone found anything to switch visual studio between dark and light automatically (or maybe dracula and light)