Hi ,
I am Ivan, I will help you with this.
According to the error, you are trying to open a file with notepad that you do not have permission to modify or modify and save on top of this file that you do not have permission to open and edit.
If every time you open the notepad you are going to save, it must be trying to save in the last open folder that was created.
Delete saved settings via Windows registry key editor.
1° On the Desktop, press the Windows + R keys, type regedit and click OK;
2° Locate and access the key : HKEY_CURRENT_USER\Software\Microsoft\Notepad
3°Click with the right mouse button on Notepad > Delete;
4° Restart the computer and check the behavior.
Credits: Gilsimar_Lima
Independent Advisor - Community
Thanks