Using the OpenWithView utility, Greg Shultz shows us how to take control of the Open With menu in Microsoft Windows 7.
Soon after last week's blog post was published, "Take Control of Your Windows 7 Context Menus," a question appeared in the discussion area that essentially asked about removing items from the Open With menu. The reader wondered why items from the Open With menu couldn't be removed by ShellMenuView or ShellExView.
The reason that items from the Open With menu can't be removed by ShellMenuView or ShellExView is that the Open With menu is a different animal. Items on it are not added to the registry as standard context menu entries nor are they shell extensions. Items appear on the Open With menu by virtue of the application's file type/file association. Fortunately, there is another great tool from NirSoft, called OpenWithView, that allows you to easily clean up the Open With menu.
In this edition of the Windows Desktop Report, I'll examine OpenWithView and show you how to use it to clean up the Open With menu in Microsoft Windows 7. Since OpenWithView shows only applications and you may also want to see the file type/file associations, I'll show you how to manually investigate the contents of the Open With menu with the Registry Editor.
Editing the registryIt is important to keep in mind that the techniques I'm about to show you revolve around making changes to the Windows registry, which is vital to the operating system. Changing it can be dangerous if you inadvertently make a mistake. As such, you should take a few moments to back up your system by creating a Restore Point as well as by creating a system image in the Backup and Restore tool. That way if anything goes awry, you can restore your system and get right back to work.
The Open With featureThe Open With feature makes it easy to open data files in any application that supports that type of file. You are not limited to the application that is associated by default with that file type. For example, you can right-click on a TXT file, select the Open With menu, and select the Choose Default Program command to display the Open With dialog box. You can then clear the Always Use check box and select any of the applications that appear in the list, as shown in Figure A.
Using the Open With dialog box, it's easy to add applications to the Open With menu.
Once you do, that application will appear on the Open With menu for that file extension. The problem is that there is no complementary way to remove that application from the Open With menu.
Using OpenWithViewJust like ShellMenuView and ShellExView, once you download and extract OpenWithView, you can run it right away as there is no installation procedure. As soon as you launch it, the program scans the registry and populates its window with all the applications that appear on the Open With menus on your system. On my example system, OpenWithView found the applications shown in Figure B.
Using OpenWithView, you can easily remove applications from the Open With menu.For instance, on my example system l inadvertently attempted to open a PDF file with Word. Now, Word appears on the Open With menu when I right-click on a PDF file, as shown in Figure C. To remove it, I just select the Winword.exe item in OpenWithView and click the red Disable Selected Items button.
Word appears on the Open With menu.As soon as I do, Word no longer appears on the Open With menu. In fact, in this case nothing appears on the Open With menu now, as shown in Figure D, because Adobe Reader is already associated with the PDF file type by default.
Nothing appears on the Open With menu now.
As a side effect of using OpenWithView, Word will be removed from all Open With menus. For example, when I removed Word from the PDF file's Open With menu, it also removed Word from the TXT file's Open With menu. It also removed Word from the Other Programs section of the Open With dialog box. In general, that is OK, because it is very easy to put it back using the OpenWithView using the green Enable Selected Items button. (Furthermore, this won't affect the default file association — Word will still open DOCX files.)
Depending on how versatile the application in question is, you may not want to completely remove it. If you would prefer a more precise removal operation, you can remove items from the Open With menu by editing the registry.
Using the Registry Editor
To launch the Registry Editor, click the Start button, type Regedit in the Start Search box, and press [Enter]. When the UAC dialog box appears, respond appropriately. Once the Registry Editor launches, locate the following key:
HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \ Explorer \FileExts\Within this key, shown in Figure E, you'll see all the file extensions that exist in the registry on your system. Depending on how many applications you have installed on your system, this list will be fairly long, so you will just have to scroll down until you locate the file extension you want to examine. You will then access its OpenWithList folder and remove the application associations as you see fit.
In the FileExts key, you'll find all the file extensions that exist in your system.For example, suppose that I want to remove Word from the PDF file's Open With menu while leaving it on the TXT file's Open With menu. First locate and open the .pdf key and then select the OpenWithList key, as shown in Figure F.
Inside each file extension key, you'll find an OpenWithList key.As you can see, the OpenWithList key contains Word's executable file Winword.exe. To proceed, just right-click on the executable file name and select the Delete command, as shown in Figure G.
When you select the Delete command, you'll then be prompted to confirm the operation.
You'll be prompted to confirm the delete operation; just click Yes to proceed. You can then close the Registry Editor. Now, you will find that Word no longer appears on the PDF file's Open With menu, but it still appears on the TXT file's Open With menu.
What's your take?
Are you frustrated with the clutter on your Open With menus? If so, will you use the OpenWithView tool or manually edit the registry to clean up the mess? Do you use another program to manage your Open With menus? As always, if you have comments or information to share about this topic, please take a moment to drop by the TechRepublic Community Forums and let us hear from you.