Hidden file attribute is copied when you run the Robocopy command together and /NoDCopy option in Windows

Symptoms

Consider the following scenario:

  • You have a computer that is running Windows 8.1, Windows RT 8.1, Windows Server 2012 R2, Windows 8, Windows RT, or Windows Server 2012.

  • At a command prompt, you use the Robocopy command together with the /NoDCopy option to copy files from a source directory.

    Note The /NoDCopy option does not copy directory information, such as the DOS-style attributes, the extended attributes, or the hidden file attributes.

  • The source directory contains some hidden files that have the hidden directory attributes.

In this scenario, the copy of the hidden files in the destination directory is unexpectedly hidden. Actually, the hidden file attributes should not be copied. Therefore, the copy of the hidden files should not be hidden.

Cause

This issue occurs because the Robocopy command ignores the /NoDCopy option and instead copies the hidden directory attributes.

Resolution

To resolve this issue in Windows 8.1, Windows RT 8.1, or Windows Server 2012 R2, install update rollup 2962409.
To resolve this issue in Windows 8, Windows RT, or Windows Server 2012, install update rollup 2962407, or install the hotfix that is described in the "Hotfix information" section.

Update information

For more information about how to obtain the update rollup packages, click the following article numbers to view the articles in the Microsoft Knowledge Base:

2962409 Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 update rollup: June 2014

2962407 Windows RT, Windows 8, and Windows Server 2012 update rollup: June 2014

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 website:

http://support.microsoft.com/contactus/?ws=supportNote 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 Windows 8 or Windows Server 2012.

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

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 RT, Windows 8, and Windows Server 2012 file information notes Important Windows 8 and Windows Server 2012 hotfixes are included in the same packages. However, only "Windows 8" 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 8" 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:

    Version

    Product

    Milestone

    Service branch

    6.2.920 0.16xxx

    Windows RT, Windows 8, or Windows Server 2012

    RTM

    GDR

    6.2.920 0.21xxx

    Windows RT, Windows 8, or Windows Server 2012

    RTM

    LDR

  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.

  • 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 RT, Windows 8, and Windows Server 2012" section. MUM, MANIFEST, and the associated security catalog (.cat) files, are very important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For Windows RT

File name

File version

File size

Date

Time

Platform

Robocopy.exe

6.2.9200.16908

107,008

29-Apr-2014

22:24

Not applicable

For all supported x86-based versions of Windows 8

File name

File version

File size

Date

Time

Platform

Robocopy.exe

6.2.9200.16908

106,496

29-Apr-2014

22:32

x86

Robocopy.exe

6.2.9200.21032

106,496

29-Apr-2014

22:33

x86

For all supported x64-based versions of Windows 8 and Windows Server 2012

File name

File version

File size

Date

Time

Platform

Robocopy.exe

6.2.9200.16908

126,464

29-Apr-2014

22:32

x64

Robocopy.exe

6.2.9200.21032

126,464

29-Apr-2014

22:30

x64

Robocopy.exe

6.2.9200.16908

106,496

29-Apr-2014

22:32

x86

Robocopy.exe

6.2.9200.21032

106,496

29-Apr-2014

22:33

x86


Status

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

More Information

For more information about the Robocopy command, go to the following Microsoft website:

General information about the Robocopy command For more information about the "/NoDCopy" option, click the following article number to view the article in the Microsoft Knowledge Base:

2646535 Significantly slower directory tree replication performance when you use the Robocopy command in Windows 7 or in Windows Server 2008 R2 For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

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

Additional file information for Windows RT, Windows 8, and Windows Server 2012

Additional files for Windows RT

File property

Value

File name

Arm_b16d3c05d195e587147fa10ed539d106_31bf3856ad364e35_6.2.9200.16909_none_79667d78e15757cc.manifest

File version

Not applicable

File size

696

Date (UTC)

30-Apr-2014

Time (UTC)

07:42

File name

Arm_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.16909_none_c41039efbd82ae55.manifest

File version

Not applicable

File size

2,625

Date (UTC)

30-Apr-2014

Time (UTC)

01:03

Additional files for all supported x86-based versions of Windows 8

File property

Value

File name

X86_81da56dcc41a4622a761ef67174c0af4_31bf3856ad364e35_6.2.9200.16909_none_8d20e7e331bf15a7.manifest

File version

Not applicable

File size

696

Date (UTC)

30-Apr-2014

Time (UTC)

07:49

File name

X86_e8c9d04e1ef24785d27ffddb0c60271c_31bf3856ad364e35_6.2.9200.21032_none_971eae609c9818bd.manifest

File version

Not applicable

File size

696

Date (UTC)

30-Apr-2014

Time (UTC)

07:49

File name

X86_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.16909_none_c40dc797bd858f8f.manifest

File version

Not applicable

File size

2,625

Date (UTC)

29-Apr-2014

Time (UTC)

23:10

File name

X86_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.21032_none_c46fc8d4d6c207e6.manifest

File version

Not applicable

File size

2,625

Date (UTC)

29-Apr-2014

Time (UTC)

23:32

Additional files for all supported x64-based versions of Windows 8 and Windows Server 2012

File property

Value

File name

Amd64_49ef87552c0541d8cef0a74643e1cdfd_31bf3856ad364e35_6.2.9200.21032_none_eb69a3048c393242.manifest

File version

Not applicable

File size

700

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_81da56dcc41a4622a761ef67174c0af4_31bf3856ad364e35_6.2.9200.16909_none_e93f8366ea1c86dd.manifest

File version

Not applicable

File size

698

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_8b45465bbc43048937698a177cf9ba18_31bf3856ad364e35_6.2.9200.21032_none_ef6ad31ad924aede.manifest

File version

Not applicable

File size

1,040

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_c6916e22709efe1061bb107cc4298971_31bf3856ad364e35_6.2.9200.16909_none_e35e4b8fe421388f.manifest

File version

Not applicable

File size

700

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_e8c9d04e1ef24785d27ffddb0c60271c_31bf3856ad364e35_6.2.9200.21032_none_f33d49e454f589f3.manifest

File version

Not applicable

File size

698

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_ffc35e61ac737001b82bd14d54ac380e_31bf3856ad364e35_6.2.9200.16909_none_5259cba47ba3e01e.manifest

File version

Not applicable

File size

1,040

Date (UTC)

30-Apr-2014

Time (UTC)

08:08

File name

Amd64_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.16909_none_202c631b75e300c5.manifest

File version

Not applicable

File size

2,629

Date (UTC)

30-Apr-2014

Time (UTC)

01:27

File name

Amd64_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.21032_none_208e64588f1f791c.manifest

File version

Not applicable

File size

2,629

Date (UTC)

30-Apr-2014

Time (UTC)

01:35

File name

X86_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.16909_none_c40dc797bd858f8f.manifest

File version

Not applicable

File size

2,625

Date (UTC)

29-Apr-2014

Time (UTC)

23:10

File name

X86_microsoft-windows-robocopy_31bf3856ad364e35_6.2.9200.21032_none_c46fc8d4d6c207e6.manifest

File version

Not applicable

File size

2,625

Date (UTC)

29-Apr-2014

Time (UTC)

23:32


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×