On Windows 10, I must update both AccentPalette and AccentColorMenu and I don't need to restart Explorer
Change Accent Color for Taskbar on Windows 11 via Registry
Hi, I would like to know, how to change registry Accent Color value for Taskbar.
This color of Taskbar appears, when I change HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\ColorPrevalence to 1
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
3 additional answers
Sort by: Most helpful
-
Wesley Li 11,260 Reputation points
2024-09-09T16:40:49.9166667+00:00 Hello
To change the registry Accent Color value for the Taskbar, you can follow these steps:
- Open the Registry Editor by pressing Win + R, typing regedit, and pressing Enter.
- Navigate to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize.
- Find the ColorPrevalence key and set its value to 1 to enable the accent color on the Taskbar.
- To change the actual accent color, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Accent.
- Modify the AccentColor key to the desired color value in hexadecimal format.
After making these changes, you might need to restart your computer or log out and log back in for the changes to take effect.
-
Castorix31 90,686 Reputation points
2024-09-09T21:51:35.7533333+00:00 With undocumented APIs, SetUserColorPreference works on my Windows 10 22H2 OS
There is a sample at https://github.com/m417z/Windows-10-Color-Control/blob/master/WindowsThemeColorApi.cpp
-
Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
2025-05-07T12:21:57.42+00:00 I really couldn't do this, no matter what reg keys I was trying... the color value always gets back to the orignal.