How to Refresh the System Immediately After Modifying the Registry

XUWANBIN 201 Reputation points
2023-01-04T16:46:01.897+00:00

I want to change the system theme color through the registry, but I find that the system does not refresh after modifying the registry, which requires me to restart the computer or restart the Explorer.
Can you change the color immediately after the change, as with system Settings, without restarting any applications?
It comes from windows11

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,442 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 86,491 Reputation points
    2023-01-04T17:34:35.477+00:00

    System Settings sends WM_SETTINGCHANGE, as I posted in this thread : What APIs does Windows provide to change System Color Mode?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.