When Windows detects that one of your hard drives has too little free space, a warning appears offering to run the "Disk Cleanup" utility. Here's how to turn off this message:
Windows XP
- Run the Registry Editor (REGEDIT.EXE).
- Open HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer.
If it's not there, create a DWORD value and call it NoLowDiskSpaceChecks.
Double-click on NoLowDiskSpaceChecks, and enter the value 1, and press OK.
For Vista, if there is no Explorer under that do the following steps
- Open Windows Vista registry editor and navigate to the registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion.
- Select the Policies key under CurrentVersion.
- From the Windows Registry Editor menu, choose Edit-> New-> Key.
After the new key is created beneath Policies key, it will initially be named as New Key #1.
- Change the name of the newly created registry key to Explorer and then hitting the Enter key.
- With the newly created registry key, Explorer, still selected, choose Edit -> New-> DWORD (32-bit) Value.
- After the new DWORD value is created beneath Explorer, it will initially be named New Value #1.Change the name of the newly created DWORD value to NoLowDiskSpaceChecks and then hitting the Enter key.
- Right-click on the newly created NoLowDiskSpaceChecks DWORD value and choose the option Modify.
- Change the value of DWORD, 0 with the number 1 and click OK
- Close Windows Vista Registry Editor and restart computer to take effect the registry changes