How To Fix a Folder That Keeps Reverting to Read Only

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.

How To Fix a Folder That Keeps Reverting to Read Only

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:

  1. Navigate to the Command Prompt by typing “cmd” in the search box.
  2. Right-click the Command Prompt and choose the “Run as administrator” option.
  3. 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:

  1. Double-click the “This PC” icon on your desktop.
  2. Right-click the “Local Disk (C:)” folder and select “Properties” at the bottom of the menu.
  3. Go to the “Security” tab.
  4. Click on the “Advanced” button in the bottom-right corner.
  5. Tap the “Change permissions” button.
  6. Select the user whose permissions you want to change.
  7. Press the “Edit” button in the bottom-left corner.
  8. Check the “Full control” box under “Basic permissions.”
  9. Click “OK” at the bottom right.

When there are more users on a PC, these steps should do the trick:

  1. Double-click the “This PC” icon on your desktop.
  2. Open the “Local Disk (C:)” folder.
  3. Navigate to the “Users” folder.
  4. Locate your user folder and right-click on it.
  5. Select “Properties” from the drop-down menu.
  6. Tap the “Security” tab.
  7. Press the “Advanced” button at the bottom right.
  8. Click the “Enable inheritance” button in the bottom-left corner.
  9. 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:

  1. Type “cmd” in the Windows search bar.
  2. When the Command Prompt appears in the results, right-click on the icon and select the “Run as administrator” option.
  3. 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:

  1. Type “Windows Security” in the search bar and click on its icon.
  2. Select the “Virus & Threat Protection” from the left pane.
  3. Click on “Manage Settings.”
  4. Navigate to the “Controlled folder access” section.
  5. Tap the “Manage Controlled folder access” option.
  6. Switch the “Controlled folder access” option to “Off.”
  7. 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.

  1. Press the “Windows + R” shortcut to launch the Run dialogue box.
  2. Type “appwiz.cpl” and hit “Enter” to open the “Uninstall a Program” list.
  3. Locate the app you want to uninstall.
  4. Right-click on the app and select the “Uninstall” option from the drop-down menu.
  5. Follow the on-screen instructions to complete the process.
  6. 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:

  1. Open the search bar and type “cmd.”
  2. Right-click on the Command Prompt icon and click the “Run as administrator” option.
  3. 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:

  1. Repeat steps 1-3.
  2. Type the following command:

    Dism /Online /Cleanup-Image /CheckHealth
  3. 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.

5 thoughts on “How To Fix a Folder That Keeps Reverting to Read Only”

SO says:
Change Folder Attributes
step 3:
attrib -r +s drive: is incorrect [would add System attribute]
You wanted
attrib -r /s drive:
Steve Larner says:
Thanks. The article has been updated.
AlyMarie says:
The folder full of photos I’m working on continuously reverts to Read Only and its rather frustrating, as I fear the photos in this folder require constant editing before they’re ready for me to upload for work, thus making for duplicated photos upon duplicated photos. I fear I’m not very computer literate, but I’m not entirely computer illiterate either. I’m somewhere right in between.

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.

Steve Larner says:
Is your PC on a work network? If so, it could be restrictions placed by an administrator on the network. DISM may also be restricted but not 100% sure. If you are NOT on a work infrastructure, you may need to have administrator privelages on your PC, meaning logged in as an administrator. Go to “Settings -> Account” and look under your profile image and name.
David says:
I swear, so many cmd options people suggest on sites like this are considered invalid in Windows CMD prompt. C:\Windows\system32>net user administrator /active: yes produces “You entered an invalid value for the /ACTIVE option.” Several others posted here produce a similar result. I’m at my wit’s end.
Steve Larner says:
There was a typo—remove the space between “active:” and “yes.” It should be “net user administrator /active:yes”
Jordan L says:
Thanks for the article!
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

Douglas says:
The only thing I have to add is that: “net user administrator /active: yes” should have no space after the :.

So it should be “net user administrator /active:yes”

Thank you!

Steve Larner says:
Article has been updated. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *


Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Todays Highlights
How to See Google Search History
how to download photos from google photos