Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: DesktopBackground Shell entries conflict with Policies DisallowCpl

09 Jul 2013   #1

Windows 7 Ultimate x64 SP1
 
 
DesktopBackground Shell entries conflict with Policies DisallowCpl

Sorry for the cryptic title...

I've used GPedit to hide a looong list of useless Control Panel Items, but i've hit a wall with the Display and the Personalization items, if i try to hide those, the desktop context-menu entries that point to those locations stop working.

I've tried to remove the DelegateExecute command from
HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display\command
and
HKEY_CLASSES_ROOT\DesktopBackground\Shell\Personalize\command
but they are locked.

I should be able to hide those icons and then use RunDLL32 for the Display.cpl (not so sure about Personalization, since that's not a cpl) on the "(default)" command, but i can't change that value either.

I've manually added shortcuts to Control Panel to DesktopBackground in this way. And also Mobility Center and Color Management, by pointing the default action to the exe path.
I've cheated a bit with those, since i don't know enough about Registry editing to figure it out on my own, i just copied the Strings from HKEY_CLASSES_ROOT\DesktopBackground\Shell\Gadgets and changed the application paths. That's probably the wrong way to do it, if you'd care to give it a look:

Code:
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\ControlPanel]
"Icon"="C:\\Windows\\System32\\control.exe, -100"
"MUIVerb"=hex(2):40,00,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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,63,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,2e,00,65,00,78,00,65,00,2c,00,\
  20,00,2d,00,31,00,31,00,31,00,30,00,30,00,00,00
"Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\ControlPanel\command]
@="rundll32.exe shell32.dll,Control_RunDLL"
Code:
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\ColorManagement]
"Icon"="C:\\Windows\\System32\\colorcpl.exe, -100"
"MUIVerb"=hex(2):40,00,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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,63,00,6f,00,6c,00,6f,00,72,00,63,00,70,00,6c,00,2e,00,65,00,78,00,65,00,\
  2c,00,20,00,2d,00,31,00,31,00,31,00,30,00,30,00,00,00
"Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\ColorManagement\command]
@="C:\\Windows\\System32\\colorcpl.exe"
Code:
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\MobilityCenter]
"Icon"="C:\\Windows\\System32\\mblctr.exe, -100"
"MUIVerb"=hex(2):40,00,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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6d,00,62,00,6c,00,63,00,74,00,72,00,2e,00,65,00,78,00,65,00,2c,00,20,00,\
  2d,00,31,00,31,00,31,00,30,00,30,00,00,00
"Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\MobilityCenter\command]
@="C:\\Windows\\System32\\mblctr.exe"
NOTE: The MUIVerb is an expandable string pointing to the same location as the default command, with @%System Root% variable and -11100 at the end.

My System SpecsSystem Spec
.

Reply

 DesktopBackground Shell entries conflict with Policies DisallowCpl





Thread Tools



Similar help and support threads for2: DesktopBackground Shell entries conflict with Policies DisallowCpl
Thread Forum
HELP! Messed up group policies... Network & Sharing
Windows 7 Security Policies System Security
Registry: differences between Shell Folders and User Shell Folders? General Discussion
Bottom Shell / Top Shell Themes and Styles
The system administrator has set policies General Discussion
Local Policies General Discussion
How to set user level policies in Win 7 Pro Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:26 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33