How to disable ‘Low Disk space’ on Server 2008 and Hyper-V

hyper-vwindows-server-2008

My problem is showing on a Hyper-V setup, but is not strictly a Hyper-V problem. Hyper0V is exposing the symptom.

I created a fixed size file on a drive in the host that almost fills the physical volume. This is causing "Low Disk Space" messages. Which, in turn, appears to be causing the guest VM to go to "Pause-Critical" status.

How can I make Server 2008 and/or Hyper-V stop doing this check? Or, will I have to reduce the size of my fixed size files(s)?

Best Answer

Start regedit
Nagivate to this key:

 HKEY_Current_User\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Add the DWORD value NoLowDiskSpaceChecks and set it to 1.

This is a user setting, so you'll have to possibly add it to the default user profile and any existing users you've created. That or create an administrative template and apply it at the Active Directory level.

I'm guessing this is not going to solve your guest os going into the pause-critical status. Something else is happening here that's doing this. Maybe the hyper-v guest os tools are doing this because it thinks the host is out of disk space? try uninstalling them?