Community
    • Login

    Notepad++.exe blocked from Right-click edit - txt, m3u etc.

    Scheduled Pinned Locked Moved Security
    7 Posts 2 Posters 38 Views 2 Watching
    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.
    • J Offline
      J Mark Barfield
      last edited by

      Since a recent update (?) I am no longer able to right-click and edit files! I can double-click on txt files OK, but no other file types can be opened. notepad.exe can open these files. I did have to turn off Protected Folder access to address a previous issue - unable to save to User/Documents. I have notepad++.exe set to Run As Administrator.

      I’m out of troubleshooting steps!

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP Online
        PeterJones @J Mark Barfield
        last edited by PeterJones

        @J-Mark-Barfield ,

        Since a recent update

        Too bad you didn’t give us your ?-menu’s Debug Info, so we could know which version you are on, truly (and don’t say “the most recent” – here’s why) and other important information for helping you with your problem

        I am no longer able to right-click and edit files

        What do you see when you right click on a .txt or .m3u file? What about if you Shift+RightClick instead?

        I did have to turn off Protected Folder access to address a previous issue - unable to save to User/Documents

        Since this is your first post in the Community Forum, we have no idea what your previous issue is, or what exactly you mean by “turn off Protected Folder access”. But I can think of no reason why “turn off Protected Folder access” would have anything to do with files in your own user documents folder. So I think wherever you did get a “solution” for that, you were probably served a heaping pile of AI nonsense that’s messed up other things for you.

        I have notepad++.exe set to Run As Administrator.

        Windows doesn’t allow opening files from a non-elevated Explorer window (or your main desktop) into a Run-As-Administrator app, so that Windows OS rule is the likely culprit.

        If you stop having Notepad++ set to “Run As Administrator”, it’s likely that Open With and the Edit With Notepad++ entry that is installed when you do a normal Notepad++ installation (through the Shell Extension, described here in the User Manual) will work as expected. (Though it does somewhat surprise me that double-click will open Notepad++ correctly, unless it’s opening a non-Admin version of Notepad++ for that.)

        J 1 Reply Last reply Reply Quote 0
        • PeterJonesP Online
          PeterJones
          last edited by PeterJones

          I did a quick search after I posted, and Windows does have a “Controlled folder access” setting in the Settings > Windows Security > Virus & thread protection > Ransomware protection settings, but it’s turned off by default in Windows. If you had turned that on at some point, and you had set it to protect your Documents hierarchy, then it might have been good advice to turn off the “Controlled folder access” – so I struck that part of my previous answer. (At least one result indicates that the Windows feature is problematic / poorly implemented.)

          But turning that off would not have required setting notepad++.exe to “run as admin”. So the rest of my answer still stands: you almost definitely do not want to run Notepad++ as Admin unless you know why you’re doing it. (And no, an AI LLM GPT Hallucination is not “knowing why”)

          1 Reply Last reply Reply Quote 0
          • J Offline
            J Mark Barfield @PeterJones
            last edited by

            @PeterJones Thanks for replying so quickly. Please excuse my novice post.

            To respond with debug data first:

            Notepad++ v8.9.7 (64-bit)
            Build time: Jul 14 2026 - 01:26:22
            Scintilla/Lexilla included: 5.6.4/5.5.1
            Boost Regex included: 1_90
            pugixml included: 1.16
            nlohmann JSON included: 3.12.0
            Path: C:\Program Files\Notepad++\notepad++.exe
            Command Line:
            Admin mode: ON
            Local Conf mode: OFF
            Cloud Config: OFF
            WinGUp: present
            disableNppAutoUpdate.xml: absent
            Periodic Backup: ON
            Placeholders: OFF
            Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
            Multi-instance Mode: monoInst
            asNotepad: OFF
            File Status Auto-Detection: cdEnabledNew (for current file/tab only)
            Dark Mode: OFF
            Display Info:
            primary monitor: 1920x1080, scaling 100%
            visible monitors count: 1
            installed Display Class adapters:
            0000: Description - NVIDIA Quadro P2200
            0000: DriverVersion - 32.0.15.8270
            OS Name: Windows 11 Pro (64-bit)
            OS Version: 25H2
            OS Build: 26220.9022
            Current ANSI codepage: 1252
            Plugins:
            mimeTools (3.1)
            NppConverter (4.7)
            NppExport (0.4)

            PeterJonesP 1 Reply Last reply Reply Quote 1
            • PeterJonesP Online
              PeterJones @J Mark Barfield
              last edited by

              @J-Mark-Barfield said:

              Admin mode: ON

              As I said, turn off Admin Mode. Windows context menu cannot open into an Admin N++ if the explorer it’s coming from is not also Admin mode.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                J Mark Barfield @PeterJones
                last edited by

                @PeterJones Right click: Edit with Notepad++ | clicking does nothing.

                No, I did not use Ai… I had a Windoes Security error re: saving to Documents, so I approached the Right-click issue from that standpoint.

                Run this program as an administrator (on the exe, not the shortcut) greyed out. Investigating.

                PeterJonesP 1 Reply Last reply Reply Quote 0
                • PeterJonesP Online
                  PeterJones @J Mark Barfield
                  last edited by

                  @J-Mark-Barfield said:
                  Right click: Edit with Notepad++ | clicking does nothing.

                  I wanted to know what was in the menu – I was trying to diagnose whether something had gone wrong with the Shell Extension, and whether that was what you meant by “blocked”. But since you could see and click on it, that was obviously not the case, so we’ll move on.

                  Run this program as an administrator (on the exe, not the shortcut) greyed out.

                  If you are seeing that option greyed out while enabled, like this:
                  a46348ad-0f0c-4ddf-a184-c62fa03226f2-image.jpeg

                  then you have to click Change settings for all users, where it shouldn’t be greyed out:
                  15355079-189d-405d-bc8a-41d313254870-image.jpeg

                  When you uncheckmark it there, then OK, the all-users dialog will close and the original Properties will update to not greyed out and it will be uncheckmarked, too:
                  a387aa38-2df4-44b8-b56b-43ec0773ff82-image.jpeg

                  Now Notepad++ should stop running as Admin.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors