Windows – Can’t get permissions to edit file

permissionswindowswindows 8

I have a problem saving a config file in the Program Files folder. I am getting an "Access to the path … is denied" fault.

I am member of the Administrators group.
The Administrators group has "Full control" on the folder containing the config file and the "Program Files" folder.
The User Account Control (UAC) is set to "Never notify".

Windows 8 is installed.

I can make changes to file in when I run notepad as administrator. But that's not really an option to edit every file in the Program Files folder as administrator.

Can anyone please help me out here?

Best Answer

Even though you are in the administrators group with UAC off, you must still opt manually to "run as administrator" at the time when you start your app, or your process will only have standard user rights. You might try changing the permissions for your app's folder (or even just that one file) to give write access to standard users, and see if that helps.

Related Question