Part 3 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Enable Hyper-V Role

Direct answer

Several Ways to Enable the Hyper-V Role… Command Line: DISM /online /enable-feature /featurename:Microsoft-Hyper-V Startup ocsetup Microsoft-Hyper-V PowerShell: Add-WindowsFeature Hyper-V GUI: Start – Server Manager – Add Role – Hyper-V

Several Ways to Enable the Hyper-V Role…

1. Command Line:

- DISM /online /enable-feature /featurename:Microsoft-Hyper-V

- Startup ocsetup Microsoft-Hyper-V

1. PowerShell:

- Add-WindowsFeature Hyper-V

1. GUI: StartServer ManagerAdd RoleHyper-V

- May use remote management to install via GUI on Server Core

- [

Hyper-V Add Role Screenshot

](/wp-content/uploads/2012/03/Hyper-V-Add-Role-Screenshot.png)

1. SCVMM – Add Host – Adding host will automatically add th Hyper-V Role

Command Line, Powershell, Remote Administration or SCVMM are required for Server Core

##

> _Video no longer available -- originally hosted on other. No archived copy could be recovered._

Silverlight is not installed or a later version is required.

**

Video Walks through the GUI

[

Hyper-V Cannot Be Installed Error

](/wp-content/uploads/2012/06/TurnOn_BIOS.png)

Remember, before you can enable Hyper-V Role, you have to setup the BIOS

Related Articles:

- Private Cloud Is The Future of IT, Free Training Coming Soon–Registration Open

- Hyper-V Role-Identifying Hardware Requirements

- Native Boot To VHD Part III – Load OS on VHD with OS already Installed On Metal

- How To Automatically Create BCDEdit Data For A Boot2VHD File On Your Windows 7 or Windows Server 2008 R2 Machine

- Part 1 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour (includes sysprep images)

- Part 2 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–BIOS Settings

- Part 3 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Enable Hyper-V Role – You are looking at it!

Coming Soon:

- Part 4 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Setup Networking and Misc (rename computer, user settings)

- Part 5 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Create Virtual Machine

- Part 6 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–DC Promo Guest

- Part 7 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–DC Promo Guest

- Part 8 – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Install SCVMM 2012

- BONUS – Build a Windows Server 2008 R2 SP1 Cloud Foundation Test Lab in Less Than an Hour–Windows Server 8 Guest Foundation

Dan Stolts

Founder and Chief AI Officer of Just In Time AI, with an IT career that began in 1988 -- nearly four decades of experience. Over a decade of that career went into building ITProGuru into a 250,000-uniques/mo IT-community resource, and he now applies the same teach-first approach to AI systems that run real businesses. Full profile →