A. You normally connect to Microsoft VDI environments through the Remote Desktop Web Access portal or the RemoteApp and Desktop Connections Windows component. There may be times, however, when you want a basic RDP file you can use and distribute manually.

The easiest way to get the RDP file is to use RemoteApp and Desktop Connections to publish the VDI pool to the desktop. You can then open the published RDP file for the pool (which will be in the folder C:\Users\<username>\AppData\Roaming\Microsoft\Workspaces\\\{<GUID>\\}\Resource).

If you need to create the RDP file manually, there are two key settings you need in the file to tell the connection that it's connecting to a VDI pool:

 
  • loadbalanceinfo:s:tsv://vmresource.1.<pool id>
  • use redirection server name:i:1

Below are the settings I have in my RDP file. You could use this as part of your own custom RDP.

<p>redirectclipboard:i:1<br> redirectposdevices:i:0<br> redirectprinters:i:1<br> redirectsmartcards:i:0<br> devicestoredirect:s:<br> drivestoredirect:s:<br> session bpp:i:32<br> allow font smoothing:i:1<br> promptcredentialonce:i:1<br> desktopwidth:i:1024<br> desktopheight:i:768<br> keyboardhook:i:1<br> videoplaybackmode:i:1<br> audiocapturemode:i:0<br> gatewayusagemethod:i:2<br> gatewayprofileusagemethod:i:0<br> gatewaycredentialssource:i:0<br> full address:s:<RDSH in redirection mode name><br> alternate shell:s:<br> gatewayhostname:s:<br> screen mode id:i:1<br> workspace id:s:<RDSH in redirection mode name><br> use redirection server name:i:1<br> loadbalanceinfo:s:tsv://vmresource.1.<VDI Pool ID><br> use multimon:i:0<br> connection type:i:6<br> alternate full address:s:<RDSH in redirection mode name><br> signscope:s:Full Address,Alternate Full Address,Use Redirection Server Name,GatewayHostname,GatewayUsageMethod,GatewayProfileUsageMethod,GatewayCredentialsSource,PromptCredentialOnce,Alternate Shell,RedirectPrinters,RedirectSmartCards,RedirectPOSDevices,RedirectClipboard,DevicesToRedirect,DrivesToRedirect,LoadBalanceInfo</p>