IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
When you attempt to copy files to a drive that is low on free disk space, you may receive the following error message:
Cannot create or replace <file>: There is not enough free disk space.
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
If you do not want to receive this error message, and do not want to use the Disk Cleanup tool to free disk space, create a DWORD value named DisableLowDiskSpaceBroadcast in the following registry key:
Set the data value of the DisableLowDiskSpaceBroadcast value to the appropriate value from the following table:
Drive Letter Data Value
NOTE: If you want to disable the error message for more than one drive, you can add the data values of the drives located in the table, and then set the data value of the DisableLowDiskSpaceBroadcast value using the sum of the data values that you added. For example, drive E has a value of 16 and drive G has a value of 64. These two data values added together equal 80. To disable the low disk space notification for drive E and drive G, set the data value of the DisableLowDiskSpaceBroadcast value to 80.
For information about using the Disk Cleanup tool, see the following article in the Microsoft Knowledge Base:
TITLE : Description of the Disk Cleanup Tool in Windows 98
This behavior is by design.