Archive

Archive for September, 2010

Hyper V checklist

September 7, 2010 1 comment

I’m now using Hyper-V as my virtualization tool of choice. Most of my dev and all my demo’s are on Virtual Machines ( and have been so for some time ), however I’ve been experimenting with different virtualization platforms. I the the main thing you want with virtualization is good performance and excellent stability, and I’m happy with what Hyper-V delivers, although the lack of USB support is a pain. 

The other day I was setting up the Hyper V role on my Lenovo T400 laptop. When I tried to start a virtual machine I got the error The virtual machine could not be started because the hypervisor is not running.

So, I knew that Hardware virtualization had to be turned on in the BIOS. You get this option for most modern Intel and AMD Cpu’s, but I was sure that this was on. I checked anyway and no issues there. Then I remembered that DEP ( Data Execution Prevention ) had to be enabled in Windows. That was on too. After a bit of research , I found that you have to enable DEP in the BIOS as well. Took me a while to find it , but on a Lenovo Thinkpad it should be under Security – Memory – DEP.

That sorted it out. The full checklist of items :
1) Enable Hardware Virtualization for CPU in BIOS
2) Enable DEP in BIOS
3) Enable DEP in windows
4) Make BCDedit in a command window – make sure that the Hypervisor setting is set to Auto.

Categories: SQL Server