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 »

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: 4977
Joined: Thu Sep 03, 2009 6:48 pm

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

Post 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).
nka
Posts: 6
Joined: Sun Jun 23, 2013 4:22 pm

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

Post 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.
mwsm
Posts: 21
Joined: Thu Feb 28, 2013 2:01 am

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

Post 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
nka
Posts: 6
Joined: Sun Jun 23, 2013 4:22 pm

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

Post 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.
Eagleizer
Posts: 2
Joined: Wed Nov 01, 2017 11:19 am

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

Post 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 :)
soaper
Posts: 55
Joined: Sun Nov 08, 2015 9:34 am

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

Post 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! ;)
Dimon
Posts: 5
Joined: Tue Oct 05, 2021 5:51 pm

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

Post 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:
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void »

Please try using double backslashes in <your Everything path from the Folder key>

For example:

C:\\Program Files\\Everything\\Everything.exe
Dimon
Posts: 5
Joined: Tue Oct 05, 2021 5:51 pm

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

Post 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.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

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

Post 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.
soaper
Posts: 55
Joined: Sun Nov 08, 2015 9:34 am

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

Post by soaper »

void is always helpful here, thanks.
Dimon
Posts: 5
Joined: Tue Oct 05, 2021 5:51 pm

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

Post by Dimon »

Did it !)
Image
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

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

Post 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 16933 times
Dimon
Posts: 5
Joined: Tue Oct 05, 2021 5:51 pm

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

Post by Dimon »

Pardon
Last edited by Dimon on Thu Oct 07, 2021 5:58 pm, edited 1 time in total.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

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

Post 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.
Dimon
Posts: 5
Joined: Tue Oct 05, 2021 5:51 pm

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

Post 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
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

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

Post 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.
DrLightman
Posts: 3
Joined: Tue Feb 13, 2024 10:03 am

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

Post 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.
soaper
Posts: 55
Joined: Sun Nov 08, 2015 9:34 am

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

Post by soaper »

Please see this thread for workaround: viewtopic.php?t=14471&e=1
Post Reply