Windows 7 – Cannot remove read-only attribute

All we need is an easy explanation of the problem, so here it is.

I am logged in on my admin account. When I was trying to edit a python project using PyCharm (an IDE), it told me that the folder was marked as read-only (square box).

I open the folder in explorer, go to properties and uncheck read-only. I then press ok. I open the properties and it’s set to read-only again! I looked up the folder hierarchy and all the parents are also read-only, all the way up to C:/. Any time I create a folder it’s also set to read-only.

How can I fix this?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

You will always see the Read-only box blue filled in the General Tab of the file properties.

The full situation is explained here:

This is an extract that gives the general idea:

Windows stores file and folder attributes in the file system with the file and folder name, extension, date and time stamps, and other information. The Read-only check box for folders is not available because it does not apply to the folder. You can use this check box to set the Read-only attribute for files in the folder. However, you cannot use Windows Explorer to determine whether a folder has the Read-only and System attributes set. To determine the attributes that are set on a folder, or to change these attributes, you must use the Attrib command at a command prompt.

I’m not sure what exactly is causing your problem but what you are describing in the folder properties is normal.

Method 2

You could try probably right-click on the file go to properties. Then click on Security tab. There you can fing rules for System, owner, groups etc. So you could try change the read-only property there.

Method 3

If you have the review panel open in Windows Explorer in the directory you are opening Word files from, this can cause files to be opened in read-only mode with no change to the apparent status of the Word file i.e. no checked “read only” box etc, although the file will have “(Read Only)” included in the title window above the ribbon. If you close the preview panel with the icon in top right corner of the folder’s Documents Library your problem may very well be solved. This may apply to other file types as well e.g, Excel files. In fact, I have experienced a number of unexplained issues lately which seem to have disappeared with the closing of the preview panel – my machine is running a lot better now altogether. I am using Windows 7 Professional.

Method 4

Building on the ‘Security’ tab idea, what I did was remove the CREATOR/Owner user and then I was able to delete the read-only folder with my regular admin priviledges.

Method 5

I was able to change all settings for all users in Security tab for the folder
Then I cleared Read-only box
It allowed me to install into the folder

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply