An application does not read or access a file correctly in Windows Server 2008 R2, Windows Server 2008, Windows 7, or Windows Vista

Symptoms

An application or driver silently skips reading some regions of a file. This issue may cause various other problems to occur, such as any of the following:

  • An antivirus product may not detect an infected file.

  • An application may report a problem that affects a file. This issue most likely would occur when another application, such as an on-demand scanner, is enumerating and scanning large collections of files at the same time. For example, the application may report that the file format is bad or corrupted.

  • An application or driver may not access the file correctly.

Cause

This problem occurs because of a bug in Windows file systems. The bug causes the file to become cached if an I/O on a non-cached handle does not pass byte range lock checks. When this problem occurs, the current file pointer may be changed even though the I/O fails and returns an ERROR_LOCK_VIOLATION error. Therefore, the next I/O occurs at an unexpected offset. This causes silent skips and the other problems that are mentioned in the "Symptoms" section.

More Information

An application that encounters this problem will have a noncached file handle’s file pointer repositioned randomly. When the file pointer is not repositioned to a multiple of the sector size, a later read operation may succeed, but a write operation will fail and return an ERROR_INVALID_FUNCTION error. In some cases, the file pointer can be repositioned to a multiple of the sector size. In such a case, a later read or write operation will succeed at the unexpected offset. When an application opens a noncached handle, the file system usually uncaches the file. However, if the application is one of a class of applications that independently enumerates and reads whole directory trees or volumes, and reads files by using cached or mapped file I/O, the files become cached. This can occur, for example, if the application is an on-demand antivirus scanner.

Workaround

To work around this problem, use the SetFilePointerEx function to query the current file offset before it issues noncached I/O. If the I/O fails and returns an ERROR_LOCK_VIOLATION error, restore the current file offset to make sure that the current file offset is not changed.

Resolution

Note This problem affects most file systems that are used by Microsoft Windows. However, this hotfix applies only to the NTFS file system. This hotfix does not correct this problem for the FAT12, FAT16, FAT32, or exFAT file systems.

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, go to 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 one of the following operating systems:

  • Windows Server 2008 R2 Service Pack 1 (SP1)

  • Windows Server 2008 R2

  • Windows Server 2008 Service Pack 2 (SP2)

  • Windows 7 Service Pack 1 (SP1)

  • Windows 7

  • Windows Server 2008

  • Windows Vista Service Pack 2 (SP2)

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

976932Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2For 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:

968849How to obtain the latest service pack for Windows Server 2008For 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:

935791How to obtain the latest Windows Vista service pack

Registry information

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

Restart requirement

You must 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 Vista and Windows Server 2008 file information notesImportant 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.


    Version

    Product

    SR_Level

    Service branch

    6.0.600
    2.
    22xxx

    Windows Vista and Windows Server 2008

    SP2

    LDR

  • 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. xxxxxx 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 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 all supported x86-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.0.6002.22833

1,082,752

04-Apr-2012

17:40

x86

For all supported x64-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.0.6002.22833

1,501,056

04-Apr-2012

17:34

x64

For all supported IA-64-based versions of Windows Server 2008

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.0.6002.22833

3,285,376

04-Apr-2012

17:28

IA-64

Windows 7 and Windows Server 2008 R2 file information notesImportant Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" 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, milestone (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.1.760
    0.17xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    GDR

    6.1.760
    0.21xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    LDR

    6.1.760
    1.18xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    GDR

    6.1.760
    1.22xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • GDR service branches contain only those fixes that are widely released to address widespread, extremely important 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 Server 2008 R2 and for Windows 7" section. MUM 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 7

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.1.7600.17281

1,210,728

12-Apr-2013

13:58

x86

Ntfs.sys

6.1.7600.21499

1,211,240

12-Apr-2013

15:59

x86

Ntfs.sys

6.1.7601.18127

1,211,752

12-Apr-2013

13:45

x86

Ntfs.sys

6.1.7601.22297

1,213,288

12-Apr-2013

13:53

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.1.7600.17281

1,653,096

12-Apr-2013

