Notepad Appears Twice in “Open With” Menu and Dialog

When you right-click on a text file and click Open with, the Notepad program appears twice in the Open with menu. Also, if you click “Choose another app”, the Open with “dialog” that appears, shows Notepad twice.

notepad appears twice in open with menu

notepad appears twice in open with dialog

This post tells you how to resolve the issue.


This happens if the association settings for that file type points to the Notepad.exe file in the C:\Windows directory instead of the one in the Windows\System32 directory. Yes. Notepad.exe exists in those two folders by default.


Fixing the file association settings in the registry removes the duplicate Notepad entry from the Open with dialog and the Open with menu. Follow these steps (assuming that the issue happens for .txt file type):

  1. Press WinKey + R to open the Run dialog.
  2. Type regedit.exe and click Ok.
  3. In the Registry Editor window, go to the following location:
  4. Double-click the (default) value and sets its data as follows:
    %SystemRoot%\system32\NOTEPAD.EXE %1


    C:\Windows\system32\NOTEPAD.EXE %1
  5. Exit the Registry Editor.

The above applies to .txt file type. Repeat the procedure for other file types if they’re affected by this problem.

That’s it! Notepad should no longer be listed twice in the “Open with” menu and “Open with” (“How do you want to open this file”) dialog.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Related articles

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

Leave a Comment