17

I am in a situation where my wallpaper is locked to a specific image on my work computer via group policy. I can't change it via the Personalization settings since it is grayed out and says it has been set by the system administrator.

Anyone know some local GPO and/or registry hackery I can do to override the domain's policy? I could probably get away with logging in under a local account for this, but I want that to be a last resort.

fixer1234
  • 28,064
void.pointer
  • 1,907

9 Answers9

20

I was able to get around by going to this location in the registry:

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Inside, there's a key called Wallpaper. I deleted it and re-set the desktop background, and it worked.

You'll have to do that every time you log on though, as group policy refreshes itself. (It can also be set to refresh automatically.)

Ryan
  • 324
12

Even if there were a hack, GPO is rechecked and reset regularly and each time you log in.

I assume this policy was probably created as an over-reaction to potentially offensive desktop background images.

Petitioning your IT org to change this setting and simply rely on people making the right choice or getting talked to by their managers may be a more effective solution.

music2myear
  • 49,799
8

Easy...just do a search for the name of the wallpaper. Once you find the location that has the filename (i.e. wallpaper.jpg), simply rename that file to wallpaper-Old.jpg (or something like that). Next place either the image, or a link to an image, that you want to use in that location with the name wallpaper.jpg ( or whatever the original file's name was). This is just continuing with what W. Jackson was hinting at...

That said, do you know the location of the file that is used for the desktop background? Can you take the wallpaper you want and save it in that location? – William Jackson

This is just a workaround that does not require hacking the registry or any of the sysadmins' settings from A/D or the local machine.

7

A slight variation to Ryan's answer above is to load regedit and to navigate to the same key:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies

Under this key there may be a key:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop

If there is a string called "NoChangingWallPaper" set it to = "0"

Under the key:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

If there are strings "Wallpaper" and "WallpaperStyle" then delete these two strings.

Close regedit and then go into the "Personalize" settings and you should be able to change the wallpaper to one of your choosing.

If this still doesn't work you may need to log out of Windows and log back in.

The above was tested successfully on Windows 10.

I also find that the Group Policy synchronisation is usually less frequent than daily (but I guess each environment could differ here). Logging onto your PC before connecting to the network can help reduce the frequency of the Group Policy re-sync as well. If you have a laptop and it supports hibernation this can also decrease the frequency of Group Policy re-sync. I can usually go at least a couple of weeks to a month without the group policy wallpaper being re-applied and this is without implementing any automation scripts on startup.

3

Here is a workaround if you are the local admin on your machine:

...and if you can find the image that the policy is using to set your wallpaper (in my case it was in C:\Windows\Web\wallpaper\backround.jpeg) you can change it's security permissions to deny all.

Next time you log in, the policy will not be able to overwrite the image or set it as wallpaper and hence it will default to a solid colour background. In my case I am still not able to choose a new image for the background because group policy disabled that option; I am however able to choose the Windows 7 default theme which set the background to default black.

I only wanted a black background in my case so I did not try to tinker around with the various read/write/modify permissions on the image itself. However, theoretically, you may be able to make your own image, name it the same as the default group policy background image, replace the default image with the new, change permissions on all groups, users to read only. This way the policy should fail to overwrite the image but succeed to set it as the default background. I have not tried this last bit.

This is the only solution I know off that is not temporary. All other solutions, including those that change the registry settings, will be overwritten by the policy every time you log in.

I tried using DisplayFusion and it does work but the change is temporary to the current session; DisplayFusion software will change the wallpaper to any of your chosing but every time you log out and back in and policy is re-applied, you will have to open DisplayFusion and hit OK to update the wallpaper.

2

firefox definitely over rides the policy key. My system is locked down like fort knox i cant do anything through registry key nor through local policy everything is locked but using firefox right-click and then setting image as desktop background worked like a charm.

0

Open the image/wallpaper in your browser (IE). From there right click on the image and select set as wallpaper.

Problem is however when you log off/shut down it will revert back to the group policy set up. But you can just do the above again once you login.

Nev
  • 1
0

Apparently, Firefox is able to override the policy and can set the wallpaper. just right-click on the image and click "set as desktop background."

-1

Save this as a .reg file and place a shorcut to it in your startup directory.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"Wallpaper"="C:\\Users\\rebel\\Pictures\\wallpaper.jpg"
"WallpaperStyle"="4"