Disable Hyper-V pausing due to low disk space

hyper-vwindows-server-2012

Is there a way to keep Hyper-V from pausing due to low disk space errors?

I have tried some registry edits but they do not seem to be working.

Is this a policy setting?

Best Answer

The alternative is disk write failures in the guest OS. That often causes them to crash.

If you don't want a VM to pause due to low disk space, there are a few things you can do. First, disable the default "save my VM on host shut down" setting. This will free up some space. Second, make your VHD or VHDX files "fixed," rather than "dynamically expanding." This will mean that all your storage is allocated up front, giving you an idea of what might be required in the future, and ensuring that you simply can't run out of space unexpectedly.