Windows NT Err Msg: Corrupt and Unreadable File. Please Use CHKDSK.

This article has been archived. It is offered "as is" and will no longer be updated.
When you use functions to open files, you may encounter the following situation:

When you use NTCreatFile() with the file open by file ID attribute specified on a 64-bit NTFS file, the ID opens the file but, when you attempt to delete the file from a command prompt while the file is open, the following error message occurs:
Corrupt and unreadable file. Please use chkdsk.
The same file, when started normally, will delete fine.
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
  • 152734 how to obtain the latest windows nt 4.0 service pack
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
NOTE: New functionality was added for NtQueryInformationFile(..., FileNameInformation) to obtain the pathname of the file associated to the handle.
Microsoft has confirmed that this is a problem in Windows NT 4.0. This problem was first corrected in Windows NT version 4.0 Service Pack 5.

Article ID: 219327 - Last Review: 01/11/2015 02:30:53 - Revision: 4.0

Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows NT Workstation 4.0 Developer Edition

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix KB219327