I'm running Windows Server 2008 and Windows XP clients attached to the domain.
The local user has a background image specified, which I am trying to override with a GPO.
I attempting to set the desktop wallpaper by using a GPO to copy the image file to the local workstation in computer configuration\preferences\files
action: create
source file: \\mydomain.local\NETLOGON\wallpaper\background.bmp
destination file: c:\scripts\wallpaper\background.bmp
Then, setting the wallpaper in user configuration\administrative templates\desktop\desktop
with the setting desktop wallpaper
wallpaper name: C:\scripts\wallpaper\background.bmp
wallpaper style: centered
I am able to see the default wallpaper briefly after logging in, but then it disappears and I'm left with a blank background.
The image file is available on the server, and is successfully copied to the local workstation.
The Client side extensions update is installed on the workstation and other user-based GPO settings are working.
Here are all the settings in the desktop GPO:
Am I missing something?
@Simon-catlin has good hints, and here's a larger list of things to check:
Note if you have to test this via RDP, ensure the RDP session is set to max fidelity (the desktop background is checked or you'll never see it).
Lastly, it may take multiple user logins to see it. With some GPO's, especially in XP, they are set on first login, but don't take affect till 2nd login. Often you'll see info about that in event logs.
I suspect this is happening because the user is using software based wallpaper rather than a static image. In such a case the policy wallpaper would display until such time as the software controlling the wallpaper locally starts up, at which time there is a conflict, with apparently neither one winning. Check what's being run at user logon on that machine. Many screen saver programs will also set the wallpaper.
As it turned out, the problem was two-fold.
First, it was a file permissions issue. When the file is copied from the server to the workstation using the "computer configuration" section of group policy, the copied file only gets assigned permissions for domain administrators.
So, following this technet article, I assigned domain users to the containing folder of
c:\scripts
with inheritable permissions usingcomputer configuration\policies\windows settings\security settings\file system
Second, two additional Desktop preferences needed to be set in group policy. Under
user configuration\administrative templates\desktop\desktop
:Enable Active Desktop
needs to be enabled andDisable Active Desktop
needs to be disabled.After logging out and logging back in with all that configured, the desktop background image was able to appear.
I've found that when access the problematic pc with UltraVNC or Team Viewer the wallpaper reappears immediately.