windowsbatch-filevbscriptdesktop-wallpaper

Changing Windows 7 Wallpaper Remotely


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?


Solution

  • 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