ItsmeITItsmeIT
  • Linux
    • Debian
    • Ubuntu
  • PC/Windows
Reading: How to Enable Automatic Dark Mode by Time on Windows 11
Share
Notification Show More
Font ResizerAa
ItsmeITItsmeIT
Font ResizerAa
  • Categories
    • Linux
    • Debian
    • Ubuntu
    • PC/Windows
Have an existing account? Sign In
Follow US
© 2025 ItsmeIT. All rights reserved.

Home » PC/Windows » How to Enable Automatic Dark Mode by Time on Windows 11

How to Enable Automatic Dark Mode by Time on Windows 11

avatar
By
Loibv
avatar
ByLoibv
The ItsmeIT team – delivering cutting-edge updates, tech trends, and insider knowledge from the world of technology.
Follow:
Last updated: August 31, 2025

In Windows 11, you can choose Dark Mode to reduce eye strain at night, or Light Mode for better visibility during the day. However, Windows 11 does not natively support automatic theme switching by time.

This guide shows you how to set up automatic Dark/Light Mode switching using two methods:

  • Using the Auto Dark Mode app (super simple, no technical steps required).
  • Using Task Scheduler + PowerShell (leveraging built-in Windows tools, no extra software needed).

Method 1: Use Auto Dark Mode

This is the fastest and easiest way for everyone—even beginners.

Step 1. Install the App

  • Open Microsoft Store → search for Auto Dark Mode.
  • Click Install.
  • The app is free, open-source, and regularly updated.
Install Auto Dark Mode app Windows 11
Install Auto Dark Mode app Windows 11

Step 2. Set Up Automatic Theme Switching

  • Open Auto Dark Mode → go to Time.
  • Turn on Enable automatic theme switching.
  • Choose one of the following:
    • Set custom hours: pick your own schedule, e.g., 7:00 AM → Light Mode, 7:00 PM → Dark Mode.
    • From sunset to sunrise: the app detects your location and switches themes according to sunrise/sunset.
Set Up Automatic Theme Switching
Set Up Automatic Theme Switching

Step 3. Extra Options (Very Useful)

  • Apps: keep specific apps always in light or dark mode.
  • Wallpaper / accent color / Office theme: sync wallpaper, accent color, and Office theme with system mode.
  • Gaming mode: prevent theme switching while playing full-screen games.

👉 Since Windows 11 doesn’t include this feature by default, Auto Dark Mode is widely considered the simplest and most effective solution.

Method 2: Use Task Scheduler + PowerShell

Best if you don’t want to install third-party software and prefer automating with built-in Windows tools.

Step 1: Create Scripts for Dark Mode and Light Mode

  1. Open Notepad, paste the following, and save it as C:\Scripts\set-dark.ps1:
$RegPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'
New-Item -Path $RegPath -Force | Out-Null
Set-ItemProperty -Path $RegPath -Name AppsUseLightTheme -Type DWord -Value 0
Set-ItemProperty -Path $RegPath -Name SystemUsesLightTheme -Type DWord -Value 0

→ This switches Windows to Dark Mode.

  1. Create another file C:\Scripts\set-light.ps1 with:
$RegPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'
New-Item -Path $RegPath -Force | Out-Null
Set-ItemProperty -Path $RegPath -Name AppsUseLightTheme -Type DWord -Value 1
Set-ItemProperty -Path $RegPath -Name SystemUsesLightTheme -Type DWord -Value 1

→ This switches Windows to Light Mode.

(In the Registry: 0 = Dark, 1 = Light)

Step 2: Schedule Automatic Switching with Task Scheduler

  1. Open Task Scheduler → Create Basic Task.
  2. Name it: Set Dark Mode.
  3. Under Trigger, choose Daily → 7:00 PM.
  4. Under Action, select Start a program:
    • Program/script: powershell.exe
    • Add arguments: -ExecutionPolicy Bypass -File "C:\Scripts\set-dark.ps1"
  5. Finish setup, then open the Properties of the created task:
    • General tab → check Run only when user is logged on.
    • Settings tab → check Run task as soon as possible after a scheduled start is missed.
  6. Create another task Set Light Mode at 7:00 AM with the set-light.ps1 script.

👉 Now Windows will automatically switch themes in the morning and evening without additional apps.

⚠️ Editing the registry is safe in this case, but you should still create a System Restore Point as a precaution.

Verify and Confirm

  • Go to Settings → Personalization → Colors → Choose your mode to see the active theme.
  • If File Explorer or apps don’t switch immediately, restart them or sign out and back in.

Extra Tips

  • Enable Night light (Settings → System → Display → Night light) to reduce blue light in sync with theme switching.
  • With Auto Dark Mode, enable Office theme sync for consistent appearance across Microsoft Office.
  • To stop automatic switching, simply disable the Auto Dark Mode app or the tasks in Task Scheduler.

By doing this, you’ll get a bright interface for daytime visibility and a dark interface at night—protecting your eyes and giving a more professional user experience.

TAGGED:Customize WindowsWindows 11
Share This Article
Facebook Reddit Telegram Threads
avatar
ByLoibv
Follow:
The ItsmeIT team – delivering cutting-edge updates, tech trends, and insider knowledge from the world of technology.
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Most Popular

Add Apps to Windows 11 Right-Click Menu
How to Add Apps to Windows 11 Right-Click Menu
Show Clock Seconds Windows 11
How to Show Seconds on the Windows 11 Taskbar Clock
Customize Widgets Windows 11
How to Customize Widgets Panel on Windows 11
Enable Advanced Snap Layouts on Windows 11
How to Enable Advanced Snap Layouts on Windows 11
Check UEFI or Legacy BIOS laptop
How to Check if Your Laptop Supports EFI/UEFI or Legacy BIOS
Previous Next
ItsmeITItsmeIT
Follow US
© 2025 ItsmeIT. All Rights Reserved.
  • Privacy Policy
  • Terms of Service
Logo ItsmeIT logo
Welcome Back!

Sign in to your account

Continue with Google
Register   |Lost your password?