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
473243 2006-07-25 00:41: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
Waynz (1704)
473244 2006-07-25 02:23:00 Use a Group Policy to enforce the wallpaper!

i13.photobucket.com
SolMiester (139)
473245 2006-07-25 22:36:00 Thanks SolMiester

Is it me or are u talking about the Screen Saver not the wallpaper?

And what i forgot the mention was that i what to force the wallpaper only for one user or group. Sorry about that.

Cheers Wayne
:help:
Waynz (1704)
473246 2006-07-25 23:52:00 Option for Wallpaper is under Active desktop berryb (99)
473247 2006-07-26 01:13:00 Thanks SolMiester

Is it me or are u talking about the Screen Saver not the wallpaper?

And what i forgot the mention was that i what to force the wallpaper only for one user or group. Sorry about that.

Cheers Wayne
:help:


LOL, yeah, got that one wrong, however same as, just find right one and associate to Workstation OU in AD
SolMiester (139)
473248 2006-07-26 22:26:00 Thanks SolMiester

Got it 2 work - But the wallpaper doesn't seem to update till you logoff and logon. but if i have 2 i can live with that.

The jpg file sometimes have trouble displaying (might b the size?) this mostly fix after logoff and logging back on.

Cheers wayne
:badpc:
Waynz (1704)
473249 2006-07-26 22:53:00 Just a follow up,

The wallpapers set 2 the right one, but can not b changed by the user, (good anyway). On loading the new wallpaper is displayed but after everything is loaded the wallpaper goes blank, if i looking in display properties the wallpaper is set 2 the right one, but can not b chaged, In Group Policy's if i set "Block Policy Inheritance" the wallpaper displays 1/4 right hand side and blank the rest.

Is it the size of the jpg?
Postion is "stretch"
Is it something to do with the display properties being locked?
I have only chaged the Active Desktop Wallpaper.

Any help is great

Cheers Wayne
:thumbs:
Waynz (1704)
473250 2006-07-27 01:24:00 Sorry People,

My mistake - 4 some reason in Display Properties - Desktop - Customize Desktop - Web (tab) My Current Home Page was ticked, Unticked this and all is well now.

Thanks Everyone 4 their help

Cheers Wayne
:D
Waynz (1704)
473251 2006-07-27 01:29:00 Waynz, you will have to play around with the policies....I dont use display restrictions. Yes to does prevent user intervention, but thats what its supposed to do.

You can command all workstations from GPO

Window 2000 needs to log on, log off for GPO to authenciate, however windows 2003 server will dymanic update policy on the fly, every 15min I think.
SolMiester (139)
473252 2006-07-31 01:34:00 Hi People

I Have mandatory profile (man)
Have got the wallpaper to update (if change it it only changes after a reboot)
I can live with this. BUT now

however when i enforce the wallpaper it makes the icons have a background color instead of the standard transparent XP icon text. Is there a way to make the icons transparent?

Cheers Wayne
:eek:
Waynz (1704)
1 2