How to customize Recycle Bin Context Menu?

J

Joe Duchtel

Hello -

My context menu for the recycle bin on my desktop has a lot of entries
that I don't need/want. I was wondering if there is a way to remove
some of these entries from this specific context menu because the only
thing I actually use is the Empty Recycle Bin. I checked out Tweak UI
but there was no option for this.

It has happened where I have select some of the other entires
inadvertently ... which is very annoying.

Thanks!
Joe
 
J

ju.c

These two registry keys are where you'll find
Recycle Bin context menu items:

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

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


ju.c
 
J

Joe Duchtel

These two registry keys are where you'll find
Recycle Bin context menu items:

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

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\Cont­extMenuHandlers

ju.c








- Show quoted text -

Hello -

Thanks ... I just looked for these keys but could only find the
following ...

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

There is no \Shell ...

Thanks,
Joe
 
T

Tim Meddick

Entries to the 'Context Menu' for any folder or file can be added singly by adding to
the 'shell' key.

And to the 'Recycle Bin' specifically by adding to that same 'shell' key under it's
CLSID (Class ID) which is :

{645FF040-5081-101B-9F08-00AA002F954E}

However, it is also possible for Windows or a 3rd-part program to add 'Context Menu'
items using the other sub-key you find there -

'shellext\ContextMenuHandlers'

The clue is in the name - "ContextMenuHandlers" = 'Context Menu' ?

But, in this case, instead of the process having to write the name of the item under
this sub-key (as under the 'shell' key) the item under the
'shellext\ContextMenuHandlers' key points to another CLSID number that, in turn
points to a dll file.

Sometimes you can guess what process placed it there by looking at the path to this
..dll file.

For instance : Under the entry for ALL FILES (HKCR\*) I have many entries under it's
'shellext\ContextMenuHandlers' key and one that points to another CLSID number that
in turn, points to the file : C:\PROGRA~1\WINZIP\WZSHLSTB.DLL

This is the entry for the WinZip Context Menu for all files.

Also, this entry under the 'shellext\ContextMenuHandlers' key does have the name
WinZip in addition to it's long CLSID number.

If any of the entries under your key :

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

....has a name associated with it - it may give you a clue to it's origin.

Otherwise, you would have to do a search in regedit for the CLSID number and under
that you will find a key called : 'InProcServer' - it is under that key you find the
path to the .dll that generates the Context Menu entry itself that you see when you
right-click the bin.

==

If all of this seems a bit complicated you might find that the items you see by
right-clicking on the Recycle Bin are not limited to just the Bin but to all folders.

You may want to check out the entries under the 'shell' key for :

HKCR\Folders\shell

....and :

HKCR\Directory\shell

....as well.

I sincerely hope this did not confuse you. After all, one is not really meant to
edit the registry but to find the programs that placed these context menu entries
and configure them not to add them in the first place (example :as you can do with
the WinZip context menu).

*Note - Please exercise care when editing the registry, always create a backup and /
or create a 'System Restore' point first.

==

Cheers, Tim Meddick, Peckham, London. :)




These two registry keys are where you'll find
Recycle Bin context menu items:

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

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\Cont­extMenuHandlers

ju.c








- Show quoted text -

Hello -

Thanks ... I just looked for these keys but could only find the
following ...

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

There is no \Shell ...

Thanks,
Joe
 
J

Joe Duchtel

Entries to the 'Context Menu' for any folder or file can be added singly by adding to
the 'shell' key.

And to the 'Recycle Bin' specifically by adding to that same 'shell' key under it's
CLSID (Class ID) which is :

{645FF040-5081-101B-9F08-00AA002F954E}

However, it is also possible for Windows or a 3rd-part program to add 'Context Menu'
items using the other sub-key you find there -

'shellext\ContextMenuHandlers'

The clue is in the name - "ContextMenuHandlers" = 'Context Menu' ?

But, in this case, instead of the process having to write the name of theitem under
this sub-key (as under the 'shell' key) the item under the
'shellext\ContextMenuHandlers' key points to another CLSID number that, in turn
points to a dll file.

Sometimes you can guess what process placed it there by looking at the path to this
.dll file.

For instance :  Under the entry for ALL FILES (HKCR\*) I have many entries under it's
'shellext\ContextMenuHandlers' key and one that points to another CLSID number that
in turn, points to the file : C:\PROGRA~1\WINZIP\WZSHLSTB.DLL

This is the entry for the WinZip Context Menu for all files.

Also, this entry under the  'shellext\ContextMenuHandlers' key does have the name
WinZip in addition to it's long CLSID number.

