You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista
This article was previously published under Q326549 For a Microsoft Windows 2000, Microsoft Windows NT 4.0, Microsoft Windows
Millennium Edition, Microsoft Windows 98, and Microsoft Windows 95 version of this article, see
256614 (http://support.microsoft.com/kb/256614/EN-US/). On This PageSUMMARYThis article contains step-by-step instructions on how to use the Attrib command to work around the inability to view or to remove the Read-only or the System attributes of folders in Windows Server 2003, in WindowsXP, and in Windows Vista. Symptoms of the problemYou may experience any of the following symptoms:
CAUSEUnlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows, Windows components and accessories, and other programs. For example, you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer. The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder's Properties dialog box. As a result, Windows Explorer does not allow you to view or change the Read-only or System attributes of folders. When a folder has the Read-Only attribute set it causes Explorer to request the Desktop.ini of that folder to see if any special folder settings need to be set. It has been seen where if a network share that has a large amount of folders set to Read-only, it can cause Explorer to take longer then what is expected to render the contents of that share while it waits on the retrieval of the Desktop.ini files. The slower the network connectivity to the share the longer this process can take to the point where Explorer may timeout waiting for the data and render nothing or appear to hang.
Note In some previous versions of Windows, you can change the Read-only attribute for folders by using the Properties dialog box for the folder, but no versions of Windows permit you to change the System attribute by using Windows Explorer. Steps to work around this problemTo work around this problem, use the Attrib command at a
command prompt (Cmd.exe) to view or to remove the Read-only or the System attributes
of folders. To view or to remove the Read-only or the System attributes of folders in Windows Server 2003 or in Windows XP
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. 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 To view or to remove the Read-only or the System attributes of folders in Windows Vista
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 drive:\<path>\<foldername> For example, to remove both the Read-only and the System attributes from the C:\Test folder, use the following command: attrib -r -s c:\test If the Run command is not listed on the Start menu, do the following:
Click Start, click All Programs, click Accessories, and then click Run.
STATUSThis
behavior is by design. MORE INFORMATIONWindows stores file and folder attributes in the file system
with the file and folder name, extension, date and time stamps, and other
information. The Read-only check box for folders is not
available because it does not apply to the folder. You can use this check box
to set the Read-only attribute for files in the folder. However, you cannot use
Windows Explorer to determine whether a folder has the Read-only and System
attributes set. To determine the attributes that are set on a folder, or to
change these attributes, you must use the Attrib command at a command
prompt. REFERENCES
For more information about system attributes, click the following article numbers to view the articles in the Microsoft Knowledge Base:
308419 (http://support.microsoft.com/kb/308419/)
How to set, view, change, or remove special permissions for files and folders in Windows XP
277867 (http://support.microsoft.com/kb/277867/) Windows NTFS permissions are required when you run Word on any NTFS partition that has Windows 2000, Windows XP Professional, Windows Server 2003, or Windows Vista installed
If the previous articles do not help you resolve the problem or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site:http://support.microsoft.com (http://support.microsoft.com/) Then, type the text of the error message that you receive or type a description of the problem in the Search Support (KB) field.APPLIES TO
| Article Translations
|

Back to the top
