Windows 10: Regedit color choice doesn't survive sleep

Discus and support Regedit color choice doesn't survive sleep in Windows 10 Support to solve the problem; Since workspace background and other color preferences are not programmable under Win10, I've taken a tip from an MS Answers forum and made registry... Discussion in 'Windows 10 Support' started by Electrojim, Jun 29, 2017.

  1. Regedit color choice doesn't survive sleep


    Since workspace background and other color preferences are not programmable under Win10, I've taken a tip from an MS Answers forum and made registry changes to do what earlier versions of Windows did through a built-in utility. There are two areas for this: HKEY_CURRENT_USER > Control Panel > Colors, and HKEY_USERS > .DEFAULT > Control Panel > Colors. Both lists have a 'Window' value factory-set to 255 255 255, or blinding white. This becomes the default background color of many application screens, and also in certain message panes. I have no idea how any of this works, but evidently this is a possible way to customize your Win10 experience.

    I reset the value in both places to 192 220 192, a sort-of neutral green that I find quite easy on the eyes. It shows up behind email messages, Word documents and other places where I spend a lot of time staring at a screen.

    This all works out well when the computer is started, or signed-in after a sign-out, but 'breaks' when coming out of Sleep of Hibernate. In those instances, the background screen color either reverts to white or, if there is an area with lines of text, the background behind the text turns white (and stays white) as you mouse over it. Signing out and back in again fixes this, but what a hassle.

    I wonder if someone might have an idea of how this action could be 'stabilized.' In earlier versions of Windows, where you could change background colors through a MS utility, it worked just fine. Is there a way to force the system to revisit and refresh the Registry info when coming out of sleep? Thanks!

    :)
     
    Electrojim, Jun 29, 2017
    #1

  2. This color is not supported

    I've had the same problem, but this seems to apply to all colors that are darker than a certain limit. Even using Regedit doesn't seem to solve this issue, and a solution would be amazing
     
    DubiousSalmon, Jun 29, 2017
    #2
  3. since the automatic update of windows 10 to the newest version 1067, Windows goes to sleep randomly whatever I am doing

    Go into Start menu Power choices to choose Sleep and observe if this is the exact same behavior you get when it suspends involuntarily. Pay attention to whether your power button light blinks or changes color, etc. then compare the actual Sleep to the involuntary
    one you interpret as sleep to know for sure this is a Sleep issue and not some other type of suspend.

    Then work through the other steps I gave you which go over your install integrity and Sleep most thoroughly to rule out everything in sequence..
     
    Greg Carmack - Windows MVP, Jun 29, 2017
    #3
  4. dalchina New Member

    Regedit color choice doesn't survive sleep

    Your observation is correct. I use background colours set in the same way- when I moved to Win 8 I resolved the problem in the following outline way:

    1. Save the modified theme (with the background colours)
    2. On resume from sleep, run a scheduled task to reapply the modified theme


    Regedit color choice doesn't survive sleep [​IMG]


    Paler yellow theme:

    Regedit color choice doesn't survive sleep [​IMG]


    Autohotkey script and note the freeware utility used:
    ;
    ; After resume from hibernation, background colour set in registry is lost
    ; By applying the same theme (from a different theme file) the setting is refreshed
    ; The required theme files must correspond to those in this script.
    ;

    ; How to run this as a scheduled task after resume from hibernation.
    ; Every time a PC resumes back from hibernate a specific event is created:
    ; Log Name: System
    ; Source: Power-Troubleshooter
    ; Event-ID: 1

    ; Win 10 64 bits

    ; The above event can be used as trigger by the task scheduler.
    ; Open the task scheduler and create a new task.
    ; Switch to the "Triggers" tab and choose "new". Another panel will open.
    ; At the top of this panel, you will see a drop-down menu.
    ; Open it and choose "On an event".
    ; Choose "System" from the pull down menu at the "Log" entry.
    ; Choose "Power-Troubleshooter" at the "Source" entry. The "Event ID" should be "1".
    ; Specify the task as the 'exe' (compiled) form of this script.

    ; Now your task will execute just after the PC resumes from hibernate.

    ;
    ; Apply a theme file saved with the background set
    ;

    ;
    ; Task designed to run after logon - if run too early, no effect.
    ;
    ;msgbox, Restore theme about to be executed
    ;sleep, 5000

    run, "D:\GUI tweaks\Theme Switcher\ThemeSwitcher\Themeswitcher.exe" "%AppData%\..\Local\Microsoft\Windows\Themes\Paler yellow background.theme"

    Exit


    Note: Explorer and some Control Panel backgrounds can be coloured using Quizo's Qttabbar (free).

    Note: See too this utility by @Superfly
    S.M.A.C.C - Superfly's Mouse Assisted Color Chooser - Windows 10 Forums
     
    dalchina, Jun 29, 2017
    #4
  5. Dalchina, thanks so much for that. I'm not all that computer-savvy and was not able to follow your instructions with confidence, but did use Superfly's S.M.A.C.C., which put my new Theme in the list under Personalizations. Now when I wake from Hibernation, I need only to go to Personalizations/Themes and click on my new Theme. Voila, everything is fixed instantly.

    Of course if I had step-by-step guidance for creating the Scheduled Task (and could be sure I didn't screw something up in the process!), that would be ideal. But for now I'm in business and very appreciative of your guidance.
     
    Electrojim, Jun 29, 2017
    #5
  6. dalchina New Member
    So you need to get Autohotkey (free) then adapt the script to use your theme name.

    Also get the free utility referred to in the script.

    Compile the script to form an exe file (1 click) - it's that file you schedule as a task. See script comments.
     
    dalchina, Jun 29, 2017
    #6
  7. Thanks for that, Dalchina, but for someone of my limited ability, I'd need detailed, step-by-step instructions. I couldn't write a script if my life depended on it.
     
    Electrojim, Jun 29, 2017
    #7
  8. dalchina New Member

    Regedit color choice doesn't survive sleep

    The script is written for you- just adapt it for the paths (where things are) and your theme name.

    1. Make sure your chosen background colours are set.
    2. Save your theme.
    3. make note of your them file name.
    4. adapt the name in the script accordingly.

    Can you do that?

    Then download the utility used in the script.

    Also download and install Autohotkey (free)
     
    dalchina, Jun 29, 2017
    #8
  9. Okay, Dalchina, that makes it pretty clear. I'll give this a try, but may wait until a friend comes over who can oversee the operation. Again, I'm still a bit hazy on what I'll be doing here. Thanks for your help!
     
    Electrojim, Jun 29, 2017
    #9
  10. Superfly Win User
    Good to see the "old girl" still coming in useful... haven't worked on it in ages...
     
    Superfly, Jun 29, 2017
    #10
  11. Hey, Superfly! Yes, the 'old thing' works like a champ. I tried to PM you with a word of thanks for developing this and making it available to the world, but the PM utility says your mailbox is so full it won't take another byte. Good man! It's thanks to utilities like yours that make Win10 palatable to those of us who remember how good MS OSes were, back in the old day.
     
    Electrojim, Apr 4, 2018
    #11
Thema:

Regedit color choice doesn't survive sleep

Loading...
  1. Regedit color choice doesn't survive sleep - Similar Threads - Regedit color choice

  2. Task Bar Color use to be my choice

    in Windows 10 Gaming
    Task Bar Color use to be my choice: I have Windows 11 Pro version 24H2. I use to be able to set my taskbar color but now it defaults to an ugly yellow. When I go into personalization - colors it only lets me set my taskbar color when I pick dark mode. I want light mold but I want to pick my color. How do I keep...
  3. Task Bar Color use to be my choice

    in Windows 10 Software and Apps
    Task Bar Color use to be my choice: I have Windows 11 Pro version 24H2. I use to be able to set my taskbar color but now it defaults to an ugly yellow. When I go into personalization - colors it only lets me set my taskbar color when I pick dark mode. I want light mold but I want to pick my color. How do I keep...
  4. Power and Sleep choices will not save

    in Windows 10 Performance & Maintenance
    Power and Sleep choices will not save: I select power and sleep settings, which stay at my selection until i shut down and start up again. At that time, the settings default back to 3-4 minutes for each setting, so I have to re-select my preferences again. How can I save my selections?...
  5. Power and Sleep choices will not save

    in Windows 10 Gaming
    Power and Sleep choices will not save: I select power and sleep settings, which stay at my selection until i shut down and start up again. At that time, the settings default back to 3-4 minutes for each setting, so I have to re-select my preferences again. How can I save my selections?...
  6. Power and Sleep choices will not save

    in Windows 10 Software and Apps
    Power and Sleep choices will not save: I select power and sleep settings, which stay at my selection until i shut down and start up again. At that time, the settings default back to 3-4 minutes for each setting, so I have to re-select my preferences again. How can I save my selections?...
  7. Some application does not "survive" sleep mode.

    in Windows 10 Performance & Maintenance
    Some application does not "survive" sleep mode.: Hello, I'm a new windows user but very experienced Linux/Mac user. I just started using windows a week ago. I bought a new laptop Dell XPS 15 and started to slowly install applications. Starting day 3 or 4 of my usage I tried to install RSS/News readers and twitter clients...
  8. Regedit color changes issues

    in Windows 10 Ask Insider
    Regedit color changes issues: Since last month i have some issues changing colors of the hot tracking and highlight text with regedit. I always changed colors via regedit and it worked since last month but now it doesnt, can anybody help me ? I use the same method as before so im changing RGB values in...
  9. Restore original color choice?

    in Windows 10 Customization
    Restore original color choice?: How do I restore the original colors? https://answers.microsoft.com/en-us/windows/forum/all/restore-original-color-choice/f1f652e9-aa9b-4530-83af-9ca9ec4c63bd
  10. Ribbon color edit via regedit

    in Windows 10 Customization
    Ribbon color edit via regedit: Hi, I would like to know how to edit color of ribbon in regedit, that appear in folders, paint, wordpad etc.. I changed theme to dark but this white ribbon is quite annoying. Thanks[ATTACH][ATTACH]...