If any of the entries under your key :

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\Cont­extMenuHandlers

...has a name associated with it - it may give you a clue to it's origin.

Otherwise, you would have to do a search in regedit for the CLSID number and under
that you will find a key called : 'InProcServer' - it is under that key you find the
path to the .dll that generates the Context Menu entry itself that you see when you
right-click the bin.

==

If all of this seems a bit complicated you might find that the items you see by
right-clicking on the Recycle Bin are not limited to just the Bin but to all folders.

You may want to check out the entries under the 'shell' key for :

HKCR\Folders\shell

...and :

HKCR\Directory\shell

...as well.

I sincerely hope this did not confuse you.  After all, one is not really meant to
edit the registry but to find the programs that placed these context menuentries
and configure them not to add them in the first place (example :as you can do with
the WinZip context menu).

*Note - Please exercise care when editing the registry, always create a backup and /
or create a 'System Restore' point first.

==

Cheers,    Tim Meddick,    Peckham, London.    :)


These two registry keys are where you'll find
Recycle Bin context menu items:
- Show quoted text -

Hello -

Thanks ... I just looked for these keys but could only find the
following ...

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

There is no \Shell ...

Thanks,
Joe- Hide quoted text -

- Show quoted text -

Hello -

Wow ... a lot of good information! I'll dig through my registry and
try to put the pieces together ...

Thanks!
Joe
 
T

Tim Meddick

The reg-key suggestion:

[HKEY_CLASSES_ROOT\Drive\......]


....sent by "Kelly" will have no effect whatsoever on the Recycle Bin.

I quoted the Key : [...\Folder\...] and [...\Directory\...] because Recycle Bin is
also classed AS a folder - so any context menu allotments for 'folder' (also
'Directory') will also show up on right-clicking the Bin.

I quoted these two other keys in the first place, because you reported that there
were no entries in the Recycle Bin 'shell' key itself :

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E]

but I did say that I thought the entries were sort of 'hidden' under CLSID numbers
under the [...\shellext\ContextMenuHandlers\...] key for the Recycle Bin.

If the unwanted menu items also appear on right-clicking other 'normal' folders as
well, then by all means look under the : [HKCR\Folder\shell] and
[HKCR\Directory\shell] keys.

Otherwise, you would be wasting your time searching any other keys.

=============

I still say, the best way to tackle this issue, would be to locate the program
responsible for placing the context menu items for the Recycle Bin, and see if a
choice is available to turn off the option to have this happen.

It would be referred to by the program as either "Add Context Menu Item" or "Explorer
Shell Extension" and would have a check box or similar to be able to uncheck it and
so disable the menu item from appearing...

==

Cheers, Tim Meddick, Peckham, London. :)




Entries to the 'Context Menu' for any folder or file can be added singly by adding
to
the 'shell' key.

And to the 'Recycle Bin' specifically by adding to that same 'shell' key under it's
CLSID (Class ID) which is :

{645FF040-5081-101B-9F08-00AA002F954E}

However, it is also possible for Windows or a 3rd-part program to add 'Context
Menu'
items using the other sub-key you find there -

'shellext\ContextMenuHandlers'

The clue is in the name - "ContextMenuHandlers" = 'Context Menu' ?

But, in this case, instead of the process having to write the name of the item
under
this sub-key (as under the 'shell' key) the item under the
'shellext\ContextMenuHandlers' key points to another CLSID number that, in turn
points to a dll file.

Sometimes you can guess what process placed it there by looking at the path to this
.dll file.

For instance : Under the entry for ALL FILES (HKCR\*) I have many entries under
it's
'shellext\ContextMenuHandlers' key and one that points to another CLSID number that
in turn, points to the file : C:\PROGRA~1\WINZIP\WZSHLSTB.DLL

This is the entry for the WinZip Context Menu for all files.

Also, this entry under the 'shellext\ContextMenuHandlers' key does have the name
WinZip in addition to it's long CLSID number.

If any of the entries under your key :

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\Cont­extMenuHandlers

...has a name associated with it - it may give you a clue to it's origin.

Otherwise, you would have to do a search in regedit for the CLSID number and under
that you will find a key called : 'InProcServer' - it is under that key you find
the
path to the .dll that generates the Context Menu entry itself that you see when you
right-click the bin.

==

If all of this seems a bit complicated you might find that the items you see by
right-clicking on the Recycle Bin are not limited to just the Bin but to all
folders.

You may want to check out the entries under the 'shell' key for :

HKCR\Folders\shell

...and :

HKCR\Directory\shell

...as well.

