Questions

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

+
0 Votes
Locked

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

CaptBilly1Eye
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.
  • +
    0 Votes

    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.

    +
    0 Votes
    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.

    +
    0 Votes
    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

    +
    0 Votes
    CaptBilly1Eye

    I would still appreciate any ideas for this conundrum.

    +
    0 Votes
    OldER Mycroft

    Apparently you can stop any changes. - It doesn't say if it disables right click tho'.

    http://www.pctools.com/guides/registry/detail/1097/

    If not, this tells you the reg keys involved - maybe a bit of judicious reverse engineering is called for?

    http://support.microsoft.com/kb/921049


    Tom ?...whassisname.

    <Edited for typo>

    +
    0 Votes
    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.


    <blasted typos>

    +
    0 Votes
    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!

    +
    0 Votes
    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...

    +
    0 Votes
    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.

    +
    0 Votes
    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".

    +
    0 Votes

    Go to this thread, I posted the information there, it involves the registry but it's not the same as this, it works 100% against using right-click on a picture to do it.

    http://techrepublic.com.com/5208-6230-0.html?forumID=102&threadID=276764&start=0

  • +
    0 Votes

    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.

    +
    0 Votes
    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.

    +
    0 Votes
    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

    +
    0 Votes
    CaptBilly1Eye

    I would still appreciate any ideas for this conundrum.

    +
    0 Votes
    OldER Mycroft

    Apparently you can stop any changes. - It doesn't say if it disables right click tho'.

    http://www.pctools.com/guides/registry/detail/1097/

    If not, this tells you the reg keys involved - maybe a bit of judicious reverse engineering is called for?

    http://support.microsoft.com/kb/921049


    Tom ?...whassisname.

    <Edited for typo>

    +
    0 Votes
    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.


    <blasted typos>

    +
    0 Votes
    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!

    +
    0 Votes
    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...

    +
    0 Votes
    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.

    +
    0 Votes
    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".

    +
    0 Votes

    Go to this thread, I posted the information there, it involves the registry but it's not the same as this, it works 100% against using right-click on a picture to do it.

    http://techrepublic.com.com/5208-6230-0.html?forumID=102&threadID=276764&start=0