Link to home
Start Free TrialLog in
Avatar of pdixit1977
pdixit1977Flag for India

asked on

Desktop wallpaper not getting updated on all users.

Hi,
Here is the process how we deployed desktop wallpaper.
we do copy concerned wallpaper by name wall.jpg and copy it to sysvol folder of 1 of our domain controller and than we give its path in group policies (administrative template > active desktop > active desktop wallpaper) for our domain.

Now the problem is this wallpaper is not getting updated on all machines, around 50% of machines still displaying old wallpaper. Please help me and let me know how to resolve this.
Avatar of g000se
g000se
Flag of United States of America image

Hi,

Did you try to run a gpupdate /force on one of the machines to see if would change to the new desktop wall paper.
Avatar of pdixit1977

ASKER

yes but no luck
Avatar of Ashinpixel
Ashinpixel

as above running a gpupdate /force /boot and see if this changes anything.

do not run it too many times as it can get confused if you have lots of policies flying about/changing.

run the above as an admin user.
What happens if you reboot the client machine?  Does the new wall paper show up?
day before yesterday we had power maintenance activity and all machines was shut down but old wallpaper is still showing.
another thing i want to mention here that we are using ghost for imaging that old images was duplicate i mean they were not taken thru sysprep so the SID duplicacy is present here.
this is just for FYI.
IF you examine application event log and observe any USERENV errors. if exists that would be an indication that the group polices are not being updated to those machines either because of SID problems or some thing else. Run the newSID tool first because it will lead to duplication and mess up.
Rajesh, I didn't catch you.
Yes, USERNV logs are generating in application logs. What is newSID tools ?
Avatar of abolinhas
You can use this on logon script. Just create a bat file and put him on logon script
call :quiet>nul 2>&1
goto :EOF
:quiet
:: Configure Wallpaper
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "Your Image Location"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Open in new window

thanks for the script but i dont think logon script would be helpful because something is wrong with group policy deployment and in that scenario there is no use of logon script as well.
You can use logon script in same time with gpo.

Just in this case this logon script chage the regedit directy on you clients and if I'm not worg gpo dont.

So, I believe to change background on your clients trough gpo, this procedure is more eficient.

You can try, you only spend about 10min to implement this procedure and test in your client that you are having problems.

Just create a bat file (like logon.bat) with this:
call :quiet>nul 2>&1
goto :EOF
:quiet
:: Configure Wallpaper
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "Your Share Image Location"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

and to implement logon script on gpo, check this article
http://www.computerperformance.co.uk/Logon/logon_script_assign.htm
Got it, will check it and update you by tomorrow since production is on hight speed at this movement.
abolinhas,
I have dignose that SMB signing is the issue behind not implementing the GP in my environment and now i need your scripting expertise to make below registry changes thru logon script.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
value data should be 1 for "enablesecuritysignature" key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
value data should be 1 for "enablesecuritysignature" key
value data should be 0 for "requiresecuritysignature" key
Can I write it in vbscript and give ?
Try this. After run, refresh regedit
call :quiet>nul 2>&1
goto :EOF
:quiet
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters" /V 

enablesecuritysignature /T REG_DWORD /F /D 1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters" /V 

enablesecuritysignature /T REG_DWORD /F /D 1
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters" /V 

requiresecuritysignature /T REG_DWORD /F /D 0
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Open in new window

yes rajesh, VB script will also work for me.
abolinhas,
I tried your script as batch script but it doesn't make the changes in registry. below is the command result.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\pramod.dixit>cd\

C:\>
C:\>reg.bat

C:\>call :quiet  1>nul 2>&1
ASKER CERTIFIED SOLUTION
Avatar of abolinhas
abolinhas
Flag of Portugal 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
its working now, thanks..
I will get back to you post test it as logon script on few machines.
An issue,
we only need to make these registry changes on those machines on which desktop wallpaper is not appearing correctly but if we run it as logon script, the changes would done for all which will again creates a problem for us so no matter of running this in script but yes the problem because of SMB signing.
thanks