Context menu (right-click menu)– handy tool to speed up work in Windows. Today we will reveal a few simple secrets of working with the context menu and the system registry. Read how to customize this important element to suit your needs without third-party applications, using only the built-in registry editor regedit.
I would like to immediately define the terminology so that there is no confusion in the future.
The Explorer context menu, or action menu as it is sometimes called, is a set of clickable commands right(contextual) mouse buttons on any file or folder. Depending on the object it is called on, the menu will have different type or "context".
Note. Of course, not only Windows Explorer has an action menu, but most installed applications, because this is the most convenient way to access the most important commands.
Immediately after installation operating system, context menu has a standard and neat appearance, but as additional software is installed, new items are constantly added to it. Eventually, there are so many of them that using this useful tool turns to flour. Therefore, it is critically important to be able to maintain the contents of the contextual Windows menu for fast and comfortable work.
This can be done in two ways:
Perhaps the first method may be a little easier, but with the second method there is no need to use various dubious programs downloaded from the Internet, everything is done using standard means.
Moreover, using the registry will allow you to delve deeper into the internal processes of the system and learn a lot of new things, so we will talk about the second option.
Launch the registry editor:
Important! Any careless and thoughtless operations can have dangerous consequences, including complete failure Windows boot. To protect yourself from mistakes, be sure to do backup copy registry before you start editing it!
Procedure for creation backup file registry:
Note.If problems arise after manual editing, the registry can be restored to its original state from a backup using the “ Import" on the menu " File» editor regedit.
As you can see, the registry itself has an original tree structure. The tree itself is displayed on the left side of the editor, and the list of parameters in the selected branch is displayed on the right. To work with the context menu, we are interested in only one section: “ HKEY_CLASSES_ROOT».
As already mentioned, different sets of commands correspond to different objects (folders, files), so you will have to edit them in the registry separately. Our main goals: clearing folder context menu And common menu items for all file types.
Important! We will not change the standard system context menu items through the registry. Only items added by installed applications are edited.
All directory context menu settings are stored in branches:
... Directoty Shell.
... Directory Shellex ContextMenuHandlers .
... Folder Shell ex ContextMenuHandlers .
If you look closely, you can easily see familiar commands among the branches of these branches. So, a branch of the registry " Directory Shell" contains the items at the top of the menu, and " Directory Shellex ContextMenuHandlers» – bottom. " Folder ShellEx ContextMenuHandlers", basically repeats the content of the previous thread, so remove the same items from both threads if necessary.
All that remains is to remove the unnecessary commands. The choice of what to remove and what to leave on the list is a personal matter for everyone. Moreover, depending on the list of installed applications, the contents of the menu will differ significantly. Right click on the the desired entry in the registry and select " Delete" Then repeat this operation for the remaining selected elements.
This is the neat appearance of the registry branches in question and the menu itself after the cleaning procedure is completed.
The procedure itself is no different from that carried out in the previous section. Only the branches of the registry branch " HKEY_CLASSES_ROOT", storing the necessary parameters.
Now this:
...*shellexContextMenuHandlers.
They store common elements for all file types registered in the system.
Following the example of cleaning for folders, we delete all unnecessary branches in the registry and get a beautiful and convenient context menu.
Operation of all devices. In the event of failures or breakdowns, it is not always necessary to call specialists, sometimes paying for their services at fairly high prices. Many shortcomings and errors can be corrected yourself. These types of failures and errors include when the right mouse button does not open the context menu. What to do in such cases?
First, you should find out why the malfunction occurs, why the Windows 10 context menu does not work. There are several possible reasons for this:
Let's consider what to do in these cases, how to change the situation when the right-click context menu does not open.
If the right-click context menu does not appear due to the registry being cluttered with outdated files, we recommend using a cleaning utility, for example, Glary Utilities. Glary Utilities is a set of system tweakers, utilities that help protect, fine tuning, increasing PC performance. Using the set, you can remove unnecessary files that clog the system, registry entries that are long outdated, optimize RAM, manage startup, optimize memory and other functions useful for the good functioning of your computer. Glary Utilities can be downloaded for free.
After setting the settings, clear your device from unnecessary files Using the same utility, clean the registry, thereby increasing the performance of your computer.
If, when you right-click on a file or folder, the context menu on the desktop does not work, the computer freezes, the key does not respond to commands, you can fix this freeze in two ways, we recommend doing both sequentially. Before you begin any of these, you must have administrator rights. You will have to work with the registry, you need to be careful here; if you do it incorrectly, the system may fail. Therefore, when starting the process of fixing failures, be sure to create a system restore point before deleting anything.
A “silent” freeze is usually caused by an unstable program, a frozen program, or when a link in the context menu points to a non-existent resource.
Follow the steps sequentially:
The algorithm for the second method, when the Windows 10 context menu does not open, will be as follows.
After completing two methods, the context menu should open, the PC will no longer freeze when right-clicking on a file.
It’s not difficult to set up the context menu, just remember that any attempts to change the registry can lead to unstable operation of the PC, so don’t forget to create restore points, archived copies of deleted programs. When the right mouse button does not open the context menu, follow the instructions above sequentially, apply all the methods, the error will be corrected.
The Explorer context menu is the menu that appears when you right-click (Right Mouse Button) on some object (file or folder) or simply on an empty space in a folder or Desktop. If your system is new, then the context menu will be relatively empty. Is it just something added from the video card drivers, for example like this:
but if the system has been installed for a long time, then there will be more such points. For example like this:
So how remove item from context menu.
In order to remove a program item from the context menu (CM for short), you can use both standard methods of the Operating System itself, and using the programs themselves or specially designed ones.
The easiest way to remove it is to look in the settings of the program (which you want to remove) desired item. Usually it is located somewhere in Integrations or Loading/adding. For example, in order to remove the famous WinRAR item from KM, you need to uncheck the Shell integrations:
It’s another matter when you haven’t found the necessary settings to delete or they don’t exist at all (this happens too). Then you can use in a standard way the systems itself, namely editing.
I warn you right away that before starting work it would be better to play it safe and make a backup copy of the registry.
So, let's launch the registry and go to the branch
HKEY_CLASSES_ROOT/*/shellexe/ContextMenuHandlers
If you haven't missed it, check out the thread.
HKEY_CLASSES_ROOT\AllFileSystemObjects\ShellEx\ContextMenuHandlers
and do the same.
On a note:
If you want to delete an item specifically from KM -> Create
If you want to remove from KM those items that appear when you RMB on folders, then you need to look at the branches:
HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers
For the item "Open with..." the thread answers
HKEY_CLASSES_ROOT\*\OpenWithList
For KM Logical drives branches:
HKEY_CLASSES_ROOT\Drive\shell
HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers
You can also delete items using special programs. For example using ShellExView
Now a little about how create your own item in the context menu.
The fact is that adding such an item for folders or specific files, as well as in “empty” space using the registry will not work. You can only assign it to when it opens with RMB on the Desktop. Therefore, I recommend reading the article and taking advantage of what is described there.
Well, or use another utility - Ultimate Windows Context Menu Customizer() which has a bunch of features, but in English. And there we only need to select the item and delete it:
You can guess how to add your program to KM -> Create if you read the entire article carefully, namely about deleting one of this items. You just need to create a subsection on the contrary and write for the desired extension.
In general, the article turned out to be a little chaotic and more about removing it from the context menu, because... I think this is more relevant, and there is an article about adding. Therefore, if something is not clear, write in the comments. Let's figure it out.
Of course, many of the new users, who first encountered object-oriented systems based on access to basic functions through additional menus, ask what “RMB” is. Unfortunately, we need to immediately upset all users of this level. Not knowing what “PCM” is means not knowing anything at all.
Frankly speaking, any user who does not know how this abbreviation stands for simply leads to a state of extreme bewilderment! Well, really, even with the most primitive attempt to interpret this abbreviation, something like “Right Mouse Click” or a similar “Right Mouse Button” cannot come to mind?
This is the understanding of what “PCM” is. Typically, such a click calls up additional menus (this will be discussed a little later). But for grandparents who are completely unfamiliar with the structure and functioning of the operating system and the use of its capabilities through standard or additional means, we will still try to consider this issue in more detail.
It also happens differently. Sometimes many capricious and supposedly all-knowing users wonder what “RMB” is on a laptop keyboard. Well, what can you answer here? The only thing that comes to mind is the phrase of Vladimir Zelensky’s character from “The 95th Quarter,” said to the host of the show about determining the smartest intellectual in the studio (for reasons of correctness, we will not recall it).
Yes, what's that on the keyboard? Just a set of characters. Right click has absolutely nothing to do with the keyboard. Sometimes, however, you come across questions like this (what is “PCM”?) in sections of forums or help software, but it gives a clear answer that if you don’t know this, it’s better not to come here at all. By the way, the wording of the question itself raises quite a lot of criticism.
Here, anyone, even a novice user, should understand that the concepts of “RMB” and “LMB” differ only in the definition of the mouse button that will be pressed at the moment (right or left).
With call-up menus, called context menus, things are also not so simple. They usually contain much more means of accessing the allocated object (although this is not always the case).
For the simplest example, you can use opening a file with admin rights in the same “Explorer” or using the viewing method or folder (for example, size, duration of sound or display, not counting the scan characteristics or bitrate if these are multimedia files).
Finally, most users associate the right-click menu, using a link to a particular option or setting, as a panacea for all the problems that computer systems can have.
The fact is that to access some functions of the OS itself or some program capabilities, this will clearly not be enough. Therefore, before you start studying computer terminology, you should clearly understand what they are. software products and “hardware” components, among which, by the way, there is a manipulator called a mouse. Not everyone manages to manage it the first time. But a couple of workouts and everything will be fine. And even a right or left click, provided you have a 3-button mouse, will be done quite simply after several preliminary manipulations.
We can only hope that after reading this material no one will have a question about what the abbreviation “RMB” is in relation to its use and calling the corresponding context menus with additional access lines to undocumented or basic settings and parameters.
Among other things, it should be taken into account that context menus (unlike the main ones) change their structure only in the case of installation of programs that spontaneously integrate their commands into the system. The most simple examples The same archiver programs like WinRAR, WinZIP or 7-Zip can serve. But other applications are also capable of changing the order of lines and commands, not to mention specialized utilities that are created exclusively for this purpose.