Forum Home
Press F1
 
Thread ID: 71047 2006-07-25 00:41:00 Script 4 Windows 2000 server to set XP wallpaper Waynz (1704) Press F1
Post ID Timestamp Content User
473253 2007-03-14 02:59:00 What i need is a script to set the wallpaper on the client XP Pro michines with in the Profiles on a windows 2000 server.

I have had a good look on the net, but no real luck.

Found one (below) but can not get it to work.

Any help would b great.
:thumbs:


Set objShell=CreateObject("Wscript.Shell")
KeyName = "HKEY_USERS\.DEFAULT\Control Panel\"
objShell.RegWrite KeyName & "Desktop Wallpaper", "\\server\share\image.jpg"

Cheers Wayne


i got a question.. where do i place this

Set objShell=CreateObject("Wscript.Shell")
KeyName = "HKEY_USERS\.DEFAULT\Control Panel\"
objShell.RegWrite KeyName & "Desktop Wallpaper", "\\server\share\image.jpg"

in a text file and save as a .bat? will this work?

Noob
bornfree (10810)
1 2