Thursday, 14 August 2008

Windows 2008 VM's and hiberfile.sys

I found that one of the Windows 2008 VM's on ESX VI3 was running out of space, and so I investigated. It turns out that there was a hiberfile.sys lurking on the system drive. I tried to delete, but wouldn't let me, I tried to find the option in Control Panel\Power Options, but nothing there. Turns out the following command needs to be run

powercfg.exe /hibernate off

Low and behold, the file is gone, and a few GB of disk storage is returned :)

Checked this on the Hyper-V W2K8 VM's, and it says that hibernation is not supported by the firmware, so not an issue.

No comments: