Need some registry editing help..

S

Synapse Syndrome

I am using this little folders.dll from the NT4 Resource Pack with the
supplied reg file that adds context menu items to all folders to save icon
positions.

I don't really want it added to all folders. Just the Recycle Bin would be
neater. I have noticed that context menu item entries can be added to just
the Recycle Bin in:

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell

Now this is the reg file that comes with folders.dll:

-----------------------------------------------------------------------------------------
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\{19F500E0-9964-11cf-B63D-08002B317C03}]
@="Desktop Icon Layout"
[HKEY_CLASSES_ROOT\CLSID\{19F500E0-9964-11cf-B63D-08002B317C03}\InProcServer32]
@="Layout.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\IconLayout]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{19F500E0-9964-11cf-B63D-08002B317C03}"="Desktop Icon Layout"
-----------------------------------------------------------------------------------------

Is there any way that the above entries can be edited so that the context
menu only appears on the Recycle Bin?

Cheers

ss.
 
D

David Candy

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers
@="{19F500E0-9964-11cf-B63D-08002B317C03}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{19F500E0-9964-11cf-B63D-08002B317C03}"="Desktop Icon Layout"
 
S

Synapse Syndrome

"David Candy" <.> wrote in message
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers
@="{19F500E0-9964-11cf-B63D-08002B317C03}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{19F500E0-9964-11cf-B63D-08002B317C03}"="Desktop Icon Layout"


--
-------------------------------------------------------------------------------------------------


Hi David

I take it that those two lines replace the last two lines in the reg file,
but as the second entry that you have here is the same as the original why
didn't you just say replace the third entry with your first entry? Looking
at the first entry I am not sure which entry that is actually supposed to
replace. Could you please clarify which of the original entries I am
supposed to keep?

Cheers.

ss.

-----------------------------------------------------------------------
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\{19F500E0-9964-11cf-B63D-08002B317C03}]
@="Desktop Icon Layout"
[HKEY_CLASSES_ROOT\CLSID\{19F500E0-9964-11cf-B63D-08002B317C03}\InProcServer32]
@="Layout.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\IconLayout]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{19F500E0-9964-11cf-B63D-08002B317C03}"="Desktop Icon Layout"
-----------------------------------------------------------------------
 
D

David Candy

1st, 2nd and 4th (4th is needed in a security lockdown mode) install the code. 3rd adds to menu.
 
S

Synapse Syndrome

"David Candy" <.> wrote in message
1st, 2nd and 4th (4th is needed in a security lockdown mode) install the
code. 3rd adds to menu.


Hmmn. I deleted this key from the registry and the folder context menus
disappeared.

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\IconLayout]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"



and I added made this reg file and added it to the registry:

---------------------------------------------------------------------------
REGEDIT4

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"
---------------------------------------------------------------------------

But it didn't seem to make any changes. I rebooted to make sure, but the
context menu entry on the Recycle Bin has not appeared. Are you sure it
shouldn't be in Shell rather than shellex??

ss.
 
D

David Candy

Did it appear on the recycle's menu while applied to Folders. It goes under shellex\contextmenuhandlers because it is a context menu extension.
 
R

Ramesh, MS-MVP

{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers]

Should be:

{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers\IconLayout]

See also:

Manage the context-menu entries for files, folders, drives and Namespace
objects:
http://windowsxp.mvps.org/context_folders.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com



"David Candy" <.> wrote in message
1st, 2nd and 4th (4th is needed in a security lockdown mode) install the
code. 3rd adds to menu.


Hmmn. I deleted this key from the registry and the folder context menus
disappeared.

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\IconLayout]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"



and I added made this reg file and added it to the registry:

---------------------------------------------------------------------------
REGEDIT4

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers]
@="{19F500E0-9964-11cf-B63D-08002B317C03}"
---------------------------------------------------------------------------

But it didn't seem to make any changes. I rebooted to make sure, but the
context menu entry on the Recycle Bin has not appeared. Are you sure it
shouldn't be in Shell rather than shellex??

ss.
 
R

Ramesh, MS-MVP

You're welcome!

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Ramesh said:
{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers]

Should be:

{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers\IconLayout]

See also:

Manage the context-menu entries for files, folders, drives and Namespace
objects:
http://windowsxp.mvps.org/context_folders.htm

Thanks, that worked perfectly.

ss.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top