File empty after opening it as Adminitrator
-
I was unable to save file. Suggested to open as Administrator after accepting my file is empty. It is very important file for me what to do?
-
@podlipom51-podlipom51 said in File empty after opening it as Adminitrator:
I was unable to save file. Suggested to open as Administrator after accepting my file is empty. It is very important file for me what to do?
Where were you trying to save the file? To somewhere in
c:\program files\
orc:\windows
or similarly protected area? Or were you trying to save to a normal writeable directory on your machine’s local drive? Or a mounted network drive? Because it only suggests Administrator if it gets a “permission denied” error when you try to write the file.after accepting my file is empty. It is very important file for me what to do?
Bummer. Unfortunately, if you already restarted Notepad++, and it didn’t have the Settings > Preferences > Backup set to take “session snapshots and periodic backups”, your unsaved changes were never written to disk anywhere. As soon as Notepad++ exited, those bits were removed from active memory, and were lost. Since the files were likely never written to disk, I doubt that an external file-recovery utility like Recuva would work for you, but you might try directing such at the `c:\users<username>\AppData\Roaming\Notepad++\backup
See our FAQ on backups for more details about how the Notepad++ backup settings work, how the AutoSave plugin can help improve things, and best-practice suggestions for avoiding data loss in the future.
Also, I think one of the frequent contributors is actively working on a solution to have Notepad++ be able to get UAC permission for a file-save without needing to restart the application – such a feature would definitely help in your case. Unfortunately, I’ve spent the last few minutes trying to find the Issue or PR where that was being discussed, and haven’t found it yet.