Remove double Notepad.exe in "Open with..." menu

  1. hexaae's Avatar
    Posts : 137
    Windows 10 Pro x64
       #1

    Remove double Notepad.exe in "Open with..." menu


    Have no idea how but all of a sudden I've noticed there are 2 Notepads in "Open with…" sub-menu:



    How can I remove one and where in the registry should I look for?
      My Computer

  2. Brink's Avatar
    Posts : 48,896
    64-bit Windows 10 Pro for Workstations build 19635
       #2

    Hello hexaae,

    The tutorial below can help show you how to remove the extra Notepad from the Open with context menu for that file extension.

    Remove Programs from Open with Context Menu in Windows
      My Computers

  3. hexaae's Avatar
    Posts : 137
    Windows 10 Pro x64
    Thread Starter
       #3

    Hello Brink,
    unfortunately I already tried that but Win 10 still says I have 2 Notepads:

    Remove double Notepad.exe in "Open with..." menu-image.png

    Looks like Notepad.exe is registered for both paths in C:\Windows\ and C:\Windows\System32 (???).
    It happens only for .log and .txt.
    Other extensions like .ini, .reg have just one Notepad as usual...
      My Computer

  4. Brink's Avatar
    Posts : 48,896
    64-bit Windows 10 Pro for Workstations build 19635
       #4

    This is normal for that dialog.

    The top part is just for the current default app, and the bottom "Other Options" section is to select a supported app to open it with instead.

    Does it still show twice in the context menu in your first post?
      My Computers

  5. hexaae's Avatar
    Posts : 137
    Windows 10 Pro x64
    Thread Starter
       #5

    Yes, still twice.

    -2 mins later-

    Edited txtfile class:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\txtfile\shell\open\Command]
    @="C:\\WINDOWS\\NOTEPAD.EXE %1"
    

    to
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\txtfile\shell\open\Command]
    @="C:\\WINDOWS\\System32\\NOTEPAD.EXE %1"
    and this apprently solved the strange issue! Have no idea why txtfile class was set to the other path and if it's "correct" now though....

    EDIT:
    To be exact original registry key (REG_EXPAND_SZ, using relative path %SystemRoot%) was:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\txtfile\shell\open\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
      6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
      00,4e,00,4f,00,54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,\
      25,00,31,00,00,00
    Last edited by hexaae; 25 Mar 2019 at 20:26.
      My Computer

  6. Brink's Avatar
    Posts : 48,896
    64-bit Windows 10 Pro for Workstations build 19635
       #6

    Great news.
      My Computers


  7. hexaae's Avatar
    Posts : 137
    Windows 10 Pro x64
    Thread Starter
       #7

    Remove double Notepad.exe in "Open with..." menu-image.pngRemove double Notepad.exe in "Open with..." menu-image.png

    Looks good now: one instance for both menus and working fine...
      My Computer


 

Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:45.
Find Us




Windows 10 Forums