Batch to change desktop wallpaper?

February 21, 2007 at 05:49:42
Specs: XP, 512

I've tryed searching all over the google but can not find it.
Could someone please write me a batch script to change my desktop wallpaper when ran.

i.e. a special named image file next to the file its self or in a specialy directory i.e. windows etc

I't would be a great help!

See More: Batch to change desktop wallpaper?

Report •

February 21, 2007 at 10:41:43

Modify the path to suit your needs:

@echo off
reg /add HKCU\Control Panel\Desktop\WallPaper /v wallpaper /t REG_SZ /d c:\images\wallpaper.bmp

You may need to refresh the desktop for the changes to take effect.

"Computer security." — Oxymoron

Report •

February 21, 2007 at 11:59:01

I got someone else to try it but it didn't seem to work.

I was unable to run it on my computer as it said access denied. I don't supose you know of a way on how to grant me access again. This is my computer and started saying that around a few month ago...

Report •

February 22, 2007 at 12:51:09

Are you running as a privileged user, such as Admin? You may have to open regedit and change the permissions on that subkey to allow your user to modify it.

"Computer security." — Oxymoron

Report •

Related Solutions

February 22, 2007 at 13:11:03

I am Admin yes, that is the strange thing.

Report •

Ask Question