How to Disable or Remove Open in New Window from Context Menu

Windows 10 offers the context menu when you right-click a folder, and in that menu you’ll find the “Open in new window” option that opens the folder in a new window.

To disable or remove the option, follow the steps below.

To Disable

Disabling the option will not remove it from the context menu, so if you click on it after disabling it, the folder will open in the same window.

Let’s see what other ways opening the folder in a new window will do after disabling it:

  • CTRL + Double click – do nothing.
  • CTRL + Shift + Enter – works.

The steps are as follows:

Open the Registry Editor. I suggest you make a copy of the Registry before continuing.

Extend HKEY_CLASSES_ROOT > Folder > shell.

Click on “opennewwindow.” In the right pane, you will find LaunchExplorerFlags Dword.

Double-click on it and in the pop-up, provide 0 in the “Value data” field. Press the “OK” button.

Note: To enable it, change 0 to 1.

To Remove

Click “opennewwindow” (steps in the preceding section).

Right-click the blank space in the right pane, and then choose New > String Value.

Enter ProgrammaticAccessOnly as its name and then press the “Enter” key.


  • If you want to reverse it, remove the one created above.
  • Alternative ways to open a folder in a new window work as described above.