New
#1
permanently enable night light
occasionally when my monitor falls asleep and i wake it up, night light will stop working and i have to disable, then enable, for it to work normally again.
if theres a script or regedit that could force night light on at all times, please link or post.
i asked gpt to create a vbs that would do this and it gave me this, but it doesnt make sense. why would i use the snipping tool to enable night mode!
Set WshShell = WScript.CreateObject("WScript.Shell")
'Enable Night Light
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.bluelightreductionstate\Current", "1", "REG_DWORD"
'Apply Night Light
WshShell.SendKeys "^{Win}{Shift}{S}"
WScript.Sleep 1000
WshShell.SendKeys "{Right}"
WScript.Sleep 1000
WshShell.SendKeys "{Enter}"
This script uses the Windows Registry to enable Night Light by setting the "bluelightreductionstate" value to "1". Then, it uses the SendKeys method to simulate the keyboard shortcut "Win+Shift+S" which opens the Windows 10 Snipping Tool, and navigates to the "Night Light" option using arrow keys and presses Enter to apply the settings.
Save this code with a .vbs extension and run it as an administrator on your Windows 10 system to enable Night Light.