Free command-line wallpaper changer

Posted On 2010-01-25 by FortyPoundHead
Tags: Free Stuff General Windows Commandline Windows
Views: 3789

Need a way to reset the wallpaper to a default from a batch file? This will do the job nicely, no fuss, no muss.

Normally, I would utilize Group Policy in order to set a standard wallpaper to company desktops, use the same technology to prevent users from changing the wallpaper. It's pretty straightforward, and I can hit thousands of client machines easily.

For a reason that escapes me, I needed the ability to set the wallpaper at the command prompt. I think it was simply to play a joke on one of my co-workers. You know, set the background to that of an open pit mine, and call him the productivity hole. Stuff like that.

So, here is WPC, or Wallpaper Changer. Original name, eh? Here's the download.

Just unzip it to a directory somewhere in the default path on your machine. Calling it is pretty simple, too. Simply give the executable the full path and filename of any graphical file suitable for desktop wallpaper use, thus:
wpc C:\MyStuff\MyPicture.jpg
If there are spaces in the path or file name, be sure to enclose the parameter in quotation marks:
wpc "C:\MyS tuff\My Picture.jpg"
This utility should work on all versions of Windows, including 7.

Why would you find this useful?

  • Use in batch files for dynamically updated wallpapers.

  • Put it in All Users Startup to reset the wallpaper every time a user logs in.

  • Park and Execute it on remote machines with Pusher.

Just a few ideas. I'm sure you can think of some more!

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links