Folder Keeps Reverting to Read Only on Windows 10 due to improper permissions or a recent Windows 10 upgrade.
As part of our Server Management Sevices, we assist our clients to fix this error.
Today, let’s see how we tackle this.
Causes of ‘Folder Keeps Reverting to Read Only on Windows 10’
Generally, some folders/files will be read-only in order to protect file integrity. In this case, the problematic folder keeps returning the read-only status automatically, making them uneditable.
Major causes are:
If we have recently upgraded our system to Windows 10, our account permissions may have been altered. Hence resulting in the error.
Sometimes, the error could simply be our account permissions. It is a most common cause, without us realizing it.
[Still facing the error? Don’t worry. Follow these easy solutions provided by our Support Engineers.]
Solutions for ‘Folder Keeps Reverting to Read Only on Windows 10’
Usually, to fix this error, we have to log in to the system with an administrative account. Try to modify the folder/file from there. Once done, disable the antivirus and try it again.
Disable the Controlled access
Control access protects our files from getting modified by any third-party application. Hence, to disable this access we follow these steps:
- At first, press Windows key+S and type ‘Windows Security‘.
- Then, click on the “Windows Security“.
- After that, click on the ‘home icon’ and then click on the “Virus & threat protection“.
- Scroll down in the Windows Security window to locate Virus & threat protection settings.
- Then, click on the “Manage settings“.
- After that, scroll down to find the ‘Controlled folder access’.
- Then, click on the “Manage Controlled folder access“.
- Switch the ‘Controlled folder access’ to “Off“.
Close the Windows Security window and reboot the computer.
Modify the attribute of the problematic folder
We can modify the attribute of the problematic folder.
- At first, press the Windows key+S keys together. Then, type “cmd” in the search box.
- Then, right-click on the “Command Prompt” and click on the “Run as administrator“.
- Once the terminal appears, paste this code, modify it according to our requirements, and hit Enter.
attrib -r +s drive:\<path>\<foldername>
Note- Replace ‘drive:\<path>\<foldername>‘ with the troublesome file/folder location on the system.
For instance, we have a file named ‘Test’ in the ‘C:\Users\Bob\Pictures\New folder’ location. So, the command will look like:
attrib -r +s C:\Users\Bob\Pictures\New folder\Test.txt
This will remove the read-only attribute from the file and attach a new default system attribute to the particular file.
Sometimes, changing the file attribute can create problems with some folders/files. Hence, to undo the changes to the file/folder attributes, follow this step:
Type and modify this command in the CMD terminal and press Enter.
attrib -r -s drive:\<path>\<foldername
This should discard the system attribute assigned with the previous command.
Modify the Permissions of the drive
Another solution is to adjust the permission for the drive and test it out.
- We, locate the drive where the file/folder is on our computer.
- Then, right-click on the drive and click on “Properties“.
- Click on the “Security” tab.
- Next, click on “Advanced“.
- Once the Advanced Security settings appear, click on the “Change Permission“.
- Then, select the account from the list in ‘Permission Entries:’.
- After that, click on “Edit“.
- After this, click on the drop-down and choose “This folder, subfolders, and files“.
- In the ‘Basic permissions:’ tick the box of “Full control“.
- Click on “Apply” and “OK” to save this change.
Now, if we have multiple user accounts on our system, we have some additional steps to cover:
- Press the Windows key+R.
- Type “C:\Users” and click on “OK“.
- In the Users folder, right-click on the other account (the account we are not using now) and click on “Properties“.
- In the Properties window, click on the “Security” tab.
- Then, click on “Advanced“.
- In the Advanced Security settings click on “Enable inheritance“.
- We have to save this change. Click on “Apply” and “OK“.
Check out the folder/file again.
Run SFC and DISM scan checks
We can utilize the system file checker to repair the corrupt files on our system.
- Press the Windows key+R.
- Then, type this code and hit Enter.
- To run an SFC scan type this command and hit Enter to run a simple SFC scan.
- Running a DISM scan is a very easy process. To do so, copy-paste these commands one-by-one and then hit Enter.
DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth DISM.exe /online /cleanup-image /startcomponentcleanup
Once all these checks are complete, close the terminal and restart the device.
Log in as an Administrator
If we have created multiple accounts on our system, we need to make sure we are signed in as an administrator while accessing the file.
The reason we are not able to read or edit the file/folder could be that the file/folder was created using an administrator account and we are trying to access it using a guest account or any other.
Disabling third-party antivirus
If the error persists whenever the system restarts, it could be due to any third-party antivirus software. The antivirus might be detecting the files as a threat and consequently, stopping us from accessing them.
In such a case, we’ll have to disable the antivirus software, change the attributes of the files/folders as mentioned above and restart the system to see if the files/folders still revert to read-only.
If they don’t, it means the antivirus is causing the issue and we should probably uninstall it.
[Does the issue continue to prevail? We are here for you!]
In short, if our folder keeps reverting to read-only it could be due to a recent Windows 10 upgrade or inadequacy in proper permissions.
Today, we saw some solutions that our Support Engineers follow to resolve this error.