如果您还不知道,请使用Windows 10电脑配备黑暗模式 缓解眼睛疲劳,使计算机看起来更暗。该选项位于“设置”应用程序中,您可以随时启用和禁用它。
暗模式主要用于夜间,而亮模式则用于白天。如果这也是您在计算机上使用它的方式,则可能每天必须手动切换模式。

通过创建自动为您打开或关闭Windows 10暗模式的任务,您实际上可以使此过程更轻松。设置起来非常容易,只需要做一次。然后它将每天自动运行并根据您的规范切换模式。
使用任务计划程序在Windows 10上自动启用暗模式
任务计划程序可让您在Windows 10上自动执行许多任务 计算机。您可以使用它来创建一项任务,该任务在夜间在PC上自动启用暗模式。您可以在触发任务并启用模式时为其设置特定时间。
<图class =“ lazy aligncenter”>

<图class =“ lazy aligncenter”>


<图类=“ lazy aligncenter”>



程序/脚本:
%SystemRoot%\ system32 \ WindowsPowerShell \ v1.0 \ powershell.exe
添加参数(可选):
New-ItemProperty-路径HKCU:\ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Themes \ Personalize -Name SystemUsesLightTheme -Value 0 -Type Dword -Force; New-ItemProperty -Path HKCU:\ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Themes \ Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force
然后单击Next>继续。
<图class =“ lazy aligncenter”>

<图类=“ =” lazy aligncenter“>

<图类=“ lazy aligncenter”>

当时钟达到您指定的时间时,任务计划程序将运行您的任务并激活系统上的暗模式。它将在每天指定的时间执行此操作。
使用任务计划程序在Windows 10上自动停用黑暗模式
第二天早上醒来看看您的计算机,您会发现它仍然开启了暗模式。这是因为您在上面创建的任务仅启用暗模式,而实际上并没有在早上禁用它。
<!-In_content_1 all:[300x250] / dfp:[640x360]->
要将计算机在白天恢复为亮模式,您需要在Task Scheduler中为其创建单独的任务。
<图类=“ lazy aligncenter”>

<图类=“ lazy aligncenter”>

<图class =“ lazy aligncenter”>

<图class =“ lazy aligncenter”>

程序/脚本:
%SystemRoot%\ system32 \ WindowsPowerShell \ v1.0 \ powershell.exe
添加参数(可选):
新-ItemProperty -Path HKCU:\ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Themes \ Personalize -Name SystemUsesLightTheme -Value 1 -Type Dword -Force; New-ItemProperty -Path HKCU:\ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Themes \ Personalize -Name AppsUseLightTheme -Value 1 -Type Dword -Force
<图class =“ lazy aligncenter”>


现在它将在您选择的时间自动启用照明模式。
更改模式时间设置
您可以随时更改计划时间。


<图class =“ lazy aligncenter”>

在Windows 10上禁用暗和亮模式的自动激活
如果要禁用整个自动操作,请执行以下操作。
<图class =“ lazy aligncenter”>

您需要同时完成这两个操作
使用应用在Windows 10上安排黑暗和明亮模式
有一个名为2的免费开放源应用可帮助您轻松安排

您可以在选择的时间使用它代替Task Scheduler来激活浅色和深色主题 。