Solved

Desktop wallpaper

Posted on 2009-05-11
2
513 Views
Last Modified: 2012-05-06
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
Comment
Question by:Mohab82
2 Comments
 
LVL 27

Assisted Solution

by:bluntTony
bluntTony earned 20 total points
ID: 24354211
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
 

Accepted Solution

by:
Mohab82 earned 0 total points
ID: 24508834
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question