Windows cannot delete the read-only folder

Source: Internet
Author: User

Status:

In XP, the entire box in front of the read-only is filled with a green background color (not a check mark), which is checked in window 2003 but gray.

You cannot change the file read-only attribute ).

Cause:

In Windows XP, all folders have the "read-only" attribute. If you cancel the read-only attribute, you will find that the folder is still read-only, but this does not affect the file usage. In Windows XP, "read-only" in the folder attribute does not represent the original literal meaning: For file systems, the read-only attribute of the folder has no practical significance. Even if a folder is read-only, you can still create, modify, or delete files in the folder. In Windows XP, the "read-only" attribute of the folder indicates that the folder is "customized. If the read-only attribute is removed, all "Custom" information, labels, and backgrounds of the folder will be lost. Therefore, the user interface is no longer provided in Windows XP to set the read-only attribute of the folder itself. The "read-only" status in the folder property is always the third State. When you select or clear "read-only" in the folder properties, you set the read-only attribute of the files in this directory.

Status:

When using IIS, it may be reported that you do not have permission to access the directory folder. The root cause may not be the cause.

We recommend that you check whether the permission for this folder is granted to the user of IIS.

Open "my computer"-find the folder where the website is located-right-click on it-select "properties"-switch to the "Security" tab and give it to the relevant users (according to the actual situation, all permissions, including but not limited to Internet guest accounts and web application accounts.
NOTE: If your system is XP, click "Tools"> "Folder Options"> "View"> remove the check box before "use simple file sharing". After confirming, the "security" tab is displayed in the "properties" dialog box of the folder.

I will post a detailed article below, but it is basically useless. From: http://support.microsoft.com/kb/256614/zh-cn

You cannot delete the "read-only" attribute of the folder.
Note: This article applies to other versions of Windows (excluding the version you are using ). The content of this article may not apply to your computer. View Windows XP Help and Support Center
For Microsoft Windows XP and Microsoft Windows Server 2003 in this article, see 326549.

Important: This article contains information about modifying the registry. Before modifying the registry, you must back up the registry and know how to restore the Registry in case of a problem. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Microsoft Windows registry description show all | disable all symptoms you may not be able to use Windows Resource Manager to delete the "read-only" attribute of the folder. In addition, when you try to save the file to this folder, some programs may display an error message.

Back to the top, this problem occurs because the folder is a custom folder. Click ViewYou can customize a folder in the "Custom folder" menu. Many programs can also customize folders. For example, the "fonts" folder is generated through custom in the standard system configuration process.

Returning to the top is caused by design.

Back to Top

Warning: Improper use of the Registry Editor can cause serious problems. You may need to reinstall the operating system. Microsoft cannot guarantee that you can solve problems caused by improper use of the Registry Editor. You are at your own risk to use the Registry Editor.

Windows Resource Manager uses the read-only attribute to determine whether the folder is customized. To resolve this issue, configure windows Resource Manager to use the system tag instead of the read-only tag. To do this, follow these steps.

Note:: Some programs cannot run properly when you use the system attribute to configure folders.

  1. Start Registry Editor (regedit.exe ).
  2. Find the following registry key:HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ current version \ Explorer
  3. InEditMenu, pointingNew, ClickDWORD ValueAnd then type the following registry value name: usesystemforsystemfolders
  4. Right-click the new value, and then clickModify.
  5. Type 1, and then clickOK.
  6. Exit Registry Editor.
  7. After making this change to the Registry, you must useAttribCommand to change the "read-only" attribute for all affected folders. Type attrib/? at the command prompt /? To view
    AttribCommand syntax. For example, to change the "read-only" attribute of the c: \ test folder to the "System" attribute, run the following command:

    Attrib-R + s c: \ test

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.