If creating a policy package for SCCM: Compile to EXE, add the EXE you just created to SCCM as a package: Create Package > Environment > Program can run: Only when user is logged on > Run with user rights.
Commands
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent” /v AccentColorMenu /t REG_DWORD /d 4292311040 /f
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent” /v AccentPalette /t REG_BINARY /d a6d8ff0076b9ed00429ce3000078d700005a9e000042750000264200f7630c00 /f
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent” /v StartColorMenu /t REG_DWORD /d 4288567808 /f
Save as Accent.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent]
“AccentPalette”=hex:a6,d8,ff,00,76,b9,ed,00,42,9c,e3,00,00,78,d7,00,00,5a,9e,00,00,42,75,00,00,26,42,00,f7,63,0c,00
“StartColorMenu”=dword:ff9e5a00
“AccentColorMenu”=dword:ffd77800
Notes
VBScript
Set objShell = CreateObject("WScript.Shell") on error resume next objShell.Run "REG ADD " & chr(34) & "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" & chr(34) & " /v AccentColorMenu /t REG_DWORD /d 4292311040 /f",0,false objShell.Run "REG ADD " & chr(34) & "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" & chr(34) & " /v AccentPalette /t REG_BINARY /d a6d8ff0076b9ed00429ce3000078d700005a9e000042750000264200f7630c00 /f",0,false objShell.Run "REG ADD " & chr(34) & "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" & chr(34) & " /v StartColorMenu /t REG_DWORD /d 4288567808 /f",0,false
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\%UserSID%\AnyoneRead\Colors
type: dword
value: AccentColor
data: 4287365347
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\%UserSID%\AnyoneRead\Colors
type: dword
value: StartColor
data: 4279042201
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM” /v AccentColor /t REG_DWORD /d “4292311040” /f
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM” /v ColorizationAfterglow /t REG_DWORD /d “3288365271” /f
reg add “HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM” /v ColorizationColor /t REG_DWORD /d “3288365271” /f
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization