Friday, October 17, 2014

Cannot Edit or Save File - Access is Denied

If you are trying to save or edit a file but are getting an access is denied or file in use error determine the following and act accordingly.

File is Read Only

Select the file in Windows Explorer and choose Properties. Check to see if the box is ticked as read-only and deselect the box if it is.

File is Restricted to Administrator Access

Some files can only be accessed by administrators.  This can be a source of initial frustration for new Windows 7 users coming from Windows XP unused to the stricter security on the newer operating system.  To get around this run the accessing program as an administrator.  For example to edit a .css requiring administrator privileges, first you must have administrator privileges.  Right click on the icon of the program that will be used to open the .css file such as Notepad and select Run as Administrator. Open the .css file that you wish to edit from within Notepad, edit it and save.

File is in Use by a Running Process

Use Resource Monitor to determine what process is using the file you are having trouble accessing and close the file within that process and/or close the process.

No comments:

Post a Comment