How to disable a Windows registry key without deleting it

0

I wanted to disable an item in Windows context menus so I found the key relating to it. Deleting this key may solve my problem but is there any other way than deleting it would do the work? Perhaps adding a "--" string before its 'default' value?

contextmenu regedit registry registrykey
2021-11-24 06:41:27
1

0

Without knowing the type of verb we are talking about it is hard to give an exact answer.

If it is a static verb (...\xyz\shell\open) then inside the "open" key create one or more of the following empty string values: Extended, LegacyDisable or ProgrammaticAccessOnly.

If this verb has DropTarget and/or DelegateExcute you might have to rename those.

If it is a dynamic verb (...\xyz\shellex\open) you need to change the guid (subkey or value) to make it invalid. Prepend any character before {.

You can also prevent Explorer from reading the key by changing the ACL. Right-click the verb key and select "Permissions" and in the standard security dialog go into advanced mode and deny yourself or your group the query and enumerate access rights.

2021-11-24 11:33:39

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................