Changing Windows 7 Wallpaper Remotely

John Doe picture John Doe · Apr 14, 2014 · Viewed 41.9k times · Source

I am trying to remotely change the wallpaper on about 50 computers that are running Win 7 in a WORKGROUP environment.

I have local admin rights to all of them plus they are running an agent (Faronics) that lets me push .bat .exe .msi .vbs and .ps1 to them remotely.

Just wondering if there was any application that lets me do that remotely or if not, what is the easiest way to get my image to these machines and set it as default wallpaper?

Answer

PA. picture PA. · Apr 14, 2014

The wallpaper that Windows uses is in the registry under the HKCU\Control Panel\Desktop\Wallpaper key

you just can change it with the REG command.

See REG /? and then try...

reg query "HKCU\Control Panel\Desktop" /v Wallpaper

and

reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d D:\my.bmp /f