Is there a way to remove the "Open in new window" right-click menu option on directories in Windows Explorer on Windows 7?

Open in new window

link|improve this question
Any particular reason why you need to remove this option? – user12764 Dec 24 '09 at 16:38
I never use it, but will hit it by accident occasionally, so I would prefer to remove the cause of my annoyance altogether. (If I wanted to open it in a new window, I would have used Ctrl+Click :) – Emperor XLII Dec 24 '09 at 18:14
feedback

1 Answer

up vote 2 down vote accepted

Check this forum for more information:

http://www.sevenforums.com/general-discussion/5127-remove-include-library-context-menu.html

Create the appropriate REG file(s) using this code and then run them:

ADD 'Open in a New Window' Option

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
"MUIVerb"="@shell32.dll,-8517"
"MultiSelectModel"="Document"
"OnlyInBrowserWindow"=""
"LaunchExplorerFlags"=dword:00000001

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

REMOVE 'Open in a New Window' Option

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
"MUIVerb"="@shell32.dll,-8517"
"MultiSelectModel"="Document"
"OnlyInBrowserWindow"=""
"LaunchExplorerFlags"=dword:00000001

[-HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
link|improve this answer
Removing the key entirely appears to cause problems with using Win+E to open a new explorer window (and maybe other situations as well). Since I only really need to remove the accelerator key to avoid accidentally activating the menu item from the keyboard, changing the MUIVerb value to a hard coded string instead of a resource identifier worked well enough. Thanks for your help! – Emperor XLII Jan 3 '10 at 22:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.