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

Article translations Article translations
Article ID: 2698155 - View products that this article applies to.
Expand all | Collapse all

On This Page

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

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.

File information

Collapse this imageExpand this image
assets folding start collapsed
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 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.
    Collapse this tableExpand this table
    VersionProductSR_LevelService branch
    6.0.600 2 . 22xxxWindows 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. 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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.0.6002.228331,082,75204-Apr-201217:40x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.0.6002.228331,501,05604-Apr-201217:34x64
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.0.6002.228333,285,37604-Apr-201217:28IA-64
Windows 7 and Windows Server 2008 R2 file information notes
Important 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:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.1.760 0.17xxxWindows 7 and Windows Server 2008 R2RTMGDR
    6.1.760 0.21xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.760 1.18xxxWindows 7 and Windows Server 2008 R2SP1GDR
    6.1.760 1.22xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • 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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.1.7600.172811,210,72812-Apr-201313:58x86
Ntfs.sys6.1.7600.214991,211,24012-Apr-201315:59x86
Ntfs.sys6.1.7601.181271,211,75212-Apr-201313:45x86
Ntfs.sys6.1.7601.222971,213,28812-Apr-201313:53x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.1.7600.172811,653,09612-Apr-201314:36x64
Ntfs.sys6.1.7600.214991,679,20812-Apr-201314:36x64
Ntfs.sys6.1.7601.181271,656,68012-Apr-201314:45x64
Ntfs.sys6.1.7601.222971,686,88812-Apr-201314:16x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ntfs.sys6.1.7600.172813,549,03212-Apr-201314:43IA-64
Ntfs.sys6.1.7600.214993,553,12812-Apr-201313:44IA-64
Ntfs.sys6.1.7601.181273,552,61612-Apr-201313:36IA-64
Ntfs.sys6.1.7601.222973,557,73612-Apr-201313:24IA-64
Collapse this imageExpand this image
assets folding end collapsed

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:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Collapse this imageExpand this image
assets folding start collapsed

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
Collapse this tableExpand this table
File nameX86_54acdc251f5ed85668bd16e23ba7dadb_31bf3856ad364e35_6.0.6002.22833_none_d50827f58dba42f4.manifest
File versionNot applicable
File size692
Date (UTC)04-Apr-2012
Time (UTC)17:45
PlatformNot applicable
File nameX86_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_a8c3dc86334511df.manifest
File versionNot applicable
File size16,841
Date (UTC)04-Apr-2012
Time (UTC)17:46
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameAmd64_309e9ae1a84ba0a3107c918660e43fc9_31bf3856ad364e35_6.0.6002.22833_none_54dd9116d1b5f1e7.manifest
File versionNot applicable
File size696
Date (UTC)04-Apr-2012
Time (UTC)17:45
PlatformNot applicable
File nameAmd64_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_04e27809eba28315.manifest
File versionNot applicable
File size17,104
Date (UTC)04-Apr-2012
Time (UTC)17:46
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_01db7bff75c3787d8e946ab675675e8d_31bf3856ad364e35_6.0.6002.22833_none_7f31f5bf71681733.manifest
File versionNot applicable
File size694
Date (UTC)04-Apr-2012
Time (UTC)17:45
PlatformNot applicable
File nameIa64_microsoft-windows-ntfs_31bf3856ad364e35_6.0.6002.22833_none_a8c5807c33431adb.manifest
File versionNot applicable
File size17,096
Date (UTC)04-Apr-2012
Time (UTC)17:46
PlatformNot applicable

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

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameUpdate-bf.mum
File versionNot Applicable
File size2,719
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,773
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameX86_118f9ab09636285c677ce8d3d36f115c_31bf3856ad364e35_6.1.7601.18127_none_5381183f9f9317f9.manifest
File versionNot Applicable
File size692
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameX86_2c7ee77aa4430643f5eb92be29470725_31bf3856ad364e35_6.1.7600.17281_none_80afed84e9bbbf7a.manifest
File versionNot Applicable
File size692
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameX86_66176f6e96f57e4126b593de28c1f558_31bf3856ad364e35_6.1.7600.21499_none_106210b5a52c48be.manifest
File versionNot Applicable
File size692
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameX86_e0e18755c01ca0f8f698996b24d3a629_31bf3856ad364e35_6.1.7601.22297_none_5a2d9b2f11891c8c.manifest
File versionNot Applicable
File size692
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameX86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_a643660a7e42e622.manifest
File versionNot Applicable
File size14,508
Date (UTC)12-Apr-2013
Time (UTC)14:19
PlatformNot Applicable
File nameX86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_a6ca371f976169bc.manifest
File versionNot Applicable
File size14,508
Date (UTC)12-Apr-2013
Time (UTC)16:21
PlatformNot Applicable
File nameX86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_a870a63a7b333f99.manifest
File versionNot Applicable
File size14,508
Date (UTC)12-Apr-2013
Time (UTC)14:10
PlatformNot Applicable
File nameX86_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_a8ae93919489a2fa.manifest
File versionNot Applicable
File size14,508
Date (UTC)12-Apr-2013
Time (UTC)14:18
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_15e660d28a8fcdb5a7959a6be5674798_31bf3856ad364e35_6.1.7601.22297_none_386918c3837c5f8b.manifest
File versionNot Applicable
File size696
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameAmd64_a1d084142e3e75b856544b3032eaf225_31bf3856ad364e35_6.1.7601.18127_none_14c153dee6701d90.manifest
File versionNot Applicable
File size696
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameAmd64_e189b73349906fef13c514b3047a3d08_31bf3856ad364e35_6.1.7600.21499_none_cc4d8c42306a483a.manifest
File versionNot Applicable
File size696
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameAmd64_f14bb396d8c1397dde25d8d477c80984_31bf3856ad364e35_6.1.7600.17281_none_0d62038e62e15196.manifest
File versionNot Applicable
File size696
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameAmd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_0262018e36a05758.manifest
File versionNot Applicable
File size14,514
Date (UTC)12-Apr-2013
Time (UTC)15:16
PlatformNot Applicable
File nameAmd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_02e8d2a34fbedaf2.manifest
File versionNot Applicable
File size14,514
Date (UTC)12-Apr-2013
Time (UTC)17:27
PlatformNot Applicable
File nameAmd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_048f41be3390b0cf.manifest
File versionNot Applicable
File size14,514
Date (UTC)12-Apr-2013
Time (UTC)15:13
PlatformNot Applicable
File nameAmd64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_04cd2f154ce71430.manifest
File versionNot Applicable
File size14,514
Date (UTC)12-Apr-2013
Time (UTC)14:42
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size3,153
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,215
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_04aed0f02146950828f2023223e68430_31bf3856ad364e35_6.1.7601.18127_none_231ea8f370141fac.manifest
File versionNot Applicable
File size694
Date (UTC)03-May-2013
Time (UTC)16:59
PlatformNot Applicable
File nameIa64_0e23f8c98f93974d852df8f31be06d2f_31bf3856ad364e35_6.1.7600.21499_none_dceb1649db42d5a6.manifest
File versionNot Applicable
File size694
Date (UTC)03-May-2013
Time (UTC)16:59
PlatformNot Applicable
File nameIa64_19f5a2ac10b3def0f425aa34a095fbfd_31bf3856ad364e35_6.1.7601.22297_none_e29a69ac026c0594.manifest
File versionNot Applicable
File size694
Date (UTC)03-May-2013
Time (UTC)16:59
PlatformNot Applicable
File nameIa64_a20981c7338a7802202c10ff5e38c721_31bf3856ad364e35_6.1.7600.17281_none_4a3b351a80596951.manifest
File versionNot Applicable
File size694
Date (UTC)03-May-2013
Time (UTC)16:59
PlatformNot Applicable
File nameIa64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.17281_none_a6450a007e40ef1e.manifest
File versionNot Applicable
File size14,511
Date (UTC)12-Apr-2013
Time (UTC)15:13
PlatformNot Applicable
File nameIa64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7600.21499_none_a6cbdb15975f72b8.manifest
File versionNot Applicable
File size14,511
Date (UTC)12-Apr-2013
Time (UTC)17:22
PlatformNot Applicable
File nameIa64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.18127_none_a8724a307b314895.manifest
File versionNot Applicable
File size14,511
Date (UTC)12-Apr-2013
Time (UTC)15:03
PlatformNot Applicable
File nameIa64_microsoft-windows-ntfs_31bf3856ad364e35_6.1.7601.22297_none_a8b037879487abf6.manifest
File versionNot Applicable
File size14,511
Date (UTC)12-Apr-2013
Time (UTC)14:10
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size1,909
Date (UTC)03-May-2013
Time (UTC)17:00
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size1,947
Date (UTC)03-May-2013
Time (UTC)16:59
PlatformNot Applicable
Collapse this imageExpand this image
assets folding end collapsed

Properties

Article ID: 2698155 - Last Review: June 11, 2013 - Revision: 4.0
Applies to
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Foundation
  • Windows Server 2008 Standard
  • Windows Server 2008 Standard without Hyper-V
  • Windows Web Server 2008
  • Windows Vista Enterprise
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Home Basic
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate
  • Windows Vista Ultimate 64-bit Edition
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Standard
  • Windows Web Server 2008 R2
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced KB2698155

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com