AD

Please take a moment and help support this site by visiting our AD. Thank you for your support.

Tuesday, May 31, 2011

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.

how can you enable the Remote Desktop Virtualization Host?

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

No comments:

Post a Comment