I sincerely hope this did not confuse you. After all, one is not really meant to
edit the registry but to find the programs that placed these context menu entries
and configure them not to add them in the first place (example :as you can do with
the WinZip context menu).

*Note - Please exercise care when editing the registry, always create a backup and
/
or create a 'System Restore' point first.

==

Cheers, Tim Meddick, Peckham, London. :)


These two registry keys are where you'll find
Recycle Bin context menu items:
- Show quoted text -

Hello -

Thanks ... I just looked for these keys but could only find the
following ...

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

There is no \Shell ...

Thanks,
Joe- Hide quoted text -

- Show quoted text -

Hello -

Wow ... a lot of good information! I'll dig through my registry and
try to put the pieces together ...

Thanks!
Joe
 
J

Joe Duchtel

The reg-key suggestion:

 [HKEY_CLASSES_ROOT\Drive\......]

...sent by "Kelly" will have no effect whatsoever on the Recycle Bin.

I quoted the Key : [...\Folder\...]  and  [...\Directory\...]  because Recycle Bin is
also classed AS a folder - so any context menu allotments for 'folder' (also
'Directory') will also show up on right-clicking the Bin.

I quoted these two other keys in the first place, because you reported that there
were no entries in the Recycle Bin 'shell' key itself :

 [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E]

but I did say that I thought the entries were sort of 'hidden' under CLSID numbers
under the [...\shellext\ContextMenuHandlers\...] key for the Recycle Bin.

If the unwanted menu items also appear on right-clicking other 'normal' folders as
well, then by all means look under the : [HKCR\Folder\shell]  and
[HKCR\Directory\shell] keys.

Otherwise, you would be wasting your time searching any other keys.

                              =============

I still say, the best way to tackle this issue, would be to locate the program
responsible for placing the context menu items for the Recycle Bin, and see if a
choice is available to turn off the option to have this happen.

It would be referred to by the program as either "Add Context Menu Item" or "Explorer
Shell Extension" and would have a check box or similar to be able to uncheck it and
so disable the menu item from appearing...

==

Cheers,    Tim Meddick,    Peckham, London.    :)


Entries to the 'Context Menu' for any folder or file can be added singly by adding
to
the 'shell' key.
And to the 'Recycle Bin' specifically by adding to that same 'shell' key under it's
CLSID (Class ID) which is :

However, it is also possible for Windows or a 3rd-part program to add 'Context
Menu'
items using the other sub-key you find there -

The clue is in the name - "ContextMenuHandlers" = 'Context Menu' ?
But, in this case, instead of the process having to write the name of the item
under
this sub-key (as under the 'shell' key) the item under the
'shellext\ContextMenuHandlers' key points to another CLSID number that,in turn
points to a dll file.
Sometimes you can guess what process placed it there by looking at the path to this
.dll file.
For instance : Under the entry for ALL FILES (HKCR\*) I have many entries under
it's
'shellext\ContextMenuHandlers' key and one that points to another CLSIDnumber that
in turn, points to the file : C:\PROGRA~1\WINZIP\WZSHLSTB.DLL
This is the entry for the WinZip Context Menu for all files.
Also, this entry under the 'shellext\ContextMenuHandlers' key does havethe name
WinZip in addition to it's long CLSID number.
If any of the entries under your key :

...has a name associated with it - it may give you a clue to it's origin.
Otherwise, you would have to do a search in regedit for the CLSID number and under
that you will find a key called : 'InProcServer' - it is under that keyyou find
the
path to the .dll that generates the Context Menu entry itself that you see when you
right-click the bin.

If all of this seems a bit complicated you might find that the items you see by
right-clicking on the Recycle Bin are not limited to just the Bin but to all
folders.
You may want to check out the entries under the 'shell' key for :

...and :

...as well.
I sincerely hope this did not confuse you. After all, one is not reallymeant to
edit the registry but to find the programs that placed these context menu entries
and configure them not to add them in the first place (example :as you can do with
the WinZip context menu).
*Note - Please exercise care when editing the registry, always create abackup and
/
or create a 'System Restore' point first.

Cheers, Tim Meddick, Peckham, London. :)
"Joe Duchtel" <[email protected]> wrote in message
Thanks ... I just looked for these keys but could only find the
following ...
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex
\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex
\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]

There is no \Shell ...
Thanks,
Joe- Hide quoted text -
- Show quoted text -

Hello -

Wow ... a lot of good information!  I'll dig through my registry and
try to put the pieces together ...

Thanks!
Joe- Hide quoted text -

- Show quoted text -


Hello -

Makes sense ... I think I'll see if the applications have that option.

Thanks for all your time!
Joe
 

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