› Forums › Operating Systems › Windows Server 2012 R2 › Miscellaneous › Enabling Hibernation and Hyper-V simultaneously
- This topic has 1 reply, 2 voices, and was last updated 11 years ago by Anonymous.
- AuthorPosts
-
- 16th September 2013 at 07:18 #44700
Hibernation is important for systems where data is important, because hibernation is the only way to automatically save data when the power goes off. If the power shuts down and your UPS dies 20 minutes later when you’re not around, you’ll be disappointed to learn Windows shut down and the state of everything in memory was lost.
Unfortunately, Windows Server Hyper-V does not support hibernation. They make Server Hyper-V disable hibernation, even though Windows 8 Hyper-V supports hibernation.
But until there is a hack to enable both at the same time, there are two methods I found which allow operating hiberation and hyper-v MUTUALLY EXCLUSIVELY, but still, at least on the same system.
One way, using a separate bcdedit boot entry to boot up with the hypervisor off, thus hibernation on: http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx
1.bcdedit /copy {current} /d “Microsoft Windows Server 2008 – no hypervisor”
2.bcdedit /set {identifier for the new boot entry (copy from the output of a plain ‘bcdedit’ command)} hypervisorlaunchtype offThe other way, setting the hypervisor service to NOT turn on at startup: http://chetanpawar.com/enable-hibernation-with-hyper-v-is-it-possible-yes-it-is/
1. HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceshvboot and then set the start valueof it to 3
2. Type the following command in a command prompt window with administrative rights. sc config hvboot start= demand
3. Reboot
4. After Reboot, Open an administrative command prompt, type “powercfg.exe /hibernate on” to enable hibernation.The “catch” with both of these methods is that enabling one feature always disables the other, automatically. The second method mentions that you can enable hyper-v service any time you want to run a VM, but that hibernation will automatically be turned off for that session.
We need someone to hack the system to allow for both simultaneously 🙂 This may make a good guide at some point.
- 16th September 2013 at 13:01 #60891Anonymous
Hi !
Yesterday i read about someone who had both hibernate and Hyper-V working on WS2012.
But i haven´t had time to read it…and some info here: http://serverfault.com/questions/530626/how-to-enable-hibernation-on-windows-server-2012-with-hyper-v-role
- AuthorPosts
- You must be logged in to reply to this topic.