Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The "icacls /T /C" command does not set the access permissions for the files and for the subfolders in Windows Server 2003, in Windows Vista, or in Windows Server 2008 if the inheritance flag is removed from the folder


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Windows Server 2003, Windows Vista, or Windows Server 2008.
  • You use the Icacls.exe command prompt utility to manage the access permissions of a folder on this computer.
  • You do not have permission to access the folder, the files in the folder, and the subfolders.
  • You remove the inheritance flag of the folder.
  • You use the /T switch to make sure that the changed permission is applied to the folder, to all the files in the folder, and to all the subfolders. Additionally, you use the /C switch to make sure that the operation continues if any file errors occur.
In this scenario, the access permission is applied to the folder. However, the access permission is not applied to all the files in the folder, and to all the subfolders. Additionally, the command returns error code 5. However, the command reports that the number of failed processes is 0.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)
For more information about how to obtain a Windows Server 2003 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849 How to obtain the latest service pack for Windows Server 2008

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2003 file information notes
  • In addition to the files that are listed in these tables, this hotfix also installs an associated security catalog file (KBnumber.cat) that is signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatform
Icacls.exe5.2.3790.470741,47211-May-201013:42x86
For all supported x64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Icacls.exe5.2.3790.470757,34411-May-201014:23x64SP2Not applicable
Wicacls.exe5.2.3790.470741,47211-May-201014:23x86SP2WOW
For all supported IA-64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Icacls.exe5.2.3790.470786,52811-May-201014:23IA-64SP2Not applicable
Wicacls.exe5.2.3790.470741,47211-May-201014:23x86SP2WOW

Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600
    1.
    22xxx
    Windows Vista and Windows Server 2008SP1LDR
    6.0.600
    2.
    22xxx
    Windows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxx version number.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Icacls.exe6.0.6001.2268927,13611-May-201014:11x86
Icacls.exe6.0.6002.2240227,13611-May-201014:35x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Icacls.exe6.0.6001.2268934,81611-May-201014:30x64
Icacls.exe6.0.6002.2240234,81611-May-201014:47x64
Icacls.exe6.0.6001.2268927,13611-May-201014:11x86
Icacls.exe6.0.6002.2240227,13611-May-201014:35x86
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Icacls.exe6.0.6001.2268975,77611-May-201014:12IA-64
Icacls.exe6.0.6002.2240275,77611-May-201014:35IA-64
Icacls.exe6.0.6001.2268927,13611-May-201014:11x86
Icacls.exe6.0.6002.2240227,13611-May-201014:35x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the Iicacls command, visit the following Microsoft website: For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot applicable
File size2,590
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameX86_5d9dd8441f4706d5934b10976d3b9d1b_31bf3856ad364e35_6.0.6001.22689_none_879948fe44e3b7f4.manifest
File versionNot applicable
File size694
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameX86_8a892879cc59510003a8b2205f337e49_31bf3856ad364e35_6.0.6002.22402_none_ed6981917a65a3dd.manifest
File versionNot applicable
File size694
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6001.22689_none_32f0c893bf50867f.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)17:30
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6002.22402_none_3526b9bbbc3c47e1.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)18:42
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_57373f1fd9426c8b8e787e553f1a95f1_31bf3856ad364e35_6.0.6002.22402_none_421a891408e85121.manifest
File versionNot applicable
File size1,036
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameAmd64_fa3be822f53e1605117de07e36a17de9_31bf3856ad364e35_6.0.6001.22689_none_4c29f57dcfd01de1.manifest
File versionNot applicable
File size1,036
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameAmd64_microsoft-windows-icacls_31bf3856ad364e35_6.0.6001.22689_none_8f0f641777adf7b5.manifest
File versionNot applicable
File size4,196
Date (UTC)11-May-2010
Time (UTC)18:00
PlatformNot applicable
File nameAmd64_microsoft-windows-icacls_31bf3856ad364e35_6.0.6002.22402_none_9145553f7499b917.manifest
File versionNot applicable
File size4,196
Date (UTC)11-May-2010
Time (UTC)18:50
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,608
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6001.22689_none_32f0c893bf50867f.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)17:30
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6002.22402_none_3526b9bbbc3c47e1.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)18:42
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_76cb7ed17eaa06f1967ea13e92b8cfb1_31bf3856ad364e35_6.0.6002.22402_none_f48a370498c5f54f.manifest
File versionNot applicable
File size1,034
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameIa64_fb7e9e8a43c7ee48bbffdb5b6f210ae1_31bf3856ad364e35_6.0.6001.22689_none_d8510a4123608330.manifest
File versionNot applicable
File size1,034
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameIa64_microsoft-windows-icacls_31bf3856ad364e35_6.0.6001.22689_none_32f26c89bf4e8f7b.manifest
File versionNot applicable
File size4,190
Date (UTC)11-May-2010
Time (UTC)17:16
PlatformNot applicable
File nameIa64_microsoft-windows-icacls_31bf3856ad364e35_6.0.6002.22402_none_35285db1bc3a50dd.manifest
File versionNot applicable
File size4,190
Date (UTC)11-May-2010
Time (UTC)18:18
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size1,932
Date (UTC)12-May-2010
Time (UTC)00:55
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6001.22689_none_32f0c893bf50867f.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)17:30
PlatformNot applicable
File nameX86_microsoft-windows-icacls_31bf3856ad364e35_6.0.6002.22402_none_3526b9bbbc3c47e1.manifest
File versionNot applicable
File size4,184
Date (UTC)11-May-2010
Time (UTC)18:42
PlatformNot applicable

↑ Back to the top


Keywords: kb, kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2028627
Revision : 2
Created on : 9/26/2018
Published on : 9/26/2018
Exists online : False
Views : 185