Remove menu items

Nov 21, 2022 12 3863
Shell gives you the ability to remove any item from the context menu with just one line in the static items section without modifying the Windows Registry.

The find property is used to find the item to be removed, and then assign remove to the visibility property

static
{
    item(find='format' visibility="remove")
}

Remove multiple items

static
{
    item(find='"print"|"restore previous versions"' visibility="remove")
}

12 Comments

Bambi
confused
Cobe
Hi,
I can't make it work for taskbar menus. For example, I can't hide the Cascade windows item...
Admin
Cobe
Hi,
I can't make it work for taskbar menus. For example, I can't hide the Cascade windows item...


What version of Windows are you using?
Cobe
Windows 10 Pro 22H2
Cobe
So, any idea what's wrong ? Here is what I do:

static
{
item(find='Cascade' visibility="remove")
}
Admin
Cobe After completing and saving the modifications, you need to reload the settings by pressing Ctrl + Right-Click or restart the Explorer.
Hecta
I'm trying to remove Go To with this line in the static block: item(find='Go To' visibility="remove").
Also tried with "goto". What's the correct name of the item?
Zen
I want to disable "terminal" and "develop" from right click, can u explain with example
i seems i cant get it done.
Admin
"go to", "terminal" and "develop" are items added by Shell. You can remove them from the "shell.nss" configuration file by deleting the following lines or putting a "//" at the beginning of the line. Then save the changes and restart the explorer.


dynamic
{
// import 'imports/terminal.nss'
// import 'imports/develop.nss'
// import 'imports/goto.nss'
}
Makezu
not work.. should you guys update this page or program to add easy way remove these? example I want remove apps.. go to.. Windows.. also desktop. Also want add that OS version what this guy use maybe include for that Windows version example 11 to if thats possible: https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fd7czyoy4ms4b1.png
Hali
in context menu, i just want to keep favorites and then just name of applications instead of sub-directories of applications and directories.
is it possible?
i am sorry to bother you but i am new to this.
Cobe
So after 1.9.15 release, I tried again. This:
static
{
item(find='Cascade' visibility="remove")
}

seems to now prevent Shell to be loaded. I tried this:
modify(
where=str.equals(this.name, ["Cascade"])
vis=vis.remove)

but it still doesn't hide the 'Cascade' entry from taskbar right click. What am I doing wrong?

Comment format
  • **bold**
  • [[quote]]
  • [link title](https://site.com)
  • ![image title](https://site.com/image.png)
  • `code`
  • ```code block```