Problem turning off read only attribute

Erik T 0 Reputation points
2026-11-30T20:14:16.3666667+00:00

I hat to restore a number of files from my back-up. I found out that they all appeared to be read-only. The originals were not read only. I tried to turn off read only. That seemed to work. However when I look at the attributes again, they appear as read-only again. How to solve this?

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-30T20:14:31.71+00:00

    If these are files, the most likely cause is that the restored files were given the Read-only attribute during restore or copy.

    Try this:

    1. In File Explorer, right-click one affected file and select Properties.
    2. On the General tab, clear Read-only.
    3. Select Apply and OK.
    4. Reopen Properties to confirm whether the attribute stayed cleared.

    If many restored files are affected, clear the attribute from Command Prompt:

    attrib -r "C:\path\to\restored\*.*" /s
    

    This removes the Read-only attribute from files in that folder and its subfolders.

    Important: if the item being checked is a folder, the Read-only box in folder properties does not behave the same way as it does for files and can appear again when reopening Properties. In that case, the folder checkbox is not a reliable indicator of whether files inside are writable.

    Other causes that can make files open read-only:

    • Antivirus may open potentially unsafe restored files as read-only.
    • Files restored from another source may open in Protected View.
    • If the files are in OneDrive or SharePoint, storage, licensing, or library settings can also cause read-only behavior.

    If a specific file still cannot be edited after clearing the attribute, save it under a different name or check whether it is opening in Protected View.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Vikki-T 15,220 Reputation points Microsoft External Staff Moderator
    2026-12-01T07:47:51.8566667+00:00

    Hi Erik T,

    It can be confusing when the Read-only box appears again after you have already cleared it. The key question is whether the restored files are actually blocked from being edited and saved.

    Please try making a small change to one affected file and saving it in the same location. If Windows or the application displays an error, share the exact message. It would also help to know whether you are checking an individual file or the containing folder, which restore method you used, and where the files were restored.

    If the file can be edited after being copied to another folder, the restored folder’s permissions or ownership may be causing the behavior rather than the Read-only attribute. Thank you so much for your understanding.     


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.