• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Operating Systems / Clean up your Context Menu

Clean up your Context Menu

2009-02-20 by Jason

The context menu (what pops up when you right-click) is one of the most popular items to clutter; a lot of programs will add their shortcuts or filetypes to the menu when they get installed. It’s also a very under-used, convenient location that you could put your frequently used functions and shortcuts. This post should show you how to tame the context menu and make it work for you.

One of the things that I use the context menu for the most frequently is for creating new folders or new text documents. Unfortunately, a lot of other clutter gets added to the context menu as programs are installed. As the list grows larger, it can sometimes take longer for the context menu or the New sub-menu to appear. In order to speed it up and make it more convenient, we just need to clean it up and get those unused entries out of our way.

Below you can see my context menu when I just right-click on my desktop. The New menu is cluttered with things I will never use and the reason I began investigating this was that the Text Document disappeared from the menu. This post will show how to retrieve the Text Document entry, remove any unwanted entries, and add any other file types.

new-menu1

Tweak UI

For the first part of this article, we’ll be using Tweak UI. Tweak UI is part of the PowerToys for Windows XP package and provides a convenient interface to a lot of system-level tweaks and changes that are normally made only through the registry. It works for both Windows XP and Server 2003, and making it work for Vista is covered later in this article.

After downloading and running through the setup for Tweak UI, you can launch the program and you’ll see a window like the screenshot directly below. In the left-hand pane select Templates and then you will see the right-pane reflect your Context Menu -> New sub-menu. In order to remove the entry from showing up on your context menu, you can simply uncheck the box in front of the different files that you don’t want. You can also select the entry and hit the Delete button if you want to get rid of the item for good. Hit Apply and you’ll see the changes reflected the next time you right-click the desktop.

new-menu

If you want to add an item to the New menu and it’s listed on this page already but unchecked, you can just put a check in front of the item and Apply the change.

If the item is not listed in Tweak UI, you’ll need to create a new template. You can see the Create button in Tweak UI, but we’ll need to create our template first.

As I explained earlier, my New Text Document entry inexplicably disappeared from the context menu. These next few steps will show you how to get it back but these steps can be modified for any file type really.

1. Go into Notepad and create a new blank text file.

notepad1

Save it somewhere convenient so you can point Tweak UI at it in a few steps. Name it something like New Text Document.txt.

notepad2

You should have this:

notepad3

Back in Tweak UI, still under Templates, click on the Create button.

notepad4

Then browse to the New Text Document.txt file that you just created and hit Open.

notepad5

Now it’ll be listed in the Templates. Verify that there is a checkmark in front of it and hit Apply and you should see it in the New sub-menu of the context menu.

notepad6

TweakUI on Vista

TweakUI is a PowerToy for Windows XP and will not install on Vista. There are some Vista-compatible alternatives, like TweakVI, but they don’t have the same functionalities or thoroughness as TweakUI and I wouldn’t recommend it. Instead, you can migrate TweakUI to Vista.

Download and install 7-Zip if you don’t have it already.

Download the Tweak UI Powertoy setup file from Microsoft. You can try to install it, but you’ll just get a message saying that the install is not allowed.

vista1

Once you have 7-Zip installed and TweakUI downloaded, you’re ready to continue. Open the TweakUiPowertoySetup.exe file in 7-Zip. You can either do this by launching the 7-Zip program and browsing to the file. Otherwise, you can right-click on the file and  go to 7-Zip -> Open Archive. This step should result in a screenshot similar to below, looking into the contents of the setup file.

vista2

You can see the license agreement and the TweakUI executable. Drag (or extract) at least the TweakUI.exe file to somewhere convenient, like your Desktop.

vista3

Right-click on the newly extracted TweakUI and go to Properties. On the Properties window that comes up, switch to the Compatibility tab. Put a check in front of “Run this program in compatibility mode for:” and change the drop-down menu to say Windows XP (Service Pack 2). Then hit Ok.

vista4

Next you can run TweakUI by double-clicking it. When you do, you’ll get the message below. You can just click Run Program. Be warned. Tweak UI will work for Vista but it may have unforeseen consequences. From what I tested out, the Templates module worked fine. I cannot vouch for the other components and you use the program at your own risk.

vista5

Similar to the XP/Server 2003 interface, choose Templates from the left pane. Uncheck or delete anything you don’t want in the New sub-menu or use the Create button with a new template to add more options exactly like above.

vista6

Manual Changes via RegEdit

Besides using Tweak UI, you can make these changes manually directly in the registry. Here’s a picture of my New sub-menu before making any changes. Looking at this, I want to get rid of the Bitmap Image and the Contact entries.

vistanew

