7

We have a policy setup to use an image for our desktop background, this works, however we have decided that by default this should be the setting but if the user wants to change it then they can, everything else under the Admin Templates > Control Panel>Personalization & Admin Templates > Desktop>Desktop is "Not Configured" however I cant change the background image, any ideas how I get this to work, only running a win7 environment?

1
  • Are you deploying the background via policy at all (at the moment) or did you just have this set only within the default image you guys use?
    – user95923
    Feb 11, 2014 at 20:48

2 Answers 2

6

In the group policy preferences registry item there is an option to Apply once and do not reapply. So configure the setting with a preference and check this box. The setting will then only be applied once per profile (for per-user policies).

enter image description here

3

Put it in the image? Conversely, script changes to the default user.

You should be able to script a copy file from share to machine and edit the default user's wallpaper via registry setting. I'd probably use Approach C, modify the default user's registry, since wallpaper is a single key:

[HKEY_CURRENT_USER\Control Panel\Desktop] "Wallpaper"="C:\\Users\\Public\\Pictures\\Sample Pictures\\CompanyLogo.jpg"

(Double slashes are required.)

There's a script in that article that's basically:

:: ##Configure Default User 
:: #Load Default User hive 
reg load "hku\Test" "%USERPROFILE%\..\Default User\NTUSER.DAT" 
:: #Disable Desktop Cleanup 
reg add "hku\Test\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz" /v NoRun /t REG_DWORD /d 1 /f 
:: #Unload Default User hive 
reg unload "hku\Test"

Which could be edited to instead change the wallpaper key to your preferred default. You might then set this to be a start up script in group policy. It'll only affect new logons, but it sounds like that's what you want.

Full disclosure: I haven't actually tested this, and obviously you want to before you deploy it. Also, if you look at the date on the article, it's kind of kickin' it old skool, but for a single key and a file copy it's probably the most efficient way if you don't want to change the users' current wallpaper.

I hope that helps.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .