• RSS
  • Twitter
  • FaceBook

Force Windows Servers To Log An Event Entry For Disk Space

This article explains a registry hack you can use to configure Disk Space Threshold on Windows Servers.

By default a computer running Windows Server 2003 and Windows Server 2008 notifies event viewer if a disk space falls below 10% of the total disk space for every drive letter. You can modify this behaviour by using the following registry entry:

  • KEY Name: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
  • Registry Entry: DiskSpaceThreshold
  • Data Type: REG_DWORD
  • Value: 0-99 Percent

The above registry entry does not exist by default. You need to create it. If the percentage of the free space falls below the value of this entry, then the Server service creates the following event in the System Log in Event Viewer:

"The disk is at or near capacity. You might need to delete some files. Event ID would be 2013.

About Nirmal Sharma

Nirmal is a Microsoft MVP in Directory Services and working as a Technical Architect/Consultant. He has been involved in Microsoft Technologies since 1994 and followed the progression of Microsoft Operating Systems and software. He is specialized in Directory Services, Microsoft Clustering, SQL, MOM, Exchange and Citrix. In his spare time, he likes to help others and write "internal" technical articles, white papers and tips on various Microsoft technologies. You can contact him at nirmal_sharma@mvps.org.


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred data recovery solution?