How to remove the Hiberfil.sys file in Windows 2008



How to remove the Hiberfil.sys file in Windows 2008


It seems that Windows 2008 Server enables hibernation by default. This is quite interesting since I'm not sure how many people actually hibernate a server. Nevertheless, it's something we need to deal with. Particularly for those (like me) who do most of their work in VMs.

As you may know, Windows creates a file named hiberfil.sys in the root of the system drive for systems where hibernation is enabled. The hiberfil.sys file is always the same size as physical RAM. In a VM where hibernation is normally replaced with the VM software's suspend feature, that can be quite a sizeable chunk of wasted space.


Trouble is, you can't disable hibernation anywhere in the GUI. It must be disabled from the command line using the command:

powercfg.exe /hibernate off

The file will be removed from your system and give your a big chunk of disk space back.

 

 

Cardium offer services including Cloud Computing using Microsoft Remote Desktop Services paid for monthly and per user, installation, consultancy and virtualisation best practises.

Company Registration 5135448 VAT registration 834 5840 16

Your Office Anywhere, Cardium Outsourcing, Unit 4, Dominion Court, Billington Road, Burnley, Lancashire, BB11 5UB, UK.

 © Your Office Anywhere 2011


Add Feedback