Page 1 of 1

Remove Search Everything... from Recycle Bin context menu

Posted: Mon May 16, 2016 3:36 pm
by nka
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:

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

Posted: Mon May 16, 2016 7:14 pm
by therube
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).

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

Posted: Mon May 16, 2016 8:56 pm
by nka
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.

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

Posted: Sat May 21, 2016 8:00 am
by mwsm
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

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

Posted: Sun May 22, 2016 2:27 am
by nka
@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.

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

Posted: Wed Jul 10, 2019 12:35 am
by Eagleizer
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 :)

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

Posted: Wed Jul 31, 2019 5:05 pm
by soaper
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! ;)

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

Posted: Tue Oct 05, 2021 6:32 pm
by Dimon
Didn't help !(

The keyes and values contained in C:\Users\...\Desktop\123.reg have been successfully entered into the registry.
:evil: :evil: :evil:

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

Posted: Tue Oct 05, 2021 11:19 pm
by void
Please try using double backslashes in <your Everything path from the Folder key>

For example:

C:\\Program Files\\Everything\\Everything.exe

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

Posted: Wed Oct 06, 2021 10:04 am
by Dimon
Sorry, nothing helped.
I tried and C:\Program Files\Everything\Everything.exe and Double Backslashes.
Log out.. Windows 7x64.

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]
@="\"C:\Program Files\Everything\Everything.exe" -path \"%1\""
Oh well !
It's just nothing to look for me in the Recycle Bin, and many distracts the Everything icon from the "Empty Recycle Bin" button.

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

Posted: Wed Oct 06, 2021 10:24 am
by void
Please try the following:

Code: Select all

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Folder\shell\Search Everything...]

[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...]
"Icon"="C:\\Program Files\\Everything\\Everything.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...\command]
@="\"C:\\Program Files\\Everything\\Everything.exe\" -path \"%1\""
Please make sure you import the reg file as an administrator.

If the issue persists, please send a screen shot of your registry under
HKEY_CLASSES_ROOT\Folder\shell
and
HKEY_CLASSES_ROOT\Directory\shell



Everything does not install a system context menu by default.
The context menu can be toggled from Tools -> Options -> General -> Show Search Everything folder context menu item.

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

Posted: Wed Oct 06, 2021 11:48 am
by soaper
void is always helpful here, thanks.

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

Posted: Wed Oct 06, 2021 2:48 pm
by Dimon
Did it !)
Image

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

Posted: Wed Oct 06, 2021 6:21 pm
by NotNull
Your link doesn't work here ..

You can also upload images to this forum itself:
- click on the Attachments tab below your post and follow the steps.


2021-10-06 20_18_43-Window.png
2021-10-06 20_18_43-Window.png (21.52 KiB) Viewed 13288 times

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

Posted: Thu Oct 07, 2021 12:40 pm
by Dimon
Pardon

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

Posted: Thu Oct 07, 2021 3:16 pm
by NotNull
Dimon wrote: Thu Oct 07, 2021 12:40 pmPardon
No problem; I was just trying to help you.

The screenshots are useful.
The reg-file that was posted removes the HKEY_CLASSES_ROOT\Folder\shell\Search Everything... registry key.
However, in your case you need to remove the Russian version of it: the HKEY_CLASSES_ROOT\Folder\shell\Найти в Everything... key.



@void:
Consider using a general verb and a MUIVerb for localization:
(I might have suggested this before (too lazy to check atm.); if so: please ignore ...)

Code: Select all

[HKCR\Folder\shell\SearchEverything]
MuiVerb = (REG_SZ) Найти в Everything...
(Or maybe even a current user variant, so multiple users on one system can each set their own language

Code: Select all

[HKCU\Folder\shell\SearchEverything]
MuiVerb = (REG_SZ) Найти в Everything...
All the other keys can remain under HKCR\Folder\shell\SearchEverything.

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

Posted: Thu Oct 07, 2021 6:14 pm
by Dimon
Thank you all very much ! It's a go !
I think many people will find this information useful..

In short, the order of action is:

1. Install in English.
2. Apply file.reg.
3. Switch a language in the Everything settings.


(i used this)

Code: Select all

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Folder\shell\Search Everything...]
[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...]
"Icon"="C:\\Program Files\\Everything\\Everything.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\Search Everything...\command]
@="\"C:\\Program Files\\Everything\\Everything.exe\" -path \"%1\""
Win7x64

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

Posted: Fri Oct 08, 2021 1:25 am
by void
Consider using a general verb and a MUIVerb for localization:
Thanks for the suggestion NotNull,
I have put on my TODO list to set the (default) or the MUIVerb value under [HKCR\Folder\shell\Search Everything...] to the localized text.

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

Posted: Wed Feb 28, 2024 9:50 am
by DrLightman
Yes it's annoying the fact that in my case it positioned itself as second item in the context menu, and for years that spot has been occupied by the default "empty trash..." so now 75% of the times when I go muscle memory to empty the trash I hit "search everying" instead.

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

Posted: Wed Feb 28, 2024 11:49 am
by soaper
Please see this thread for workaround: viewtopic.php?t=14471&e=1