14:36

x64

Ntfs.sys

6.1.7600.21499

1,679,208

12-Apr-2013

14:36

x64

Ntfs.sys

6.1.7601.18127

1,656,680

12-Apr-2013

14:45

x64

Ntfs.sys

6.1.7601.22297

1,686,888

12-Apr-2013

14:16

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Ntfs.sys

6.1.7600.17281

3,549,032

12-Apr-2013

14:43

IA-64

Ntfs.sys

6.1.7600.21499

3,553,128

12-Apr-2013

13:44

IA-64

Ntfs.sys

6.1.7601.18127

3,552,616

12-Apr-2013

13:36

IA-64

Ntfs.sys

6.1.7601.22297

3,557,736

12-Apr-2013

13:24

IA-64


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 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 Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008

File name

X86_54acdc251f5ed85668bd16e23ba7dadb_31bf3856ad364e35_6.0.6002.22833_none_d50827f58dba42f4.manifest

File version

Not applicable

File size

692

Date (UTC)

04-Apr-2012

Time (UTC)

17:45

Platform

Not applicable

File name

X86_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_a8c3dc86334511df.manifest

File version

Not applicable

File size

16,841

Date (UTC)

04-Apr-2012

Time (UTC)

17:46

Platform

Not applicable

Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008

File name

Amd64_309e9ae1a84ba0a3107c918660e43fc9_31bf3856ad364e35_6.0.6002.22833_none_54dd9116d1b5f1e7.manifest

File version

Not applicable

File size

696

Date (UTC)

04-Apr-2012

Time (UTC)

17:45

Platform

Not applicable

File name

Amd64_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_04e27809eba28315.manifest

File version

Not applicable

File size

17,104

Date (UTC)

04-Apr-2012

Time (UTC)

17:46

Platform

Not applicable

Additional files for all supported IA-64-based versions of Windows Server 2008

File name

Ia64_01db7bff75c3787d8e946ab675675e8d_31bf3856ad364e35_6.0.6002.22833_none_7f31f5bf71681733.manifest

File version

Not applicable

File size

694

Date (UTC)

04-Apr-2012

Time (UTC)

17:45

Platform

Not applicable

File name

Ia64_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_a8c5807c33431adb.manifest

File version

Not applicable

File size

17,096

Date (UTC)

04-Apr-2012

Time (UTC)

17:46

Platform

Not applicable

Additional file information for Windows 7 and for Windows Server 2008 R2

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

File name

Update-bf.mum

File version

Not Applicable

File size

2,719

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

2,773

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

X86_118f9ab09636285c677ce8d3d36f115c_31bf3856ad364e35_6.1.7601.18127_none_5381183f9f9317f9.manifest

File version

Not Applicable

File size

692

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

X86_2c7ee77aa4430643f5eb92be29470725_31bf3856ad364e35_6.1.7600.17281_none_80afed84e9bbbf7a.manifest

File version

Not Applicable

File size

692

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

X86_66176f6e96f57e4126b593de28c1f558_31bf3856ad364e35_6.1.7600.21499_none_106210b5a52c48be.manifest

File version

Not Applicable

File size

692

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

X86_e0e18755c01ca0f8f698996b24d3a629_31bf3856ad364e35_6.1.7601.22297_none_5a2d9b2f11891c8c.manifest

File version

Not Applicable

File size

692

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

X86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_a643660a7e42e622.manifest

File version

Not Applicable

File size

14,508

Date (UTC)

12-Apr-2013

Time (UTC)

14:19

Platform

Not Applicable

File name

X86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_a6ca371f976169bc.manifest

File version

Not Applicable

File size

14,508

Date (UTC)

12-Apr-2013

Time (UTC)

16:21

Platform

Not Applicable

File name

X86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_a870a63a7b333f99.manifest

File version

Not Applicable

File size

14,508

Date (UTC)

12-Apr-2013

Time (UTC)

14:10

Platform

Not Applicable

File name

X86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_a8ae93919489a2fa.manifest

File version

Not Applicable

File size

14,508

Date (UTC)

