The document may be read-only or encrypted

Due to corruption of bootable files, I have restored by PC back to factory settings, recreated user accounts and re-installed all software. The final step was to restore user files from backup.

For example, restored all files in c:/users/xyz to their original location. No issues, all files restored successfully.

However, when I go to c:/users/xyz/documents/abc.doc for example and try to open the file, I get this "Word cannot access abc.doc. This document may be read-only or encrypted" message.

I look at the properties of the c:/user/xyz folder and see that the Read-only check box is shaded. I unset the read-ony attribute and apply to all folder, sub-folders and files. It goes away and lists all the folder and files as it changes the attribute. The check box is now unshaded.

However, when I attempt to access any file, I get the orginal error. I then check the properties of the c:/user/xyz folder and the read-only check box is shaded again !!!

Same issue if I try to change the read-only attribute at any file or sub-folder level.

As soon as I try to access any file, the setting returns to read-only.

Any ideas ?

 

Question Info


Last updated October 11, 2018 Views 25,152 Applies to:
Answer

Go to the <usermame> folder and give yourself full rights in both the main screen and on the advanced screen (including all sub-folders and files).  Then in the advanced screen click on the ownership tab and take ownership of the entire folder and all its sub-folders and files.  Here are some guidelines that may help you.

To see your permissions, right click the folder/file, click on properties, and check out the security tab.  Check to see what permissions you have by clicking on your username (or user group).  Here are the types of permissions you can have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You need to be an administrator or the owner to change permissions (and sometimes being an administrator or even an owner isn't enough - there are ways to block even them from access (though a smart administrator knows these ways and can get around them - but usually shouldn't because they were denied access usually for a very good reason).  Here's how to change folder permissions in Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/.  To add take and grant full right permissions and ownership to the right click menu (which will make it faster to get in once it is set up), check out the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

To fix this problem with the folders, take ownership of the folders or the drive (as an administrator) and give yourself full rights.  Right click the folder/drive, click on properties, go to the security tab and click on Advanced and then click on the Owner tab.  Click edit and then click the name of the person you want to give ownership to (you may need to add it if it isn't there - or it may be yourself). If you want it to apply to sub-folders and files within that folder/drive, then check the box for replace owner on sub-containers and objects and click OK.  Back out and now there's a new owner for the folders/drive and files who can change permissions as needed.  Here's more information on taking ownership of a file or folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.  To add take ownership to the right click menu (which will make it faster to get in once it is set up), check out the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/. 

Good luck and I hope this helps!


Lorien - MCSE/MCSA/Network+/A+ --- If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

3 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.