Surface Pro 3 – Quick Tip – Visual Studio (Hyper-v) Disables Sleep (Connected Standby)

Surface logo

So I recently installed Visual Studio 2013 on my Surface Pro 3 and then found that I could no longer put it to sleep.

VS 2013 enables Hyper-v in Windows which developers use to test apps in other Operating Systems (such as Windows Phone). The problem is that Hyper-v conflicts with the advanced power management features (Connected Standby) on the Surface Pro 3.

Windows Phone Emulator
Visual Studio 2013 running Windows Phone 8 emulator in Hyper-v

While Hyper-v can be turned on and off this requires a reboot – and the Surface Pro 3 can only be shutdown, restarted or hibernated while Hyper-v is running.

The work-around is to manually enable and disable hyper-v and then reboot.

To disable Hyper-v open an Administrator Command Prompt, enter this command and then reboot:

bcdedit /set hypervisorlaunchtype off

Hyper-V can be enabled again with this command (which also requires a reboot):

bcdedit /set hypervisorlaunchtype auto

Windows 8.1 – VMware Player and Hyper-V are not compatible

Windows 8 Logo

I have the Hyper-V role enabled on Windows 8.1 for VS Express Windows Phone Emulation. The problem is this error when I try to run a VMWare Player virtual machine:

VMware Player and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Player.

The workaround is to disable Hyper-V so that you can use VMWare.

To do this open an Administrator Command Prompt, enter this command and then reboot:

bcdedit /set hypervisorlaunchtype off

Hyper-V can be enabled again with this command (which also requires a reboot):

bcdedit /set hypervisorlaunchtype auto

Source: http://superuser.com/questions/519991/vmware-player-is-not-working-after-installing-hyper-v-on-windows-8-pro