12-Apr-2013

Time (UTC)

14:18

Platform

Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_15e660d28a8fcdb5a7959a6be5674798_31bf3856ad364e35_6.1.7601.22297_none_386918c3837c5f8b.manifest

File version

Not Applicable

File size

696

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Amd64_a1d084142e3e75b856544b3032eaf225_31bf3856ad364e35_6.1.7601.18127_none_14c153dee6701d90.manifest

File version

Not Applicable

File size

696

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Amd64_e189b73349906fef13c514b3047a3d08_31bf3856ad364e35_6.1.7600.21499_none_cc4d8c42306a483a.manifest

File version

Not Applicable

File size

696

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Amd64_f14bb396d8c1397dde25d8d477c80984_31bf3856ad364e35_6.1.7600.17281_none_0d62038e62e15196.manifest

File version

Not Applicable

File size

696

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Amd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_0262018e36a05758.manifest

File version

Not Applicable

File size

14,514

Date (UTC)

12-Apr-2013

Time (UTC)

15:16

Platform

Not Applicable

File name

Amd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_02e8d2a34fbedaf2.manifest

File version

Not Applicable

File size

14,514

Date (UTC)

12-Apr-2013

Time (UTC)

17:27

Platform

Not Applicable

File name

Amd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_048f41be3390b0cf.manifest

File version

Not Applicable

File size

14,514

Date (UTC)

12-Apr-2013

Time (UTC)

15:13

Platform

Not Applicable

File name

Amd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_04cd2f154ce71430.manifest

File version

Not Applicable

File size

14,514

Date (UTC)

12-Apr-2013

Time (UTC)

14:42

Platform

Not Applicable

File name

Update-bf.mum

File version

Not Applicable

File size

3,153

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

3,215

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_04aed0f02146950828f2023223e68430_31bf3856ad364e35_6.1.7601.18127_none_231ea8f370141fac.manifest

File version

Not Applicable

File size

694

Date (UTC)

03-May-2013

Time (UTC)

16:59

Platform

Not Applicable

File name

Ia64_0e23f8c98f93974d852df8f31be06d2f_31bf3856ad364e35_6.1.7600.21499_none_dceb1649db42d5a6.manifest

File version

Not Applicable

File size

694

Date (UTC)

03-May-2013

Time (UTC)

16:59

Platform

Not Applicable

File name

Ia64_19f5a2ac10b3def0f425aa34a095fbfd_31bf3856ad364e35_6.1.7601.22297_none_e29a69ac026c0594.manifest

File version

Not Applicable

File size

694

Date (UTC)

03-May-2013

Time (UTC)

16:59

Platform

Not Applicable

File name

Ia64_a20981c7338a7802202c10ff5e38c721_31bf3856ad364e35_6.1.7600.17281_none_4a3b351a80596951.manifest

File version

Not Applicable

File size

694

Date (UTC)

03-May-2013

Time (UTC)

16:59

Platform

Not Applicable

File name

Ia64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_a6450a007e40ef1e.manifest

File version

Not Applicable

File size

14,511

Date (UTC)

12-Apr-2013

Time (UTC)

15:13

Platform

Not Applicable

File name

Ia64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_a6cbdb15975f72b8.manifest

File version

Not Applicable

File size

14,511

Date (UTC)

12-Apr-2013

Time (UTC)

17:22

Platform

Not Applicable

File name

Ia64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_a8724a307b314895.manifest

File version

Not Applicable

File size

14,511

Date (UTC)

12-Apr-2013

Time (UTC)

15:03

Platform

Not Applicable

File name

Ia64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_a8b037879487abf6.manifest

File version

Not Applicable

File size

14,511

Date (UTC)

12-Apr-2013

Time (UTC)

14:10

Platform

Not Applicable

File name

Update-bf.mum

File version

Not Applicable

File size

1,909

Date (UTC)

03-May-2013

Time (UTC)

17:00

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

1,947

Date (UTC)

03-May-2013

Time (UTC)

16:59

Platform

Not Applicable


Need more help?

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

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×