Welcome to TechNet Blogs Sign in | Join | Help

Matthijs's blog

Virtualization tools and stuff.

By Matthijs ten Seldam

News

  • Welcome to my blog on
  • VMRCplus
  • ,
  • VMC2HV
  • and other things related to Microsoft server virtualization.

    I am a Partner Technology Specialist focused on virtualization which includes server virtualization and all infrastructure management aspects.



    The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion.
Using Hyper-V Server 2008 R2 for VDI

When configuring a Virtual Desktop Infrastructure using Remote Desktop Services in Windows Server 2008 R2, you need the Remote Desktop Virtualization Host role service. Enabling that on a Windows Server 2008 R2 system with the Full UI  is rather straightforward.

But I could not quickly find what to enable on Hyper-V Server. As we clearly state on the Hyper-V Server home page, Hyper-V Server 2008 R2 is ideally suited for VDI. But how can you enable the Remote Desktop Virtualization Host?

It turned out to be quite simple once you know what to look for (isn’t that common).

When you search for the available features on Hyper-V Server you can use DISM. For example “dism /online /Get-Features /Format:table”. This may give the following output:

image

 

Now I did not find the Remote Desktop Virtualization Host feature in this list :-). Through PowerShell however, I found out it to be the VmHostAgent feature.

I had the Server Manager cmdlets installed on the Hyper-V Server host. This gives a much more readable output of features. This is what I used in PowerShell:

Import-Module ServerManager

Get-WindowsFeature

image

Now you can see the Remote Desktop Virtualization Host feature with a Name of RDS-Virtualization.

 

Enabling the feature is now simple.

DISM

dism /online /Enable-Feature /FeatureName:VmHostAgent

! Make sure you type VmHostAgent with correct casing !

 

PowerShell

Add-WindowsFeature –Name RDS-Virtualization

Posted: Tuesday, September 15, 2009 3:41 PM by matthts

Comments

No Comments

Anonymous comments are disabled
Page view tracker