Create a Remote Desktop Protocol File
Updated: April 13, 2011
To configure a remote desktop connection, you need the following information for the Remote Desktop Protocol (RDP) file:
-
URL of the hosted service
-
Role name
-
Role instance name
The easiest way to create an RDP file is to open the Remote Desktop Connection dialog box, enter the URL of the hosted service, save the connection settings, and then edit the RDP file to include the load balancer setting.
-
Click Start, click All Programs, click Accessories, and then click Remote Desktop Connection.
-
In the Computer text box, type the URL for the hosted service.
-
Expand Options, and click Save or click Save As. Clicking Save puts a file called Default.rdp on the desktop.
-
Open the .rdp file using Notepad.
-
Add the following line to the end of the file:
LoadBalanceInfo:s:Cookie: mstshash=<RoleName>#<RoleInstanceName>#Microsoft.WindowsAzure.Plugins.RemoteAccess.Rdp
Change the <RoleName> and the <RoleInstanceName> to match those that are defined in your hosted service.
Note A space must exist between the colon after Cookie and the mstshash parameter and the line must not contain trailing spaces.
See Also