Remove Search Everything... from Recycle Bin context menu

General discussion related to "Everything".
Post Reply
nka
Posts: 6
Joined: Sun Jun 23, 2013 4:22 pm

Remove Search Everything... from Recycle Bin context menu

Post by nka » Mon May 16, 2016 3:36 pm

Hello,

I would like to keep Everything context menu for folders, but would like to remove the option from the Recycle Bin. Does anyone know the registry key where the recycle bin context menu is located? Thank you! :mrgreen:

therube
Posts: 2310
Joined: Thu Sep 03, 2009 6:48 pm

Re: Remove Search Everything... from Recycle Bin context men

Post by therube » Mon May 16, 2016 7:14 pm

Don't know that you can do that?

You could exclude the /RECYCLER/ directory itself, which would exclude any results from within that directory tree from displaying (but would not disable the context-menu).

nka
Posts: 6
Joined: Sun Jun 23, 2013 4:22 pm

Re: Remove Search Everything... from Recycle Bin context men

Post by nka » Mon May 16, 2016 8:56 pm

Thanks for your reply. Unfortunately, I'm interested in disabling the context menu for just the recycle bin. I know it is possible in other programs like CCleaner for example. It may be a matter of finding the appropriate registry key to alter. At this point, I have not found that.

mwsm
Posts: 21
Joined: Thu Feb 28, 2013 2:01 am

Re: Remove Search Everything... from Recycle Bin context men

Post by mwsm » Sat May 21, 2016 8:00 am

The registry key for the Recycle Bin folder is:

Code: Select all

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}
but that won't help you. To accomplish what you want you'll need to move the Search Everything key from:

Code: Select all

HKEY_CLASSES_ROOT\Folder\shell\Search Everything...
to:

Code: Select all

HKEY_CLASSES_ROOT\Directory\shell\Search Everything...
That is, from the Folder key (which also applies to special folders like the Recycle Bin) to the Directory key (which only applies to regular folders). Note that this will also remove the Search Everything context menu item from all other special folders, eg the Control Panel folder.

You can also do this with a .reg file:

Code: Select all

[-HKEY_CLASSES_ROOT\Folder\shell\Search Everything...]

[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...]
[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...\command]
@="\"<your Everything path from the Folder key>" -path \"%1\""
More details here (for Total Commander):

http://ghisler.ch/wiki/index.php/Explorer_integration

nka
Posts: 6
Joined: Sun Jun 23, 2013 4:22 pm

Re: Remove Search Everything... from Recycle Bin context men

Post by nka » Sun May 22, 2016 2:27 am

@mwsm: Worked great. Thank you!

For anyone who is interested in this tweak copy and paste the following into notepad and then save as All files, and add .reg to the end of the filename

Code: Select all

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Folder\shell\Search Everything...]

[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...]
[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...\command]
@="\"<your Everything path from the Folder key>" -path \"%1\""

*note: you should probably back up your registry before applying this, just in case.

Eagleizer
Posts: 1
Joined: Wed Nov 01, 2017 11:19 am

Re: Remove Search Everything... from Recycle Bin context men

Post by Eagleizer » Wed Jul 10, 2019 12:35 am

nka wrote:
Sun May 22, 2016 2:27 am
@mwsm: Worked great. Thank you!

For anyone who is interested in this tweak copy and paste the following into notepad and then save as All files, and add .reg to the end of the filename

Code: Select all

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Folder\shell\Search Everything...]

[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...]
[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...\command]
@="\"<your Everything path from the Folder key>" -path \"%1\""

*note: you should probably back up your registry before applying this, just in case.
Thanks a lot for the added information! I could not get it to work without the
"Windows Registry Editor Version 5.00".

Some day, maybe this can be done from within the Tools menu in Everything.


Cheers :)

soaper
Posts: 31
Joined: Sun Nov 08, 2015 9:34 am

Re: Remove Search Everything... from Recycle Bin context menu

Post by soaper » Wed Jul 31, 2019 5:05 pm

Just confirming that this fix works on Windows 10 version 1903.

And shame on Search Everything for adding a context menu entry to the Recycle Bin without consent from the user! ;)

Post Reply