Microsoft KB Archive/112509

= Error 2013 - Disk Is At Or Near Capacity =

Article ID: 112509

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 3.1
 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Advanced Server 3.1

-



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.

 Start Regedt32.exe.  Select the following path: HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \LanmanServer \Parameters  From the Edit menu, choose Add Value. Enter DiskSpaceThreshold in the Value Name field. Change the Data Type to REG_DWORD. Enter the desired percentage value in the Data field.</li> Shut down and restart Windows NT.</li></ol>

For more information on alert logging see the Windows NT Resource Kit Volume One.

Additional query words: prodnt regedt32.exe

Keywords: KB112509

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.