Set default wallpaper for all users in Win7?
I'm looking for a way to standardize the default wallpaper on all PCs that get imaged and deployed to employees. We want to set a company wallpaper as part of the imaging process but we do not want to prevent the end user from being able to change the wallpaper later on if they want to do so. We use KACE as our imaging tool so we can run any standard batch file/vbscript/wscript or an application. The key thing is that when the PC gets imaged the end user's profile is not yet present on the PC (all the imaging tasks use local administrator account) so we need something that will set the default wallpaper for any domain user that logs on in the future.
I have thought about using a GPO, but the two reasons I don't want to are 1) that would apply to all users, I only want the default wallpaper to apply to users when they get a new PC and 2) I don't think the user can change their wallpaper if it is set via GPO.
Ideally, this is how we want it to work:
- PC gets imaged
- End user logs onto PC via AD for the first time and their local profile gets created
- The first time the user logs on, their wallpaper is preset to a standard company wallpaper
- If the end user wants to change their wallpaper, they can do so
Solution 1:
The group policy preferences may have what you need.
The wallpaper setting, like many other things is set in the registry. The Group Policy Preferences has the ability to set registry items like the standard GP templates.
- Wallpaper: HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper
Preferences are different from the standard Group policy template items, with a preference you can check the box apply once and do not reapply. If you use this option you can set the wallpaper registry value a single time, and users can change it.
Solution 2:
Just use group policy.
User Configuration\Administrative Templates\Desktop\Desktop\Desktop Wallpaper
Specifies the desktop background ("wallpaper") displayed on all users' desktops.
This setting lets you specify the wallpaper on users' desktops and prevents users from changing the image or its presentation. The wallpaper you specify can be stored in a bitmap (.bmp) or JPEG (.jpg) file.
To use this setting, type the fully qualified path and name of the file that stores the wallpaper image. You can type a local path, such as C:\Windows\web\wallpaper\home.jpg or a UNC path, such as \Server\Share\Corp.jpg. If the specified file is not available when the user logs on, no wallpaper is displayed. Users cannot specify alternative wallpaper. You can also use this setting to specify that the wallpaper image be centered, tiled, or stretched. Users cannot change this specification.
Source: http://gpsearch.azurewebsites.net/#141
As well you can check nice guide which covers couple scenarios at: http://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/
Solution 3:
The simple solution is to replace the default windows background, in case when Themes service is running and Aero is enabled it's located here:
C:\Windows\Web\Wallpaper\Windows\img0.jpg
What I've been doing for a VDI project a while back was to enable the Themes service and Aero in VM image and then add the following registry to the default user (note that I'm using a custom image as a background). Certainly recommend to test it in a lab first:
[HKEY_USERS\.DEFAULT\Control Panel\Cursors]
@="Windows Aero"
"Scheme Source"=dword:00000002
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"UserPreferencesMask"=hex:90,12,03,80,10,00,00,00
"WallPaper"=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,25,00,\
55,00,53,00,45,00,52,00,4e,00,41,00,4d,00,45,00,25,00,5c,00,41,00,70,00,70,\
00,44,00,61,00,74,00,61,00,5c,00,52,00,6f,00,61,00,6d,00,69,00,6e,00,67,00,\
5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,\
00,6e,00,64,00,6f,00,77,00,73,00,5c,00,54,00,68,00,65,00,6d,00,65,00,73,00,\
5c,00,54,00,72,00,61,00,6e,00,73,00,63,00,6f,00,64,00,65,00,64,00,57,00,61,\
00,6c,00,6c,00,70,00,61,00,70,00,65,00,72,00,2e,00,6a,00,70,00,67,00,00,00
[HKEY_USERS\.DEFAULT\Control Panel\Desktop\WindowMetrics]
"BorderWidth"="-15"
"CaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CaptionHeight"="-315"
"CaptionWidth"="-315"
"IconFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"IconTitleWrap"="1"
"MenuFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MenuHeight"="-285"
"MenuWidth"="-285"
"MessageFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ScrollHeight"="-255"
"ScrollWidth"="-255"
"SmCaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\
00,00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"SmCaptionHeight"="-255"
"SmCaptionWidth"="-255"
"StatusFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Shell Icon Size"="32"
"AppliedDPI"=dword:00000060
"PaddedBorderWidth"="-60"
"IconSpacing"="-1125"
"IconVerticalSpacing"="-1125"
"MinAnimate"="0"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Desktop\General]
"WallpaperSource"="C:\\WINDOWS\\web\\wallpaper\\Windows\\img0-win7.jpg"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\Images]
"ID-1"="4XAFA8BUg/E0gouOpBhoYjAArADMdmBAvMkOcBAAAAAAAAAAAAAAAAAAAAAAAAgUAEDAAAAAAwEPbnFEAcVauR2b3NHA8AACAQAAv7r76UoGMxz2ZpCAAAA6DAAAAAQAAAAAAAAAAAAAAAAAAAAAXBQaA4GAkBwbAcHAzBAAAYBAGBQMAAAAAAAT80zUQAwVlJGA0AACAQAAv7r76goGMxTPTpCAAAw5UBAAAAQAAAAAAAAAAAAAAAAAAAAAXBQZAIGAAAgEAgFAxAAAAAAAMxTPTBBAXFETMBVQ+FDAAAEAIAABA8uvurjpswEP9MlKAAAAoTFAAAAABAAAAAAAAAAAAAAAAAAAAcFAhBAbAwGAwBQYAAHAlBgcAAAAYAQ2EEDAAAAAAwEP9MFEAcVauR2b3NHA8AACAQAAv7r76YKLMxTPTpCAAAQ6UBAAAAQAAAAAAAAAAAAAAAAAAAAAXBQaA4GAkBwbAcHAzBAAAYBAHSAAAABAv7bAAAAA1RAAAEHBAAQMTB1UFUdzVzpLbAxkXiAArwS+uGCAAAAEAAAAAsEAlBQeAoDAQBQSAQEAAAwEAAAAkBAAAk3AAAAFAAAAAMEAvBgbAQGApBAdAkGAvBgbAAAACBAAA4BAAAAcAIHAvBAcAQDAyAQOAQDA5AgNAcDAyAQOAUDAAAAAA8yAAAwEN+WEeARpPRI1/LYe4kRNAAAAAEAAAAwCAAAAJyV8SdhWhj0uNb0o4zJfCDAAAAA4a9cQadvBI17hZdc2k4YukBAAAsAAAAwHAYAAAAgKA4CAqBAcAcGAAAAAAEAAAA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AEBAOAcDAtAQNAkDADBwNAQEA5AgMAQDA4AQRAIEA5AQfAAAAAAwKAAAAKAAAAAgTAEGAtBQZAAAAIAAAAABAAAwVAkGAuBAZA8GA3BwcAAAAbAAAAoAAAAAAUBQeAAHAlBAAAMBAAAAAAAAAAAAAAAAAAAgFAAAA"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\ThemeManager]
"ThemeActive"="1"
"LoadedBefore"="1"
"LastUserLangID"="1033"
"LastLoadedDPI"="96"
"DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\
00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,41,00,65,00,72,00,6f,00,5c,00,\
41,00,65,00,72,00,6f,00,2e,00,6d,00,73,00,73,00,74,00,79,00,6c,00,65,00,73,\
00,00,00
"ColorName"="NormalColor"
"SizeName"="NormalSize"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Themes]
"CurrentTheme"="C:\\WINDOWS\\resources\\Themes\\aero.theme"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\DWM]
"Composition"=dword:00000001
"ColorizationOpaqueBlend"=dword:00000000
"EnableAeroPeek"=dword:00000000
"AlwaysHibernateThumbnails"=dword:00000000
"CompositionPolicy"=dword:00000002
"ColorizationColor"=dword:6b74b8fc
"ColorizationColorBalance"=dword:00000008
"ColorizationAfterglow"=dword:6b74b8fc
"ColorizationAfterglowBalance"=dword:0000002b
"ColorizationBlurBalance"=dword:00000031
"ColorizationGlassReflectionIntensity"=dword:00000000