Discussion:
Script to change desktop wall paper?
(too old to reply)
Tadashi Inayama
2005-05-13 21:04:54 UTC
Permalink
Is there a script (command line or wsh) to change the desktop wallpaper.

Thanks,
Tadashi
Patrick Rouse
2005-05-15 17:17:10 UTC
Permalink
Well the defined wallpaper is sotred in the registry, so you could edit this
value via script, i.e. with regedit /s regfile.reg (regfile being the values
exported from your machine), or you could change the value via reg or regini
(or via Group Policy):

http://www.windowsitlibrary.com/Content/314/1.html
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.workthin.com
Post by Tadashi Inayama
Is there a script (command line or wsh) to change the desktop wallpaper.
Thanks,
Tadashi
Tadashi Inayama
2005-05-16 17:47:56 UTC
Permalink
I can run the wsh command to change the registry, but the problem is that
there are several
places where desktop wall paper is configured and I need to know which/where
is the
correct place to change the wall for the scrip to change when the user logs
on,
ie is it in HKCU, Local Machine, or Current Config?

GPO, as far as I know, that changes desktop wallpaper does not apply/work on
terminal servers

Thanks,
Tadashi
Post by Patrick Rouse
Well the defined wallpaper is sotred in the registry, so you could edit this
value via script, i.e. with regedit /s regfile.reg (regfile being the values
exported from your machine), or you could change the value via reg or regini
http://www.windowsitlibrary.com/Content/314/1.html
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.workthin.com
Post by Tadashi Inayama
Is there a script (command line or wsh) to change the desktop wallpaper.
Thanks,
Tadashi
Patrick Rouse
2005-05-16 17:55:24 UTC
Permalink
This is stored in each user's profile, so you'd want to edit the value in
HKCU at the time of logon.
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.workthin.com
Post by Tadashi Inayama
I can run the wsh command to change the registry, but the problem is that
there are several
places where desktop wall paper is configured and I need to know which/where
is the
correct place to change the wall for the scrip to change when the user logs
on,
ie is it in HKCU, Local Machine, or Current Config?
GPO, as far as I know, that changes desktop wallpaper does not apply/work on
terminal servers
Thanks,
Tadashi
Post by Patrick Rouse
Well the defined wallpaper is sotred in the registry, so you could edit this
value via script, i.e. with regedit /s regfile.reg (regfile being the values
exported from your machine), or you could change the value via reg or regini
http://www.windowsitlibrary.com/Content/314/1.html
--
Patrick Rouse
Microsoft MVP - Terminal Server
http://www.workthin.com
Post by Tadashi Inayama
Is there a script (command line or wsh) to change the desktop wallpaper.
Thanks,
Tadashi
Loading...