• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 519
  • Last Modified:

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
0
Mohab82
Asked:
Mohab82
2 Solutions
 
bluntTonyCommented:
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
 
Mohab82Author 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

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now