There was also a Briefcase entry but I removed it in testing to verify the process. Open up RegEdit (with standard disclaimers to be careful in the registry and backup everything before you make changes.

Open RegEdit and browse to HKEY_LOCAL_MACHINESOFTWAREClasses[extension] and Delete the ShellNew key.

briefcase

Deleting the ShellNew key will get rid of the menu, but you can also leave the entry in a more recoverable state just by deleting the NullFile value inside the ShellNew key. This will also remove the entry from the New sub-menu.

removebmp

After deleting the NullFile from:

HKLMSOFTWAREClasses.bmpShellNew

HKLMSOFTWAREClasses.contactShellNew

you can see in the screenshot below that the Bitmap and Contact entries were removed.

vistanewafter

You can also create new entries to the New sub-menu through the registry. Just find the extension you want and add a ShellNew Key to the HKLMSOFTWAREClasses[extension] key and a String Value named NullFile under the ShellNew key.

For example, I wanted to add an entry in the New sub-menu for batch files. I went to HKLMSOFTWAREClasses.bat and added a key called ShellNew. Then inside that key, I also added a new String Value called NullFile.

newbat

As you can see from the screenshot below, the Windows Batch File has now been added to my context menu just by making the registry change above.

newbatadded

Change your right-click options per file type

ContextEdit has the ability to change what you see when you right-click on a file. You normally get different options depending on what type of file it is. For example, if you right-click on an MP3, you get the options to play it in Windows Media Player, Add it to the WMP playlist, play it in VLC (or other media players that you have on your computer).

Download and install ContextEdit and you’ll have an easy interface to change the options per extension. As you can see below, when I right-click on a batch file (.bat) I used to get four options: Edit, Edit with Visual Studio, Open, and Print. I never use the ‘Edit with Visual Studio’ or ‘Print’ options, so I might as well get those out of my way. With ContextEdit, I browse in the long list of the left-side to find the extension I want to change, .bat. Upon clicking that extension, the ‘Find master file type’ button near the bottom became enabled, so I clicked that to take me to a master entry, which would effect all other extensions that were also registered as Windows Batch files. It then shows me the Shell commands associated with this file type. I simply uncheck ‘EditWithVS’ and ‘print’ and the setting is applied immediately. My desired changes are made.

You can permanently delete the options, add new ones, or edit the existing commands with this tool as well.

contextedit

Add More Tools

FileMenu Tools provides even more tools for your context menu. It can be set to show on the full menu or just as a sub-menu. With all of the tools enabled, it makes the context menu a bit unweildly. While all of the tools could be useful in certain situations, you can pair it down to those that you will use the most or find the most useful to have a click away. In order to remove options, you launch FileMenu Tools and, similar to the rest of the tools covered, just uncheck the box in front of the command you don’t want. You can also add more commands if you have something that’s not listed.

filemenu-tools

A few tools from this toolset that I found very interesting:

  • Command Line From Here – If you select this inside a folder, a command prompt window will pop up and the current directory will be the current working directory.
  • Copy Name – This will take the name of a file or folder that you click on and put it in the clipboard. If you’re like me you currently accomplish this by: Select file, hit F2 (to rename), Copy, hit Enter (to end renaming) and then you have the file name. Now it’s down to one click.
  • Copy Path – Choosing Copy Path for a folder or file will put the full file path to your clipboard. Ex. C:DownloadsProgramsFileMenuToolsSetup.exe
  • Create New Folder – Just like the option you get under the New sub-menu from the Context menu, this can be put directly on the Context menu as part of the FileMenu Tools. It will prompt you for a folder name and then create the directory immediately.

I narrowed this toolset down to the above four, but still find this utility incredibly helpful and adding convenience. You can also edit the ‘Send to…’ menu on the Context menu and some file type related entries with this tool as well. Just change tabs near the top.

More with Vista

In Vista, you can find a few Easter Eggs in the context Menu to mirror some of the functions these third-party apps provide. For example, hold down shift and right-click on a file or folder and you’ll get additional options. As you can see from the screenshot below, ‘Open Command Window Here‘ and ‘Copy as Path‘ are added to the menu. ‘Open Command Window Here’ will open a command prompt with the selected directory (or current directory if you just click inside a folder instead of on a folder) as the current working directory. The ‘Copy as Path’ option will put on your clipboard the path to what you clicked on. The next time you paste into a text field, you’ll get the path to that directory or file, like: C:downloadsmisc

path

Filed Under: Operating Systems, Security and Privacy, Software, System Administration, Talking Points, Tech Solutions

Trending

  • DDoS are on the rise in 2014
    In Infographics
  • Wal-Mart’s Low Tech Solution to a Shocking Problem
    In Media, Tech Solutions
  • Business success using the Internet [infographic]
    In Infographics

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Command line to take ownership and change permissions Command line to take ownership and change permissions
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • SOLVED: “This modification is not allowed because the selection is locked.” SOLVED: "This modification is not allowed because the selection is locked."
  • Creating and editing views in phpMyAdmin Creating and editing views in phpMyAdmin
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
  • How Digital Technology Brought the Rise of the CMO   How Digital Technology Brought the Rise of the CMO  
  • How to Purchase Cryptocurrencies? How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers Top 6 necessary aspects to consider when hiring Angular developers
  • Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business Full guide on drawbacks and benefits of Node.js for making the perfect choice for your business
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • The Latest Innovations In Payment Technology
  • How Digital Technology Brought the Rise of the CMO  
  • How to Purchase Cryptocurrencies?

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in