The Woo Asked: 2011-05-11 18:35:40 +0800 CST2011-05-11 18:35:40 +0800 CST 2011-05-11 18:35:40 +0800 CST Changing Desktop Solid Color Via Registry 772 does anyone know where in the registry for a user the current solid desktop background color is set? windows-registry 5 Answers Voted Best Answer Shane Madden 2011-05-11T18:41:58+08:002011-05-11T18:41:58+08:00 HKCU\Control Panel\Colors\Background It's a string with a space between the numbers for red/green/blue, for instance for straight blue: "0 0 255" Dave 2019-12-05T14:12:59+08:002019-12-05T14:12:59+08:00 the command line "reg add" works well. You can also import this registry: Windows Registry Editor Version 5.00 ; remove picture wallpaper [HKEY_CURRENT_USER\Control Panel\Desktop] "WallPaper"="" ; set RGB = black [HKEY_CURRENT_USER\Control Panel\Colors] "Background"="0 0 0" Arete 2019-04-01T02:42:51+08:002019-04-01T02:42:51+08:00 You can change the desktop background for a user in the registry. First remove the wallpaper, if there is one: reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f Then set you color. The values are in RGB so for example "255 0 0" would be red. reg add "HKEY_CURRENT_USER\Control Panel\Colors" /v Background /t REG_SZ /d "0 66 117" /f daniol 2017-09-15T04:08:09+08:002017-09-15T04:08:09+08:00 The changes on the registry are not applied immediately. A better alternative would be to use the windows function SetSysColors in C++. See this answer: https://stackoverflow.com/a/19849675/3844137 Bangaio 2020-05-06T16:29:14+08:002020-05-06T16:29:14+08:00 In Windows 10 1809, to set the wallpaper to Solid color: black (0 0 0) :: BackgroundType: 0 -> Picture | 1 -> Solid color | 2 -> Slideshow reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v BackgroundType /t REG_DWORD /d 1 /f reg add "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d "" /f reg add "HKCU\Control Panel\Colors" /v Background /t REG_SZ /d "0 0 0" /f Must logoff and login back to apply.
HKCU\Control Panel\Colors\Background
It's a string with a space between the numbers for red/green/blue, for instance for straight blue:
"0 0 255"
the command line "reg add" works well. You can also import this registry:
You can change the desktop background for a user in the registry.
First remove the wallpaper, if there is one:
Then set you color. The values are in RGB so for example
"255 0 0"
would be red.The changes on the registry are not applied immediately.
A better alternative would be to use the windows function SetSysColors in C++.
See this answer: https://stackoverflow.com/a/19849675/3844137
In Windows 10 1809, to set the wallpaper to Solid color: black (0 0 0)
Must logoff and login back to apply.