Article ID: 301540 - View products that this article applies to.
This article was previously published under Q301540
The CreateFile API improperly returns ERROR_ALREADY_EXISTS even though the file does not exist if the volume the file is on is currently locked. Programs such as ScanDisk, Disk Defragmenter, and many anti-virus utilities often keep a lock on the volume while they are running. While these types of programs are running with the volume locked, other programs that make calls to CreateFile and check for this condition may malfunction.
While the volume a file resides on is locked, Installable File System manager loses the return status while it processes the CreateFile request.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
Date Version Size File name Operating system ----------------------------------------------------------------------- June 19, 2001 4.90.3003 185,910 Ifsmgr.vxd Windows Millennium Edition (Me)
NOTE: If you have several thousand 0kb OEM*.inf files, delete those files first. If after deleting these files, the issue still exists, then apply for this hotfix. Use the following steps to delete any files found:
If the logic of the program dictates that different actions should be taken if the file already exists on the computer, the program can be written to call CreateFile with OPEN_EXISTING first. If this returns INVALID_HANDLE_VALUE, the file did not exist.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
For additional information about Windows Me hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/295413/EN-US/ )General Information About Windows Millennium Edition Hotfixes
Article ID: 301540 - Last Review: January 31, 2007 - Revision: 1.6