Skip to main content

Windows - Set Wallpaper

Summary

This document outlines how to set the active desktop wallpaper for all users from a local path or a URL. It can optionally enforce the wallpaper for all users on login.

Time Saved by Automation: 10 Minutes

Sample Run

Set Mode: Set Mode

Enforcement Mode: Enforcement Mode

Reset Mode: Reset Mode

User Parameters

NameExampleRequiredDescription
PathC:/user/myuser/Pictures/CoolWallpaper.pngSemiEither a path to a local image or a URL.
AllUsersTrueFalseSet this to "True" to enforce the wallpaper for all users on login.
ResetTrueSemiSet only this parameter to "True" to remove all enforcement and reset all users' wallpapers back to their previous one. If they do not have a previous wallpaper, the default Windows wallpaper will be used.

Output

C:/ProgramData/_automation/script/Set-Wallpaper/Set-Wallpaper-log.txt