/build/static/layout/Breadcrumb_cap_w.png

How to Set Desktop Wallpaper in Windows 10 via script

Hi all,
We have PCs with Deep Freeze installed that we can thaw and refreeze via Kace scripts. We want to be able to change the desktop wallpaper for everyone in this environment and I am unsure how to do so. I know how to copy the image file to the PC via file synchronization, but I am not sure how to set it as the wallpaper. Any help would be appreciated!
Thanks!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: tshupp 7 years ago
3rd Degree Black Belt
0
Under Scripts -> Configuration Policies there's a script generator for desktop wallpaper. 

If you want to change the wallpaper regularly, you could try going into the script and editing the variables for the dependency directory to your sync directory. Then set it to run every day or so. The user would need to log out and back in for the change to take effect, but it should work.

Comments:
  • Thanks! I just tried this and although it was technically successful, the wallpaper did not set. If you go to the Personalize screen, it thinks the wallpaper is the new one I set by the script, but the desktop wallpaper itself is still the old one. It's like it's cached somewhere. If I click on the new wallpaper shown in the personalize window it immediately sets, it's just not done automatically. hmmm. - seanboy 7 years ago
    • That script works fine for Win7, for Win10 is more difficult, I suggest you do this via GPO policies,

      If not, maybe a power-shell script see:
      https://stackoverflow.com/questions/33551934/script-to-change-wallpaper-in-windows-10 - Channeler 7 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