Question Locked

Disable right click option to set JPGs or BMPs as Desktop Background

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Goal:
To remove the ability to change the desktop wallpaper.

Through a registry tweak, I was able to disable the wallpaper changer in Display Properties.
Unfortunately, that still leaves the option to right click a graphic file thumbnail in Explorer and select 'Set as Desktop Background.'

I tried this:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ClassicViewState"=dword:00000001
But that only gets rid of the bottom left corner thumbnail option in Explorer. It doesn't eliminate the thumbnail option all together.

Does anyone know a way to remove the option to 'Set as Desktop Background' from the context menu (for .BMP and .JPG files) or a way to remove the thumbnail option from the Windows Explorer - View list and button?

I've searched through the Registry and tried some old tricks but haven't found anything that works yet.

12 replies

by sebastian zdrojewski

Well... a registry trick? How about changing the permissions on the key of the registry? Simply remove the "write" permission to all the users!! :)) Another good way could be by setting up a GPO on the PC, this would be a better way, cleaner and system wide.

by captbilly1eye

are you referring to the key that stores the wallpaper selection itself?
Any idea what key that would be?

My original idea was to just remove the option from the context menu, but finding the key that controls that has eluded me, so far.

The issue has to do with finding the keys associated with wallpaper selection rather than how to remove or block them once found.

Thanks again.

by mga_4

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{89AF894E-EEBC-4ED1-AC82-7078BEBF815D}User\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"Wallpaper"="******"
"WallpaperStyle"="0"
Change "******" to the path off ur desktop back ground

by captbilly1eye

Thanks OM for the perfect solution!
I had all but given up.

Who would of thought the answer was in Registry key creation rather than modification? I didn't.

The second link was helpful as well, but it was the first one that solved it.

Thanks again.

by itsupport

OK, I've had a very similiar problem to this. I work in a school and we want to use bginfo to set the users background with computer information such as computer name and the user that's logged onto the machine. When we first implimented the gpo that did all this we had to relax the active desktop enforcement so that the new bg could be displayed.

Students can't access control panel or any other means of changing the background apart from the "Set as desktop background" and it has driven me mad finding an answer so I do hope this post also helps someone else out there in a similiar predicament!!!

In order to remove it type "regsvr32 /u shimgvw.dll" in the run command. This then changes the context menu when you click on a jpg or other picture and has no "Set..." option.

Fantastic!

by chitiey

i lurve to know how to set it back to normal after we set d students cant access control panel or any other means of changing the background...

by tim.lovegrove

Sorry to necro-post, but have been toying with this issue again myself. This is a good solution in that it definitely disables the rick-click -> Set As Desktop Wallpaper option, but it also appears to disable thumbnail views of images in a folder. This is makes it a lot more contentious with users than is desirable.

by tim.lovegrove

And @Chitiey, to reverse the unregistration of a dll, you just re-register it, so the command would simply be "regsvr32 shimgvw.dll".

This discussion is closed to new replies.