How do I set a custom default accent color during deployment of Windows 10?

When deploying Windows 10, I am able to set a partial custom theme using the settings in unattend.xml as follows:

 <settings pass="oobeSystem">
  <component name="Microsoft-Windows-Shell-Setup"
    <ThemeName>Custom Corporate Theme</ThemeName>

I’m looking for a way to set default accent color to something that complements my custom desktop wallpaper instead of the default periwinkle blue color. The user interface for this setting in a running installation is Settings app > Personalization > Colors > Choose your accent color. I am perfectly happy to choose from the provided color palette, but I don’t know how to specify it during deployment so that it becomes the default for all new user accounts along with the custom theme.

I thought the WindowColor element might do it, but I haven’t been able to find documentation for it in Windows 10. There is documentation for it in Windows 7 and 8 on TechNet and MSDN, but there were differences between those versions and no indication about what values to use in Windows 10 or if any values will even work. I tried <WindowColor>Color 1</WindowColor> just to see what would happen, but I did not get the desired result.

I tried configuring the color I wanted in a running version of Windows, extracting all the relevant values from the registry, and applying them in Windows PE to the appropriate places in HKLM and HKCU of the default user profile in the target OS in Windows PE prior to the first boot after install.wim was applied to the disk, but this did not work. As part of the first boot and first logon processes, my values were overwritten.

I also tried creating a custom theme and setting it as the default theme by changing registry references to aero.theme to my custom theme, but this still did not accomplish my goal.

I’m stumped. The default accent color looks terrible with my desired custom desktop wallpaper. How do I set a custom default accent color during deployment of Windows 10?

Server Fault Asked by Jay Michaud on December 27, 2020

1 Answers

One Answer

Predefined colors are deprecated. Use a custom hex ARGB color value preceeding with 0x. E.g.: 0xff0078d7 (default blue). Or you may want to use 'Automatic'. More infomation:

Answered by Pano on December 27, 2020

Add your own answers!

Related Questions

Soft limit vs Hard limit?

3  Asked on February 16, 2021 by kidcapital


RRAS IKEv2 VPN no response

0  Asked on February 16, 2021 by asagohan


CentOS 8 Chrony – how to query servers for time difference?

1  Asked on February 14, 2021 by dualsport


Increase download speed of ftp server

2  Asked on February 13, 2021 by 18bytes


MaxMind GeoIP CSV to .dat

1  Asked on February 12, 2021 by yax


Ask a Question

Get help from others!

© 2022 All rights reserved.