File Cannot Be Saved
-
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… -
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.
-
@Alan-Kilborn I’ll see if I can replicate the error and get a screenshot.
-
@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.
-
@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.
-
@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.)
-
Some good advise which I shall certainly put into effect.
Thanks… -
@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,