You lack the rights to store files in ProgramFiles\Python38
You lack the rights to store files in ProgramFiles\Python38
Hello, The issue is a bit complex. I’m unable to save files such as .txt or .py from any editor in any C:\ folders except my personal directories. I can prevent this by running the editor with admin privileges. When I tried to give full control of the C:\ drive to my user, another error appeared. My local account is an admin account, and I’m using a pre-installed Windows 10 Home version from OEM. I was logging in with a Microsoft account but now am using a regular local user. The main problem is that even though Python3 is installed in the program files, I can’t save anything there, and apps like Jupyter Notebook can’t access it. I had to place it in my users AppData\Local\Programs and update the PATH. Still, I keep getting this error in Jupyter Notebook. I’m hoping you can help. In my previous Windows 2004 laptop, it worked fine. Thanks in advance.
Sure, I'd be happy to clarify anything you're confused about. Just let me know what you need!
Thank you for your message. I understand the situation and didn't have ownership, which prevented me from applying those permissions. Now I have access to everything except programfiles\windows defender. I haven't used VS Code Jupyter yet; I'll reinstall both but hope it works. Files can still be saved in these previously restricted areas.
\ extensively, your OS protection is weakened. The UAC feature is now ineffective because the main barrier has been removed. With multiple users, permissions no longer matter; everyone can access your personal files. Restrictions exist for a reason. Rather than seeking best practices, you’re trying to circumvent them without understanding the rationale. How will you restore proper security? Do you recall the original permissions for each folder and subfolder? That would be helpful. Sorry for the confusion.
Security matters, but the main issue is about permissions. The focus should be on setting access for specific folders rather than protecting the entire Program Files area. Regarding viruses, they usually avoid protected folders now that security measures are in place. Developers know which areas to target, and admin accounts are relatively easy to compromise. Most users work with admin rights, so activation from PF or user folders doesn’t create much difference. People often overlook basic protection, focusing too much on advanced systems. I don’t need to stress computer safety if my life is more important. Remember when XP was popular? It lacked UAC and people still used it. Vista added UAC, making everyone use it because security was critical. Now Defender and stronger protections are standard. Each Windows version adds more security options. Probably because many users repeatedly format drives and reinstall everything, including the system. I’m stopping advice on security since it’s not worth it. Let folks manage their computers as they see fit.
For those concerned about security, here is a guide on restoring Trustedinstaller as the owner of the C:\ drive. I've returned that to all folders except Python38... https://www.windowscentral.com/how-resto...windows-10