VERKOOP: 1-800-867-1389
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

Using Remote Desktop with Azure Roles

Updated: April 17, 2014

By using the Azure SDK and Remote Desktop Services, you can access Azure roles and virtual machines that are hosted by Azure. In Visual Studio, you can configure Remote Desktop Services from an Azure project. To enable Remote Desktop Services, you must create a working project that contains one or more roles and then publish it to Azure.

ImportantImportant
You should access an Azure role for troubleshooting or development only. The purpose of each virtual machine is to run a specific role in your Azure application, not to run other client applications. If you want to use Azure to host a virtual machine that you can use for any purpose, see Accessing Azure Virtual Machines from Server Explorer.

  1. In Solution Explorer, open the shortcut menu for your project, and then choose Publish.

    Publish menu

    The Publish Wizard appears.

  2. At the bottom of Settings page of the wizard, select the Enable Remote Desktop for all roles check box.

  3. Click the Settings link.

  4. At the bottom of the Remote Desktop Configuration dialog box, choose the More Options button. This allows you to set up a certificate so that you can encrypt credentials information.

    A list appears and shows certificates that you can use to set up remote desktop connections.

  5. In the list, click <Create>, or choose one from the list. If you choose an existing certificate, skip the following steps.

    noteNote
    The certificates that you need for a remote desktop connection are different from the certificates that you use for other Azure operations. The remote access certificate must have a private key.

    The Create Certificate dialog box appears.

  6. Type a friendly name for the new certificate, and then click OK.

  7. In the Remote Desktop Configuration dialog box, type a user name and a password.

    You can’t use an existing account. Don’t specify Administrator as the user name for the new account.

    noteNote
    If the password doesn’t meet the complexity requirements, a red icon appears next to the password text box. The password must include capital letters, lowercase letters, and numbers or symbols.

  8. Choose a date on which the account will expire and after which remote desktop connections will be blocked.

  9. Click OK.

    Several settings that enable Remote Access Services are added to the .cscfg and .csdef files.

  10. In the AzurePublish Azure Application wizard, click OK when you’re ready to publish your cloud service.

    If you aren’t ready to publish, click Cancel. Your Remote Desktop configuration will still be saved, and you can publish your cloud service later.

  11. After you publish your cloud service, you can use Server Explorer to log into the virtual machines that Azure hosts. In Server Explorer, expand the Azure Compute node, and then expand the node for a cloud service and one of its roles to display a list of instances.

  12. Open the shortcut menu for an instance node, and then choose Connect Using Remote Desktop.

  13. Enter the user name and password that you created previously.

    You are now logged into your remote session.

See Also

Vindt u dit nuttig?
(1500 tekens resterend)
Bedankt voor uw feedback
Weergeven:
© 2014 Microsoft