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 name ShellNew

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

Add_Item_New_Menu_Windows.png

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.

Copy_File_Template_ShellNew_Folder.png

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.

Add_Template_Item_New_Menu_Windows.png

Since in our example, the full path of Template.xml file is C:\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:

Item_Added_New_Menu_Windows.png

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.

Remove_Item_New_Menu_Windows.png

4. That's it. The file type will be removed from "New" menu.

Feel free to ask any question or post your feedback in your comment...

Also Check:

How to Restore Missing "New" or "New Folder" Option in Windows Context Menu?

How to Enable / Disable "New -> Shortcut" Item in Windows Context Menu?





Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Troubleshooting, Windows 7, Windows 8 / 8.1, Windows Vista, Windows XP


Other similar articles that may interest you


Comments

  • Hey, thanks , it worked.... :)

  • I find that for Windows 7 (Pro, 64-bit) a restart is needed for the new registry value to be picked up. But then it works fine. Great tip!

  • Thanks a lot

  • Thanks..

  • Thanks for this tutorial , this was what i was looking for, now i can get rid of the nagging bmp file being created instead of using the short key for creating a folder Win Key+F, bmp shortcut was created by Faststone Image Viewer which i didn't want.

    Thanks for this , keep up the good work.

  • Hai, I found out that if you want to temporary disable an item in 'new' list, you can 'comment out' the ShellNew key by renaming it to //ShellNew, or something like that.

  • This guide worked for me after trying everything else I could find.

    By default, before you've mucked around with your system, when you right-click in an empty space in Windows Explorer in Windows 7, and hover over "new", you'll see a list of things you can create new: new folder, new word document, new excel sheet, and normally New Text Document. However, for many people who install a different program for editing .txt files than the default windows one (such as Notepad++, in my case), you might soon find that New Text Document no longer appears when you right-click and hover over "new".

    The problem is in the Registry.

    Open your start menu, type in "run" in the search bar and press enter. Type in "regedit" in the screen that pops up and press enter. This brings up your registry.

    Navigate to HKEY_CLASSES_ROOT, expand it, then navigate to the .txt subfolder. Click on the .txt subfolder. In the right screen, check the value of "Default". It should be "txtfile". If it's not, right click on "Default," choose "Modify" and change the value to "txtfile"

    In the right screen in the same place, check the value of PerceivedType. If it doesn't exist, right-click in the right screen and click new > string value. Name it PerceivedType, right-click on it, and change the value to "text"

    Expand the .txt subfolder. Click on ShellNew (if it's not there, right-click on the .txt subfolder > new > key and create one with the name ShellNew). With ShellNew selected, look in the right screen and check that there is an entry called NullFile. If there is not, create one by right-clicking and selecting new > string value. There's no need to enter a data value here.

    Hopefully, this will have solved your problems! You should be able to right-click and find new > New Text Document without restarting.

  • Loads of thanks; you are a life-saviour :-D

  • I can't tell you how grateful I am for this. I have tried so many tricks and tools, none of which are necessary now that I have this knowledge.

  • When I would Right click on desktop to open "NEW" with a list of items to choose from the drop down menu I too was missing New Text Box. I followed the instructions from Lars Maribo and it worked perfectly. I now have Text Box as one of my options now and I am running Windows 8 thank you so much this was a huge help!!

  • For me worked this solution for Word and Excel 2003:

    Go to HKEY_CLASSES_ROOT, search for doc. or xls., click on the extension, right click on default on the right pane, set value to the name of folder under extension (Word.Document.8, Excel.Sheet.8) and also change value of default under folder Word.Document.8 or Excel.Sheet.8 to the name of that folder. It worked without restart.

  • I would just like to say thank you for creating this entry. I followed the instruction to create a new context menu item for a new Word Document and it works fine. I don't know how I lost that feature, or if it was never there in the first place but I suspect it may have disappeared when I installed Open Office, since there are entries for creating open documents in the context menu.

  • Thanks a lot...

  • this is sooooo good :D
    works like a charm

  • Thanks a lot 'Lars Maribo'. I had this issue with my text files. IT was truly annoying to every time create text file from start menu and save it to appropriate folder from save-as option :(.

    U saved my day with this helpful note!!

  • Thanks!!

  • thank u :) helpful

  • Thank you so much! You're a genius!

  • Hi,
    I'm frequently using: RightClick > New > Text Document .
    It letting you to name the file before opening and saving it.
    Is there a solution to have it by a Hotkey?
    Let's say I want to get this NewTextDocument by Alt+Ctrl+Shift+N, as the same way we can get already NewFolder by Ctrl+Shift+N?
    Thank You

  • VG

    ^^ You can first press context menu key present between right ALT and CTRL keys, then press W key and then press T key.

  • lotof thanks dear...

  • I'm seeing an interesting alternate manifestation of this problem on my Win 10 desktop machine (upgraded from Win 7). In my case certain drives and folders will have limited or no context options. Examples are c:\ root, c:\windows\(any subfolder), c:\users, etc. These may have a 'Folder' option or 'Folder' with a shield icon only. No doubt a Win 10 security feature. Also seeing the issue on my external USB HD currently mapped as my J: drive (root and all subfolders). Oddly, a flash drive mapped as E: has all context options. I'll have to fire up my old Win 7 laptop and see if I can reproduce the issue. All my reg key entries for .txt are as indicated above.

  • I want to create new text documents with the `AppsKey+W+T` shortcut mentioned above, but my school administrator has blocked access to the context menu, so I can only do that at home. Is there a way I can add this feature through the File-New-Text Document (such as using Alt+F+W+F to create a new folder)?

  • I don't have "New Folder" in the "New" menu; somehow it has been removed, I followed the procedure explained, so the route I followed was
    regedit
    HKEY_CLASSES_ROOT
    Folder
    ShellName

    and on the right pane I created --> Nullfile
    but nothing happened

    So I created another String with the name FileName in same key where I created NullFile and I
    set FileName string value to the full path of the file pasted in "C:\Windows\ShellNew" folder.

    Which in this case was C:\Windows\ShellNew\New Folder

    However still I con't have "New Folder" under the "New" menu

    Please Help Me!

  • VG

    ^^ Try the solution given in NOTE in following article. It'll work:

    http://www.askvg.com/how-to-restore-missing-new-menuitem-in-desktop-and-explorer-context-menu/

  • Thank You very much for the help in adding to the "New" Context Menu.

  • Awesome, thank you!

  • how do i remove the ms office from the new menu? i have uninstalled it but it is still present there but when i create a file it asks me what software should i use to open such kind of file.

Leave a Comment

(required)