Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 796
  • Last Modified:

Controling Desktop Background Images through GP

We have configured GP on server 2003 to prevent anyone from adding a background image to their desktop. However, how do we remove existing backgrounds? There are a lot of users with existing backgrounds.
0
mray77
Asked:
mray77
1 Solution
 
KenneniahCommented:
User Configuration | Desktop | Active Desktop | Active Desktop Wallpaper
Set it to enabled, and use a path\filename that doesn't actually exist.
It will not affect users currently logged in until a logoff/logon however.
Also ignore the fact the name says Active Desktop, it does work for normal wallpaper.
0
 
BigBadWolf_000Commented:
Add the script below to your login script....or save file with vbs extension and run on each PC....logon account must have access to edit registry
ON ERROR RESUME NEXT
Set WshShell = WScript.CreateObject("WScript.Shell")
wallpaper1 = "HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper"
wallpaper2 = "HKEY_USERS\.DEFAULT\Control Panel\Desktop\Wallpaper"
WshShell.RegDelete wallpaper1
WshShell.RegDelete wallpaper2
Set WshShell = Nothing

Open in new window

0
 
loftywormCommented:
You will want to find the reg key were it is at, and manipulate it that way.  There is no builtin GP to do that I know of, but you can script it simply enough.
0
Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

 
enriquecadalsoCommented:
Hello. You can reset it to the background you want (e.g. a corporate logo)

http://windowsitpro.com/article/articleid/48285/giving-all-users-the-same-desktop-background.html
0
 
mray77Author Commented:
Kennaniah, your solution did not work for us. Odd though, becuase that is not the first i've read that solution. I'm moving on to test the others. However, i'm going to try the next one's. My only concern with the other ideas thus far is that our users are not admins or power users on their local machine, therefore, i'm going to have to find a way to get them to run the vb srcipt.
0
 
KenneniahCommented:
Odd yes, as it does work here. Slightly different however since we are using GP on Server 2008, the the setting is in User Configuration | Desktop | Desktop | Desktop Wallpaper

I don't remember having to set Enable Active Desktop to enabled when we were still on XP and 2003, but it's possible like mentioned in Enrique's link.

As for a script, users have full access to the user section of the registry (HKEY_CURRENT_USER). Therefore they don't have to be admins or power users to delete from that section. They just won't have rights to remove the section in HKEY_USERS\.Default, which is only used when creating a new profile.
0
 
BigBadWolf_000Commented:
I you want....you can remove lines 4 and 6 since they only effect new profiles
0

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

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