Share via

In Windows 8 x64, Can not remove read only attribute from custom folder

Anonymous
2013-10-22T05:43:52+00:00

when i create new folder in drive D, not in system, it's always been read-only. When i change through properties and uncheck the read-only, seems to ok. but when i open again the properties, it's still read-only. I tries using command prompt and command prompt (admin) using atrrib -r folder /s /d and still didn't works. i've tried to change the security or using take ownership still won't change anything. this problem my xampp doesn;t works well, it's keep showing me forbidden access with read-only document as the alert. can somebody help me with this read-only thing.

NOTE : i've my UAC off, it's custom folder and not in the system

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-04-02T15:04:55+00:00

It worked for me.

for the folder

attrib -r c:\my-folder

and the files

attrib -r c:\my-folder\*.*

Did the job. I was having issue with PhpStorm. It wasn't able to save the project files because of the read-only status.

After doing this in CMD as admin, all is well.

Was this answer helpful?

6 people found this answer helpful.
0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-06-06T15:24:41+00:00

    Wow it's sad that people are still having this issue. My advice is to back up all your important info and do a clean wipe (format) and reinstall of Windows. (don't waste time with refresh). I had enough headaches with this bug and wasted too much time with these little hacks that the typical end user should not have to do. Just make sure u have your windows key handy. It's been over a year since I did my wipe and reinstall and I've had no issues since. From what I  remember this issue is caused by 'dirty' upgrades.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-06-06T13:24:56+00:00

    The readonly checkbox in Properties does not work when you uncheck it.  The easiest way to remove readonly attribute is to use attrib.exe.

    To remove readonly from folder:  attrib -r "c:\Myfolder"

    To remove readonly from files in folder:  attrib -r "c:\myfolder\*"

    To remove readonly from subfiles and subdirectories:  attrib -r "c:\myfolder\*" /s

    All 3 commands should be issued to remove readonly from files in a folder.  Parentheses around folder name are only necessary if a space is in the folder name such as with "c:\Program Files (x86)".

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2015-06-27T00:24:03+00:00

    I get the following:

    Parameter format not correct -

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2013-10-23T01:51:32+00:00

    Hi Rahendra,

    I understand that, you want to remove read-only attributes for a folder that is custom created.

    Refer these steps and check if it helps.

    To view or to remove the Read-only or the System attributes of folders

    Warning: If you remove the Read-only or System attribute from a folder, it may appear as a ordinary folder and some customizations may be lost. For example, Windows customizes the Fonts folder and provides a special folder view that permits you to hide variations, such as bold and italic. It also permits you to change the folder's view settings in ways that are specific to fonts. If you remove the Read-only and System attributes of the Fonts folder, these customized view settings are not available. For folders that you have customized by using the Customize tab of the folder's Properties dialog box, the folder icon and other customizations may be lost when you remove the Read-only attribute.

    If a program cannot save files to a folder with the Read-only attribute, such as My Documents, change the Read-only attribute to System by using the Attrib command at a command prompt.

    a. Type “cmd” on the Start screen.

    b. Right-click on it and select “Run as administrator”.

    c. Type the following command and press Enter:

    To remove the Read-only attribute and to set the System attribute, use the following command:

    attrib -r +s drive:<path><foldername>

    For example, to remove the Read-only attribute and to set the System attribute for the C:\Test folder, use the following command:

    attrib -r +s c:\test

    Be aware that some programs may not operate correctly with folders for which the System attribute and the Read-only attribute are set. Therefore, use the following command to remove these attributes:

    attrib -r -s c:\test

    Hope this will be helpful. If you still have further queries, please reply us and we will be happy to help you.

    Was this answer helpful?

    0 comments No comments