How can I force Windows to refresh Window Color Theme?


  1. Posts : 53
    Windows 7 Ultimate x64
       #1

    How can I force Windows to refresh Window Color Theme?


    Hi,

    I have a Registry file that manipulates the Window Color themes (the entries from [HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]).

    The changes are made, but Windows does not refresh/reload the color settings. Only if I reboot do I see the changes.

    I would like to see the changes take effect as soon as I change the registry values. Is there a program/utility I can run that does the same thing as the "Save Changes" in the Window Color Personalization dialog window?

    I don't want to have to reboot to see my changes.

    If you have any idea, please let me know.

    Thanks!
      My Computer


  2. Posts : 1,506
    W7 Ult. x64 | OS X
       #2

    You might be able to get the colors to apply by cycling explorer.exe

    Ctrl - Alt - Dlt | Close Explorer.exe | New process: explorer.exe
      My Computer


  3. Posts : 53
    Windows 7 Ultimate x64
    Thread Starter
       #3

    I tried that and it didn't work unfortunately.
      My Computer


  4. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
       #4

    Hello Nuspieds,

    You might see if stopping and starting the Desktop Window Manager Session Manager Service may refresh it for you.

    Hope this helps,
    Shawn
      My Computer


  5. Posts : 53
    Windows 7 Ultimate x64
    Thread Starter
       #5

    Hi Shawn,

    You're a genius!!!

    Yep, stopping and starting the service does the trick.

    I want everything to be automated, though, so I will be using a script/batch file to make the registry changes and then using the "net" command to stop and restart the DWM service.

    Thanks for yoiur help!!!
      My Computer


  6. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
       #6

    You're most welcome Nuspieds. I'm happy to hear that you got it sorted. :)
      My Computer


 

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

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