General Computing
windows-7 command-line desktop-customization
Updated Sat, 23 Jul 2022 10:47:09 GMT

Change Windows Desktop Background command line

Is there a command line option to change the Windows desktop background color?

I want to set my desktop background to use Solid Colors (blue - rgb: 57, 109, 166) with no background image. The only reading I find is about how to change the desktop wallpaper image.


The background is stored in the registry. There are a few different ways to set it. But there several ways to set a registry value via the command line.

To set the background to a specific color you need to unset any wallpaers, and set the color.

HKEY_CURRENT_USER\Control Panel\Colors\Background = 'r g b'
HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper = ''

Comments (1)

  • +0 – Holy cow I think that might be it! I just didn't realize what background was specifying. I figured it was related to the image somehow. I'll give it a shot tomorrow if I can but I'm pretty sure that's exactly it! — Dec 10, 2014 at 22:20