Desktop wallpaper

I need to apply a new wallpaper via group policy.. after apply the policy when a user lock the machine the previous wallpaper appear.
I need to prevent this action...
any one can help
Mohab82Asked:
Who is Participating?
 
Mohab82Connect With a Mentor Author Commented:
Thank you for your reply.
I changed the registry key but it still display the user's previous background..
your advise will be highly appreciated
0
 
bluntTonyConnect With a Mentor Commented:
The wallpaper that appears when the workstation is locked is stored in a different registry location to the users' active desktop wallpaper:

HKEY USERS\.DEFAULT\Control Panel\Desktop\Wallpaper

Unfortunately this cannot be changed via GPO by default. You could either create a ADM to set this registry value, or apply a login script. The script is probably simplest. Add the below lines to your existing login script, or create a new vbs and apply as a login script via group policy.

Where the below script shows \\server\share\wallpaper.jpg change this to the UNC of your image. Or, if you want a plain background (as it is by default), clear the value.
Set objSh = CreateObject("Wscript.Shell")
objSh.RegWrite "HKEY_USERS\.DEFAULT\Control Panel\Desktop\Wallpaper", "\\server\share\wallpaper.jpg", "REG_SZ"

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.