VDI Redirection not working -- RDP connects to host server, not the VM's
-
Friday, November 16, 2012 4:51 PM
Hi.
I have a set up a WinServer 2012 environment to test VDI. This deployment will be for personal virtual desktops which are assigned to specific users, not pooled VM's.
I have a Hyper-V server "Win2012-HyperV", where there is one Virtual Machine created. This VM is named "vmRob.mydomain.local". I installed Windows 7, joined the virtual PC to the domain with the computer name "vmRob.mydomain.local".
I also have a Broker server set up, "Win2012-Broker", with all the requisite Server Roles (I think).
I created a virtual machine "collection", and added "vmRob.mydomain.local" to it. I assigned the VM to a domain user "rsmith".
All servers are added to my domain. I can go to the Hyper-V server and start the VM.Now, I go to another PC, and run mstsc.exe (Remote Desktop Connection). I want to connect to "vmRob", not the Broker server itself. In RDC, I specify the computer "Broker2012" and the user name "mydomain\rsmith". When RDC connects, it displays the Broker's desktop -- the user "rsmith" is not being "redirected" towards the Virtual Machine.
The Broker should start the VM "vmRob" on the Hyper-V server and display that back to the RDC client. I had it working in WinServer 2008 R2, but I am missing something in 2012... I should note that I do not have the Session Host role installed -- I have been led to believe that it is not required, unless I am doing pooled VM's.
Any suggestions?
Thanks.- Moved by Lawrence LvMicrosoft Contingent Staff, Moderator Monday, November 19, 2012 8:26 AM (From:Hyper-V)
All Replies
-
Tuesday, November 20, 2012 3:10 AMModerator
Hi,
To enable the broker to redirect you to the assigned VM you need to have certain settings in the .rdp file you use to connect. If you use RDWeb or RemoteApp and Desktop Connections to connect to the VM these settings will be there automatically. The path to RDWeb is https://broker2012.yourdomain.local/rdweb.
One way to obtain the .rdp file is to log on to RDWeb using a browser other than IE (example: Firefox), click on the icon and choose Save As to save it to your desktop or other location. Another way is to set up the RemoteApp and Desktop Connections on the client PC and then use/copy the .rdp file that is automatically saved to your local PC. You may find the path to the .rdp file by right-clicking on the shortcut under RemoteApp and Desktop Connections off of the Start Menu.
-TP
- Marked As Answer by Lawrence LvMicrosoft Contingent Staff, Moderator Thursday, November 29, 2012 8:45 AM
-
Thursday, November 29, 2012 2:15 PM
Thanks, that worked.
That got me the "missing" settings that you apparently can't set using the Remote Desktop Connection GUI. Here's what the RDP file from the RDWeb page looks like ...
redirectclipboard:i:1
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
devicestoredirect:s:*
drivestoredirect:s:*
redirectdrives:i:1
session bpp:i:32
prompt for credentials on client:i:1
server port:i:3389
allow font smoothing:i:1
promptcredentialonce:i:0
videoplaybackmode:i:1
audiocapturemode:i:1
gatewayusagemethod:i:0
gatewayprofileusagemethod:i:1
gatewaycredentialssource:i:0
full address:s:MYBROKER.MYDOMAIN.LOCAL
workspace id:s:MYBROKER.MYDOMAIN.LOCAL
use redirection server name:i:1
loadbalanceinfo:s:tsv://VMResource.1.vdcollection1
use multimon:i:1

