The Defrag.exe tool may stop responding when you run the Dfrgntfs.exe tool to defragment a hard disk on a Windows Server 2003 with Service Pack 1-based computer

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
Consider the following scenario. You run the Dfrgntfs.exe tool to defragment a hard disk on a Microsoft Windows Server 2003 with Service Pack 1 (SP1)-based computer. The defragmentation process does not successfully finish. The Defrag.exe tool may stop responding. In Task Manager, you notice that the CPU usage for the Dfrgntfs.exe tool process increases to 100 percent and stays at that level.
Cause
This problem may occur if the Defrag.exe tool encounters a 0-byte attribute entry in the attribute list.
Resolution

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 this specific problem. 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 Web site: 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 have Windows Server 2003 SP1 installed on the computer.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2003 with Service Pack 1, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Dfrgntfs.exe5.2.3790.2866119,29622-Jan-200710:45x86
Windows Server 2003 with Service Pack 1, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Dfrgntfs.exe5.2.3790.2866165,88822-Jan-200710:20x64
Windows Server 2003 with Service Pack 1, IA64-based versions
File nameFile versionFile sizeDateTimePlatform
Dfrgntfs.exe5.2.3790.2866331,26422-Jan-200709:23IA-64

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

Call stack

The following is an example of the call stack that is generated when this problem occurs:

ChildEBP RetAddr  Args to Child              00b5f1e4 0100ef6e 002256f8 00b5f250 00000400 dfrgntfs!FindNextStreamInAttrList+0x81 [d:\srvrtm\base\fs\utils\dfrg\ntfssubs.cpp @ 947]00b5f270 0101aa85 00000001 00b5f2bc 00b5f29c dfrgntfs!GetStreamNameAndTypeFromNumber+0x280 [d:\srvrtm\base\fs\utils\dfrg\ntfssubs.cpp @ 1956]00b5f4c8 0101afb8 00000001 0000004e 010040a4 dfrgntfs!PartialMoveFile+0x140 [d:\srvrtm\base\fs\utils\dfrg\dfrgntfs\partdfrg.cpp @ 1035]00b5f4ec 01014dd0 00000019 00000000 03e7fcaf dfrgntfs!PartialDefragNtfs+0xfa [d:\srvrtm\base\fs\utils\dfrg\dfrgntfs\partdfrg.cpp @ 1285]00b5f50c 010163f6 00000019 00000000 0101db4a dfrgntfs!PerformPartialDefrag+0x150 [d:\srvrtm\base\fs\utils\dfrg\dfrgntfs\dfrgntfs.cpp @ 6085]00b5f56c 01018eca 00000000 00000000 00000000 dfrgntfs!DefragNtfs+0x125 [d:\srvrtm\base\fs\utils\dfrg\dfrgntfs\dfrgntfs.cpp @ 4674]00b5ffb8 77e66063 00000000 00000000 00000000 dfrgntfs!DefragThread+0x46a [d:\srvrtm\base\fs\utils\dfrg\dfrgntfs\dfrgntfs.cpp @ 3270]00b5ffec 00000000 01018a60 00000000 00000000 kernel32!BaseThreadStart+0x34 [d:\srvrtm\base\win32\client\support.c @ 767]
defrag; dfrgntfs
Properties

Article ID: 930118 - Last Review: 01/16/2015 01:57:25 - Revision: 2.0

  • Microsoft Windows Server 2003 Service Pack 1
  • Microsoft Windows Server 2003 Service Pack 2
  • kbnosurvey kbarchive kbautohotfix kbexpertiseinter kbqfe kbHotfixServer KB930118
Feedback