New
#1
No sleep options on Hyper-V
I installed 2 machines on Hyper-V and none of them have the Sleep options under "Power Options". Is there a fix?
Thanks
I installed 2 machines on Hyper-V and none of them have the Sleep options under "Power Options". Is there a fix?
Thanks
Try disabling "dynamic memory" for your VM. I know for a fact that this prevents hibernation from working, but am only guessing that this may affect sleep as well.
Let me know that helps.
Do you have a specific need to have sleep available in a VM, or is your question just out of curiosity? If you just want to suspend its activity, then 'restore down' to have the VM connection in a window on your host machine. Then Pause is available in the Action menu and on the toolbar.
If you specifically need sleep/hibernate for test purposes then no, neither sleep or hibernation are available to the guest OS in a Hyper-V VM. It is possible to enable hibernation for a Hyper-V VM though....
How to enable Sleep/Hibernate on a Hyper-V guest VM? - Super User
- Disable dynamic memory on the VM - it's incompatible with hibernation
- Run the following PowerShell script on the host....
Sleep is probably not possible, even on a physical machine it requires a video driver that supports Standby (S3). It's unlikely that the 'Microsoft Hyper-V Video' HyperVideo.sys driver does.
nope, I tried that earlier actually but that didn't work
thank you, I guess that's the reason, the Hyper-V Video driver does not support S3.
I need to disable sleep, that's why I asked (not just curiosity )
So I'm not sure now if there's not sleep option, does it never sleep or it will sleep whenever?
No, the guest OS has no sleep option available. The host machine does, however. If you want to make sure your VM stays up 24/7 then you need to make sure that the host has sleep disabled too.
Just compare their respective advanced power plan option in Control Panel. There's no 'Sleep after' available in the guest.
Or open a command prompt in each and run the commandpowercfg /a