The “Read-only” option is a valuable feature when you want to protect your folders from accidental or intentional tampering. However, it can be frustrating when a folder keeps reverting to “Read-only” despite disabling this feature. This can significantly slow down your work or stop you from accomplishing your tasks altogether.

If you’re unsure what to do about this issue, you’ve come to the right place. Keep reading to learn why your folder keeps reverting to “Read-only” and what to do about it.
How to Fix Folders Reverting to Read Only
When a folder keeps reverting to “Read-only,” several potential culprits exist. The issue might lie in one of the following:
- The user’s account
- The folder itself
- A third-party app
- The Windows system
Unfortunately, there isn’t a way to diagnose the issue and cut straight to the solution. So, we suggest trying out these methods one by one until you find the one that works for you.
Access the Folder Using the Administrator Account
Permissions are an important Windows feature that can allow or block certain operations. Users with Admin permissions typically have unlimited access, while others are restricted in what they can do.
Check your permissions if there’s more than one account on your PC. A folder created by the administrator account can’t be modified by a guest account. So, make sure to log in using the Administrator account. Here’s how:
- Navigate to the Command Prompt by typing “
cmd
” in the search box. - Right-click the Command Prompt and choose the “Run as administrator” option.
- Type the following command:
net user administrator /active:yes
Once you’re active as an administrator, try re-accessing the folder.
Change User Permissions
The permission settings can sometimes get altered without your knowledge, causing issues accessing and modifying specific folders. Luckily, you can quickly grant yourself the necessary permissions, regardless of the number of users.
If you’re the only user on your PC, follow these steps to change permissions:
- Double-click the “This PC” icon on your desktop.
- Right-click the “Local Disk (C:)” folder and select “Properties” at the bottom of the menu.
- Go to the “Security” tab.
- Click on the “Advanced” button in the bottom-right corner.
- Tap the “Change permissions” button.
- Select the user whose permissions you want to change.
- Press the “Edit” button in the bottom-left corner.
- Check the “Full control” box under “Basic permissions.”
- Click “OK” at the bottom right.
When there are more users on a PC, these steps should do the trick:
- Double-click the “This PC” icon on your desktop.
- Open the “Local Disk (C:)” folder.
- Navigate to the “Users” folder.
- Locate your user folder and right-click on it.
- Select “Properties” from the drop-down menu.
- Tap the “Security” tab.
- Press the “Advanced” button at the bottom right.
- Click the “Enable inheritance” button in the bottom-left corner.
- Save the changes by clicking the “Apply” button at the bottom right.
Change Folder Attributes
If you’re having trouble modifying a folder, the folder itself might be to blame. The folder you’re trying to access might contain a “Read-only” command in its attribute. As a result, no user can make changes to it or save new files.
Follow these steps to remove the command from the folder’s attributes:
- Type “
cmd
” in the Windows search bar. - When the Command Prompt appears in the results, right-click on the icon and select the “Run as administrator” option.
- Remove the folder’s “Read-only” attribute by typing the following command with your profile name and folder name:
attrib -r /s C:\Users\[profile name]\Desktop\[folder name]
attrib -r /s drive:<directory path><folder’s name>
Disable the Controlled Folder Access Feature
Sometimes the directory you’re trying to change has the Controlled Folder Access feature enabled by default. This feature sets restrictions on actions you can take within a folder.
To disable the Controlled Folder Access, do the following:
- Type “Windows Security” in the search bar and click on its icon.
- Select the “Virus & Threat Protection” from the left pane.
- Click on “Manage Settings.”
- Navigate to the “Controlled folder access” section.
- Tap the “Manage Controlled folder access” option.
- Switch the “Controlled folder access” option to “Off.”
- Restart your PC.
Uninstall Third-Party Security Applications
It’s not uncommon for third-party anti-virus software or security apps to change a folder’s settings if they perceive it as a threat. As a result, the folder can keep reverting to the “Read-only” status every time you boot up your PC.
To prevent this, you should uninstall any unreliable third-party security apps.
- Press the “Windows + R” shortcut to launch the Run dialogue box.
- Type “
appwiz.cpl
” and hit “Enter” to open the “Uninstall a Program” list. - Locate the app you want to uninstall.
- Right-click on the app and select the “Uninstall” option from the drop-down menu.
- Follow the on-screen instructions to complete the process.
- Restart your system.
Repair Corrupted Files
Corrupted files can lead to a folder constantly reverting to “Read-only.” To repair corrupted files and restore your system’s health, you can run an SFC or DISM scan on your system.
An SFC (System File Checker) scan checks and repairs Windows system files. If the scan detects a modified or corrupted file, it automatically replaces it with the correct version.
A DISM (Deployment Image Servicing and Management) scan detects and fixes corrupt files in the Windows system image. This is the most powerful Windows diagnostic tool.
You should do these scans from time to time, even if you aren’t experiencing any problems with corruption.
To run an SFC scan, do the following:
- Open the search bar and type “
cmd
.” - Right-click on the Command Prompt icon and click the “Run as administrator” option.
- Type the following command:
sfc /scannow
Don’t close the Command Prompt until the scan is complete. Upon its completion, you’ll get one of the following messages:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
The first message signifies your folder issues aren’t related to the system file. The second message means that your problem has potentially been solved. Go to the desired folder again to quickly check if that’s the case.
If you see the third message, it’s time to do a DISM scan:
- Repeat steps 1-3.
- Type the following command:
Dism /Online /Cleanup-Image /CheckHealth
- If the first scan doesn’t identify any corruption, run a more advanced scan by typing the following command:
Dism /Online /Cleanup-Image /ScanHealth
Suppose any of the scans identify a problem with the system image. In that case, you can repair these issues by typing the Dism /Online /Cleanup-Image /RestoreHealth
command.
After the scans and the repairs are complete, restart your system and re-run an SFC scan. Hopefully, you’ll receive the second message and solve your folder problems.
Reading Less and Doing More
Making a folder ”Read-only“ is perfect for protecting its integrity. Beyond that, this option can only make your life difficult if you try to work using the files within that folder. Luckily, you can try the simple fixes outlined above, and you’ll be able to get back to business in no time.
Have you ever had problems with the Read-only attribute? How did you fix it? Let us know in the comments section below.
Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.
5 thoughts on “How To Fix a Folder That Keeps Reverting to Read Only”
step 3:
attrib -r +s drive: is incorrect [would add System attribute]
You wanted
attrib -r /s drive:
When I go to type in either of the DISM commands, I receive Error: 87. The option is unknown. For more information, refer to the help by running DISM.exe /?.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
I’m hoping for a little bit more help getting past this step, as I fear this is just a wee bit beyond me. Thank you for your time.
Very thorough, nicely done.
In the last few months at my workplace, a bunch of AutoCAD users (including myself) have experienced many folders in our shared network file directory going read-only and hidden simultaneously, and it has our tech support specialist stumped. Yesterday, every single file and folder on our server drive became hidden and read-only out of the blue. Sometimes two or three AutoCAD files mysteriously disappear before our very eyes. There are two cases where nultiple files (like 20 CAD files) got mysteriously deleted at once. On one occasion, the files came back after a few hours. The rest of the time, we had to restore an old backup of the files. I have personally experienced this and I do not believe it is user error or intentional malicious activity.
At first, our tech guru thought it had to do with a faulty DATTO backup device or our NAS drive (which we ditched in favor of a Virtual Machine to store our files since that’s what Autodesk recommended), but the problem persisted after replacing the device and the drives. We even had an electrician re-run dedicated 120v circuits for our equipment since it appeared that the DATTO device was having intermittent power supply issues. This did not fix it the hidden/read-only problem (although now we can get reliable cloud backups, which is good).
Our tech guy also hired Microsoft to diagnose the problem to see if it was a Windows 11 file security issue (since some of our users had recently switched to it) but of course, Microsoft said the problem was not originating from them.
We started using ThreatLocker and some kind of monitoring software, and found that some users’ computers were deleting files in batches. In one case, I watched as 10 or 20 files deleted themselves from our directory as I watched the computer screen over my coworker’s shoulder.
Then we had an entirely new domain build and everyone in the company got new windows user profiles.
The problem is still here.
It appears this is only an issue while users are accessing files on our shared drives, as it does not happen if people are working on their local computer hard drives or shared OneDrive/Sharepoint folders. (however, working on Sharepoint creates its own host of problems…)
Any ideas?
Thanks,
-JL
So it should be “net user administrator /active:yes”
Thank you!