Link to home
Start Free TrialLog in
Avatar of GTTech2010
GTTech2010

asked on

Using Group Policy to push files to computers

Hi,

I am having trouble with getting group policy to push a file to computers joined to the domain.

I have a server 2008 R2  operating at level 2003 (because of old legacy machines).  I am trying to transfer a file each computer and set it as the desktop background.

source: //server/public/logo.jpg
destination: C:\Windows\Web\Wallpaper\logo.jpg

I want to use group policy to accomplish this.

can someone provide a how to with the proper steps because I have tried this a dozen times with no luck.
SOLUTION
Avatar of megs28
megs28
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
few years ago i changed our windows wallpapers.

You need to create two group policy object.

first: you will need to create logon copybatch.

User Configuration > Windows Settings> Scripts > Logon

add-> copyfile.vbs

copyfile.vbs:

Set FSO = CreateObject("Scripting.FileSystemObject")
If NOT FSO.FileExists("c:\logo.jpg") Then
    fso.CopyFile "\\server\public\logo.jpg", "c:\logo.jpg"
End If

Second:
User Configuration > Administrative Templates > Desktop > Desktop >
Desktop Wallpaper: Enable
Desktop Wallpaper Name: c:\logo.jpg
Wallpaper Style: Fill
I second group policy preferences.

These are incredibly powerful, allowing manipulation of files and registry directly from group policies and are often overlooked in favour of scripts.
Note that GP preferences will only work on XP and above.  XP and 2k3 need the GP extensions as mentioned in my first post.  This is how I prefer to do it well, but I have no 2000 clients.
Avatar of GTTech2010
GTTech2010

ASKER

Thank you