permanently enable night light


  1. Posts : 75
    19045.2965
       #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.
      My Computer


  2. Posts : 42,967
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    If Windows still thinks Nightlight is on when you wake your display, trying to get Windows to keep Nightlight on isn't going to help.

    Presumably when the monitor wakes, you see Windows settings showing Nightlight is still on (e.g. in the Action Centre and Settings).

    I can only assume what's happening is some effect between your graphics card and the monitor, depending on exactly what has gone into sleep mode.

    If there's no obvious way to fix that, I would suggest you rather look for a simple one-click/hotkey approach to toggling the Nightlight setting. Manually, the easiest is proably using the Action Centre.

    (Win A, click Nightlight twice).

    Trying to simplify that e.g. to a single hotkey looks less than straightforward:
    How can I enable/disable Night Light with a single keyboard shortcut in Windows 10? - Super User
      My Computers


  3. Posts : 2,732
    Windows 10
       #3

    Much easier to use the Control Panel of your Graphics and save a suitable Colour Profile. Applies to any brand of GPU, Intel, Nvidia etc.

    i.e. adjust the Red and Blue colours such that you get a similar effect to the Night light which is basically a lower colour temperature(warmer colours). Night light being Off.
      My Computer


  4. Posts : 112
    Windows 10 Home 22H2 19045.4291
       #4

    This worked for me,

    > Settings > System > Night Light Settings> Click on Box "Turn on Now' > Set your light level (I use 72) >Turn off 'Schedule Night Light'

    See this link > Turn On or Off Night Light in Windows 10

    Hope this works for you. Have a great day!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:46.
Find Us




Windows 10 Forums