• Login
Community
  • Login

File Cannot Be Saved

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 4 Posters 1.4k 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.
  • D
    David Orr
    last edited by Jan 6, 2023, 4:44 PM

    Has anyone found a solution to this dialog box where “file Cannot be Saved…” pops up on a Save?

    I’m using version 8.4.8 64 bit on Windows 10.
    Thanks…

    A 1 Reply Last reply Jan 6, 2023, 5:23 PM Reply Quote 0
    • A
      Alan Kilborn @David Orr
      last edited by Jan 6, 2023, 5:23 PM

      @David-Orr

      You have to provide more than that when asking such a question, if you want reasonable help:

      • screenshot of the offending message
      • what you were doing when you received it

      You know, basic bug reporting.

      D 2 Replies Last reply Jan 7, 2023, 4:03 PM Reply Quote 1
      • D
        David Orr @Alan Kilborn
        last edited by Jan 7, 2023, 4:03 PM

        @Alan-Kilborn I’ll see if I can replicate the error and get a screenshot.

        1 Reply Last reply Reply Quote 2
        • D
          David Orr @Alan Kilborn
          last edited by Jan 8, 2023, 2:35 PM

          @Alan-Kilborn
          The exact error message is: “The file cannot be saved and may be protected. Do you want to launch Notepad++ in Administrator Mode?”

          After doing some research I’m trying an option I found from app developer in the community

          Quote:
          Hi!.. Guys, I know this issue is silly but it upsets us much more.

          So please follow my words to close this issue completely.

          if you see this message ->>>“The file cannot be saved and may be protected. Do you want to launch Notepad++ in Administrator Mode?"<<<- when you try to save file in notepade++ means, Please go to
          C:\Program Files\Notepad++
          (or)
          C:\Program Files (x86)\Notepad++

          “notepad++.exe” select the file and right click it. Then go to properties-> Then go to the tab Compatibility-> check the checkbox “Run This program as an administrator”

          Then click ok…
          Thats it.

          Note: To do this you need to have a administrator rights.

          I’ll see how this goes.

          A P 2 Replies Last reply Jan 8, 2023, 3:27 PM Reply Quote 0
          • A
            Alan Kilborn @David Orr
            last edited by Jan 8, 2023, 3:27 PM

            @David-Orr said in File Cannot Be Saved:

            The exact error message is: “The file cannot be saved and may be protected. Do you want to launch Notepad++ in Administrator Mode?”

            Actually, I get this message occasionally, and it has nothing to do with anything. I don’t know why it appears. Cancelling (saying No) to the box and attempting to save again is always successful.

            1 Reply Last reply Reply Quote 1
            • P
              PeterJones @David Orr
              last edited by Jan 8, 2023, 4:06 PM

              @David-Orr said in File Cannot Be Saved:

              Run This program as an administrator

              Making Notepad++ always run as administrator is a bad idea. It will have unintended consequences that will cause problems even more annoying than the error message you just got. (For example: if you have network drives mapped, the admin user doesn’t see those. )

              There are times – like when editing a file in the C:\Windows hierarchy or other OS-protected directories – that you might need to temporarily use Run-As-Admin. But those are rare circumstances, and you shouldn’t mark that bit on the exe for those rare occasions. (For those: Exit Notepad++, right click on Notepad++.exe, and Run As Admin once to get it, then use File>Open to open the config file, edit, save, and exit.)

              D 1 Reply Last reply Jan 9, 2023, 9:12 PM Reply Quote 4
              • D
                David Orr
                last edited by Jan 9, 2023, 4:51 PM

                Some good advise which I shall certainly put into effect.
                Thanks…

                1 Reply Last reply Reply Quote 0
                • D
                  datatraveller1 @PeterJones
                  last edited by Jan 9, 2023, 9:12 PM

                  @PeterJones You are absolutely right about the administrator mode. I used to find administrator mode somehow better, but it is not:

                  e.g. drag and drop from MS Windows Explorer can no longer be used when Notepad++ is open in administrator mode in Vista and later because low-privileged processes cannot send messages to higher-privileged processes,

                  1 Reply Last reply Reply Quote 2
                  7 out of 8
                  • First post
                    7/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors