• Login
Community
  • Login

Windows 10 Shell Context Menu Error

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
shellcontext menuwindows 10shell execute
7 Posts 7 Posters 22.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Corey Palmer
    last edited by Aug 14, 2015, 1:09 PM

    Is anyone else having a problem with Windows 10 shell execute for editing a file in notepad++?

    I just installed a fresh copy of Windows 10 Pro x64 and notepad++ and this is what i get:

    http://screencast.com/t/G0LrjzpCKR8p

    Any help would be greatly appreciated.

    1 Reply Last reply Reply Quote 1
    • T
      TaxpayerZombies
      last edited by TaxpayerZombies Oct 24, 2015, 11:15 PM Oct 24, 2015, 11:14 PM

      I handled this with an old tweak that can be adapted to work with any executable.

      Create a text file with a “.reg” extension and add the content below. Then click on this file and click OK to the consent prompts. Notepad++ shows up in your menu immediately.

      When done this way, it can be used inappropriately (like trying to edit an executable binary file).

      === Registry file content below this line ===

      Windows Registry Editor Version 5.00

      [HKEY_CLASSES_ROOT*\shell\Notepad++]

      [HKEY_CLASSES_ROOT*\shell\Notepad++\command]
      @="“C:\Program Files (x86)\Notepad++\notepad++.exe” “%1"”

      1 Reply Last reply Reply Quote 0
      • B
        Bryan Wainscott
        last edited by Bryan Wainscott Nov 12, 2015, 10:27 PM Nov 12, 2015, 10:27 PM

        I am having this same error and after I run the reg file and use the context menu it crashes explorer. It also doesn’t look like it added the registry entries. Also running Windows 10 Pro x64.

        1 Reply Last reply Reply Quote 0
        • J
          John Evans
          last edited by Dec 11, 2015, 12:34 AM

          Hi All,

          Error http://screencast.com/t/G0LrjzpCKR8p

          Navigate to C:\Program Files (x86)\Notepad++ Right mouse click the Notpad++.exe file click properties & under the compatability Tab UN-TICK the run the program as administrator box DONE.

          Regards

          A 1 Reply Last reply Jul 27, 2016, 8:50 AM Reply Quote 3
          • J
            Jose Lage
            last edited by May 4, 2016, 6:10 PM

            Create a text file with an extension “.reg” and add the content below. Then, double-click this file and OK to messages consent. Notepad ++ will appear on the menu immediately if not need to restart the computer.

            To add a section to the context menu
            === Registry file content below this line ===

            Windows Registry Editor Version 5.00

            [HKEY_CLASSES_ROOT*\shell\Notepad++]

            [HKEY_CLASSES_ROOT*\shell\Notepad++\command]
            @=“C:\Program Files (x86)\Notepad++\notepad++.exe %1”

            Removes the old context menu
            === Registry file content below this line ===

            Windows Registry Editor Version 5.00

            [-HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers\ANotepad++64]
            [-HKEY_CLASSES_ROOT\CLSID{B298D29A-A6ED-11DE-BA8C-A68E55D89593}]

            Run Notepad++ with administrator privileges
            === Registry file content below this line ===

            Windows Registry Editor Version 5.00

            [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
            “C:\Program Files\Notepad++\notepad++.exe”=“RUNASADMIN”
            “C:\Program Files (x86)\Notepad++\notepad++.exe”=“RUNASADMIN”

            1 Reply Last reply Reply Quote 1
            • A
              Alex Fielder @John Evans
              last edited by Jul 27, 2016, 8:50 AM

              @John-Evans This worked for me.

              Oddly, I had right-clicked and selected Properties and then Advanced and ticked the “Run as Administrator” option there as well as ticking the compatibility “Run As Administrator” option.

              deselecting the latter makes it function normally again!

              Thanks John. :-)

              1 Reply Last reply Reply Quote 0
              • Г
                Георгий Христич
                last edited by May 12, 2017, 12:52 PM

                Don’t use this registy trick. It looks ugly. Use “Save As Admin” plugin, instead. It works fine even at windows 10 and previous versions.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors