Home > SQL Server > Hyper V checklist

Hyper V checklist


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.

Advertisements
Categories: SQL Server
  1. Abrar
    June 14, 2013 at 1:51 pm

    how to check if the dataexecutionprevention is set to auto in bcdedit in windows?????

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: