diff --git a/assets/Backinfo/BackInfo.ini b/assets/Backinfo/BackInfo.ini index c415a2c..4a643df 100644 --- a/assets/Backinfo/BackInfo.ini +++ b/assets/Backinfo/BackInfo.ini @@ -56,8 +56,11 @@ ;; [General] -BackgroundColor = 2097152 -AutoBackground = 1 +; #223B47 in COLORREF (0x00BBGGRR): R=34 G=59 B=71 = 71*65536 + 59*256 + 34 = 4668194 +BackgroundColor = 4668194 +; AutoBackground=0: do NOT read live desktop color - unreliable during deployment +; (live session may not yet reflect the registry background color change) +AutoBackground = 0 Output = %temp%\backinfo.bmp UpdateDesktop = 1 LineSpacing = 2 diff --git a/scripts/05-personalization.ps1 b/scripts/05-personalization.ps1 index 987f5d0..aa879cd 100644 --- a/scripts/05-personalization.ps1 +++ b/scripts/05-personalization.ps1 @@ -94,6 +94,17 @@ function Apply-ThemeSettings { Set-Reg -Path "$HiveRoot\Software\Microsoft\Windows\DWM" ` -Name "ColorPrevalence" -Value 1 + # ----------------------------------------------------------------------- + # Accent color for taskbar + # Windows taskbar reads AccentColorMenu from Explorer\Accent, NOT DWM\AccentColor. + # Without this key the taskbar keeps the Windows default accent (light blue). + # ----------------------------------------------------------------------- + Set-Reg -Path "$HiveRoot\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" ` + -Name "AccentColorMenu" -Value $AccentColorABGR -Type "DWord" + + Set-Reg -Path "$HiveRoot\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" ` + -Name "StartColorMenu" -Value $AccentColorABGR -Type "DWord" + # ----------------------------------------------------------------------- # Wallpaper - solid color #223B47 (fallback before DesktopInfo runs) # -----------------------------------------------------------------------