Error 2013 - Disk Is At Or Near Capacity (112509)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Advanced Server

This article was previously published under Q112509

SUMMARY

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


By default, Event Viewer may report Event ID 2013 if a partition has 10 percent or less disk space available. Event ID 2013 says the following:
The disk is at or near capacity. You may need to delete some files.

MORE INFORMATION

By design the event is logged once per drive per occurrence. Therefore, if the free space of drive C dips below the threshold, an alert is logged. Another alert for drive C may not be logged unless the free space goes above the threshold and then dips back down again or the server is restarted.

You can change the DiskSpaceThreshold value to alter the percentage of free disk space available before an alert is logged. The registry parameter is defined as follows:
   Value: DiskSpaceThreshold     REG_DWORD
   Range: 0 to 99 percent
   Default: 10 percent
   Description: Specifies the percentage of free disk space remaining
                before an alert is sent.
				
To modify the DiskSpaceThreshold value, perform the following steps:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


  1. Start Regedt32.exe.
  2. Select the following path:
         HKEY_LOCAL_MACHINE
         \SYSTEM
              \CurrentControlSet
                   \Services
                        \LanmanServer
                             \Parameters
    							
  3. From the Edit menu, choose Add Value.
  4. Enter DiskSpaceThreshold in the Value Name field.
  5. Change the Data Type to REG_DWORD.
  6. Enter the desired percentage value in the Data field.
  7. Shut down and restart Windows NT.
For more information on alert logging see the Windows NT Resource Kit Volume One.

Modification Type:MajorLast Reviewed:5/6/2003
Keywords:KB112509