How to Add or Remove Items from “New” Context Menu in Windows

In Windows, whenever we right-click on Desktop or in Windows Explorer, we get “New” menu which allows us to create new folder, new shortcut and new files using various known file types. It helps us in creating new files, folders and shortcuts easily and quickly.

Sometimes you may want to remove a few unwanted items from “New” menu to reduce its size or to restrict others from creating new files or shortcuts or you may want to add a few new items to “New” menu such as new file types, etc.

So today in this tutorial, we’ll tell you how to customize or modify the “New” menu in Windows to add or remove items from it. This method will work in all Windows versions:

METHOD A: To Add an Item in “New” Menu

1. Type regedit in RUN dialog box and press Enter. It’ll open Registry Editor. Now expand “HKEY_CLASSES_ROOT” key.

2. Now look for a sub-key having same name as the file type which you want to add in “New” menu. For example, if you want to add XML file type to “New” menu, look for .xml key under HKEY_CLASSES_ROOT key.

3. Now right-click on it and select “New -> Key” option. It’ll create a new key, give it nameShellNew

4. In right-side pane, right-click and select “New -> String Value“. Give it name NullFile and press Enter.


That’s it. You’ll immediately get the file type entry in “New” menu.

NOTE: Sometimes this method might not work for a few file types in newer Windows versions. In such condition, you’ll also need to create a dummy template file after following the above steps as mentioned in following steps:

5. Create a new file of same file type which you want to add in “New” menu (in our example we wanted to add XML file type to “New” menu, so we’ll create a new .xml file), give it any name and copy it to C:\Windows\ShellNew folder.


6. Now in Registry Editor, create another String with the name FileName in same key where you created NullFile string in Step 4 and set FileName string value to the full path of the file pasted in “C:\Windows\ShellNew” folder.


Since in our example, the full path of Template.xml file isC:\Windows\ShellNew\Template.xml, We have set the same as value of FileName string in Registry.

Now the new file type will appear in “New” menu as shown in following screenshot:



METHOD B: To Remove an Item from “New” Menu

1. Type regedit in RUN dialog box and press Enter. Now expand “HKEY_CLASSES_ROOT” key.

2. Now look for the file type which you want to remove from “New” menu, e.g. for removing “Rich Text Document (.rtf)” file type look for .rtf key under HKEY_CLASSES_ROOT key.

3. Expand it and delete the ShellNew key present under it.


4. That’s it. The file type will be removed from “New” menu.


Ref: AskVG

Related Articles

NfSen & NfDump Installation on CentOS for Netflow and sflow Collection


top command on multi core processor


Top 15 MCSE Interview Questions & Answers for System Administrators


Leave a Comment

eleven + 14 =

* By using this form you agree with the storage and handling of your data by this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More