stealthpuppy

Disable Hibernation before enabling Hyper-V on a laptop

If you enable Hyper-V on a laptop (or any other machine where hibernation is enabled automatically) you’ll find that you won’t be able to delete the hibernation file (hiberfil.sys).  Although hibernation is effectively disabled, the file remains in use once Windows has booted:

Additionally, in an effort to remove the lock on the file, you can’t use POWERCFG to disable hibernation after Hyper-V is installed:

While there’s a work-around to get hibernation working,  there’s not much to gain with hibernation enabled on a fast SSD drive. Especially when dual-booting puts space at a premium and the hibernation file is 8GB.

Just remember to disable hibernation before enabling Hyper-V with:

POWERCFG -H OFF
Share LinkedIn Bluesky
Aaron Parker

Aaron Parker

Aaron Parker (stealthpuppy) is an end-user computing specialist with 30 years experience. Aaron has also spent around 20 years in the IT community speaking, presenting, blogging and running open-source projects. Aaron is a Senior PM Architect in R&D @ Nerdio.