On Windows File Explorer, I like to keep the New right-click context menu decluttered by removing most entries except those that I specifically want.
Thus, in the Registry, I delete (replacing "ext" and "TypeName" with the appropriate values for file extension and type name)...
HKEY_CLASSES_ROOT\.ext\ShellNew
HKEY_CLASSES_ROOT\.ext\TypeName\ShellNew
...keys for those entries that I do not want. This has always worked fine for me in the past.
However, I recently got a new Windows 10 computer, and there are four entries that I am trying to remove for which I cannot find any ShellNew key. They are:
- Office Open XML Document
- PPTX File
- PUB File
- XLSX File
These entries in the New context menu, if clicked on, respectively create:
- a 0-byte file with the default name "
New Office Open XML Document.docx" file-associated with WordPad - a 0-byte file with the default name "
New PPTX File.pptx" not file-associated with any application - a 0-byte file with the default name "
New PUB File.pub" not file-associated with any application - a 0-byte file with the default name "
New XLSX File.xlsx" not file-associated with any application
When I say "not file-associated with any application", I mean that if you try to open the file, Windows displays the "How do you want to open this file" dialog box asking you to choose an application to open the file with.
There are no ShellNew keys or subkeys under
HKEY_CLASSES_ROOT\.docxHKEY_CLASSES_ROOT\.pptxHKEY_CLASSES_ROOT\.pubHKEY_CLASSES_ROOT\.xlsx
I have gone further and searched the Registry for hours and cannot find any ShellNew key associated with these four New entries. What other possibilities are there for how these New entries are being created, and how can I get rid of these entries?
2 Answers 2
You can use NirSoft's ShellMenuNew utility to easily see the exact registry entries for the options in the New right-click menu (and disable them): https://www.nirsoft.net/utils/shell_menu_new.html
-
There are tons of context menus, so you do need to be experienced with this.anon– anon2023年05月08日 21:07:15 +00:00Commented May 8, 2023 at 21:07
-
1ShellMenuNew is specifically for the New context-menu, not all the othersYisroel Tech– Yisroel Tech2023年05月08日 21:08:37 +00:00Commented May 8, 2023 at 21:08
-
1I have use Shell View many times. It handles Contexts for Office, WinMerge, and other context sensitive Apps.. OK looking at Nirsoft I do see a Shell View New. I will try it.anon– anon2023年05月08日 21:39:57 +00:00Commented May 8, 2023 at 21:39
-
Thank you for the suggestion. Unfortunately, it does not help with my problem: I installed and tried the NirSoft ShellMenuNew utility, but the utility detects all the New context menu items EXCEPT the four entries that I'm having trouble with which have no ShellNew entries in the Registry.WingedKnight– WingedKnight2023年05月10日 01:41:57 +00:00Commented May 10, 2023 at 1:41
-
Have you restarted the computer recently? Try a restart and see if they're still there.Yisroel Tech– Yisroel Tech2023年05月10日 02:33:11 +00:00Commented May 10, 2023 at 2:33
From the problem description and the comments it seems that you have renamed Office registry entries. When you uninstalled Office, this caused these entries to be left-over in the context menu.
To completely clean after Office, see the Microsoft Support and Recovery Assistant and especially the Uninstall Office tool, which is described in detail in the article How to Completely Uninstall Previous Versions of Office with Removal Scripts?
If this does not get rid of all of them, you would need to do that manually. I suggest using the fast registry search tool RegScanner to search for all registry items that contain the string "Microsoft Office", then delete their containing keys.
-
Your 3rd option sounds totally unsafe. There is no reason why an item containing the string "Microsoft Office" is related to the software Microsoft Office onlyPythoNic– PythoNic2023年09月04日 11:23:16 +00:00Commented Sep 4, 2023 at 11:23
-
1@PythoNic: Registry updates should be done with great attention. I've not intended to advocate the indiscriminate deletion of registry keys.harrymc– harrymc2023年09月04日 11:58:45 +00:00Commented Sep 4, 2023 at 11:58
You must log in to answer this question.
Explore related questions
See similar questions with these tags.
HKEY_CLASSES_ROOT\.docx\Word.Document.12\ShellNew?HKEY_CLASSES_ROOT\.docx\Word.Document.12\ShellNewbecause I uninstalled Microsoft Office that was preinstalled on the computer.