如何在Windows 10中通过命令启动夜灯?

时间:2018-03-17 06:42:26

标签: cmd windows-10 autohotkey

如何通过命令在Windows 10中启用立即灯光夜晚设置? 这是来自"夜灯设置"内部的设置。内部"显示"设置,而不是"显示"仅启用常规定时设置。 此外,设置温度的命令也很有用。

2 个答案:

答案 0 :(得分:3)

直接操作适当的注册表设置似乎可行。 例如:

rem Disable
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.bluelightreductionstate\Current /v Data /t REG_BINARY /d 0200000088313cdb4584d4010000000043420100d00a02c614dabef0d9dd88a1ea0100 /f
rem Enable
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.bluelightreductionstate\Current /v Data /t REG_BINARY /d 02000000d3f1d47c4584d40100000000434201001000d00a02c61487dad3e6d788a1ea0100 /f
rem Heavy Reduction
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.settings\Current /v Data /t REG_BINARY /d 02000000e113e4af4784d4010000000043420100c20a00ca140e0900ca1e0e0700cf28f625ca320e142e2b00ca3c0e052e0e0000 /f
rem Light Reduction
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.settings\Current /v Data /t REG_BINARY /d 020000006a092c904784d4010000000043420100c20a00ca140e0900ca1e0e0700cf28aa41ca320e142e2b00ca3c0e052e0e0000 /f

答案 1 :(得分:-2)

您可以使用start ms-settings:nightlight \ n您可以在这里找到更多信息:https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app