Some folders/files are read-only to protect file integrity. But in most cases, you can easily reset the read-only status for a particular folder/file. Some Windows 10 users are complaining about a specific problem related to the read-only status of files/folders on their system.
According to these users, the problematic folder automatically reverts to read-only status, making it impossible to change it. If you encounter the same problem on your computer, don’t worry. Follow these tips to find simple solutions for your computer. Although it’s mostly a problem of insufficient permissions, sometimes this problem can be caused by a recent Windows 10 update.
What causes folders to always be reset to read-only mode?
Generally, some folders/files are read-only to protect file integrity. In this case, the problem folder is automatically set to read-only mode, making it unavailable for editing.
- Account permissions: Sometimes the error can be simply related to account permissions. This is a common thing, and we don’t realize it.
- Windows Upgrade: If we recently upgraded to Windows 10, the account permissions may have been changed. This leads to this error.
How to fix the “Folder Keeps Reverting to Read Only” error?
Log in as an administrator
- Find Command Prompt in the search bar. In the search results, right-click and select Run as administrator.
- In the Command Prompt window, type the following command and press Enter:
net user administrator /active: yes
- Once the command is successful, you will be logged in with the default administrator account.
- Now try accessing the folder and see if this solution solved the problem of resetting the folder to the read-only mode in Windows 10.
If more than one user account has been created on your computer, you should log in as both administrator and guest. This will allow you to access all files and folders and make any changes to them.
Changing the disk permissions
- Right-click on the file or folder that you want to make read-only. Then click on Properties.
- Then click on the Security tab. Select the username and click Edit.
- In the new window titled Permissions for (folder name), check the Full Control checkbox to grant permission to view, edit and write to the specified file/folder.
- Click OK to save these settings.
Performing SFC and DSIM scans
- Locate the command line to run as an administrator.
- Then run the SFC command by typing sfc /scannow in the command line window and pressing Enter.
- When the scan is done, run the DISM scan as described in the next step.
- Now copy the following three commands one by one into the command line and press Enter each time to execute them:
- DISM.exe /Online /Cleanup-image /Scanhealth
- DISM.exe /Online /Cleanup-image /RestoreHealth
- DISM.exe /Online /Cleanup-image /Start component cleanup
If there are corrupted files on the system, you should run SFC and DSIM scans to check and repair those files.
Disable supervised file access
- Find “Windows Security” in the search bar. Open it by clicking on it.
- Then click on “Virus and Threat Protection” in the left pane.
- On the right side of the screen, select Manage Settings, and then the Virus and Threat Protection Settings section will appear.
- In the Controlled Folder Access section, click Manage Controlled Folder Access.
- Set the Access setting here to Off.
- Restart your computer.
- Open the folder that you tried to access earlier and make sure that you can open and edit the folder.
Frequently Asked Questions
- Right-click the file or folder icon.
- Uncheck the Read-only box in the File Properties dialog box. The attributes are at the bottom of the General tab.
- Click OK.
The easiest solution is to change the permissions. In most cases, a few changes to the permissions will make the folder read-only. You can also log in as an administrator or change the attribute of the folder.
- Right-click the folder and select Properties.
- Click the Security tab, then click Advanced.
- Click Edit to the right of Owner.
- Enter user in the field, then click OK.
- Select the Replace owner on sub containers and objects check box, then click Apply.
- In File Explorer, right-click OneDrive and select Properties.
- On the General tab, under Attributes, uncheck the Read-only box and click OK.
- You will be asked if you want to apply the changes to all folders, subfolders, and files. Click OK.