要开始使用 Mac 上的远程桌面Get started with Remote Desktop on Mac

适用于:Windows 10、Windows 8.1、Windows Server 2012 R2、Windows Server 2016Applies To: Windows 10, Windows 8.1, Windows Server 2012 R2, Windows Server 2016

可以使用 Mac 远程桌面客户端使用 Windows 应用、 资源和桌面从 Mac 计算机。You can use the Remote Desktop client for Mac to work with Windows apps, resources, and desktops from your Mac computer. 使用以下信息入门和查看常见问题解答,如果你有问题。Use the following information to get started - and check out the FAQ if you have questions.

备注

  • 好奇 macOS 客户端在新版本?Curious about the new releases for the macOS client? 请查看在 Mac 上的远程桌面的新增功能?Check out What's new for Remote Desktop on Mac?
  • Mac 客户端运行 macOS 10.10 和更高版本的计算机上运行。The Mac client runs on computers running macOS 10.10 and newer.
  • 本文中的信息主要适用于 Mac 客户端的 Mac 应用中可用的版本的完整版。The information in this article applies primarily to the full version of the Mac client - the version available in the Mac AppStore. 通过下载我们的预览应用测试新功能: beta 版客户端发行说明Test-drive new features by downloading our preview app here: beta client release notes.

获取远程桌面客户端Get the Remote Desktop client

请按照以下步骤开始使用远程桌面在 Mac 上:Follow these steps to get started with Remote Desktop on your Mac:

  1. Mac 应用应用商店中下载 Microsoft 远程桌面客户端。Download the Microsoft Remote Desktop client from the Mac App Store.
  2. 设置为接受远程连接的电脑Set up your PC to accept remote connections. (如果你跳过此步骤中,你无法连接到你的电脑。)(If you skip this step, you can't connect to your PC.)
  3. 添加远程桌面连接或远程资源。Add a Remote Desktop connection or a remote resource. 使用连接直接连接到 Windows 电脑和远程资源使用 RemoteApp 程序、 基于会话的桌面或虚拟桌面发布在本地使用 RemoteApp 和桌面连接。You use a connection to connect directly to a Windows PC and a remote resource to use a RemoteApp program, session-based desktop, or a virtual desktop published on-premises using RemoteApp and Desktop Connections. 此功能在企业环境中通常可用。This feature is typically available in corporate environments.

Mac beta 版客户端呢?What about the Mac beta client?

我们在上 HockeyApp 我们预览通道上测试新功能。We're testing new features on our preview channel on HockeyApp. 想要查看它?Want to check it out? 转到Microsoft 远程桌面的 Mac并单击下载Go to Microsoft Remote Desktop for Mac and click Download. 你无需创建帐户或登录到 HockeyApp 下载 beta 版客户端。You don't need to create an account or sign into HockeyApp to download the beta client.

如果你已经有了客户端,你可以检查更新,确保你有最新版本。If you already have the client, you can check for updates to ensure you have the latest version. 在 beta 版客户端,在顶部,单击Microsoft 远程桌面 beta 版,然后单击检查更新In the beta client, click Microsoft Remote Desktop Beta at the top, and then click Check for updates.

添加远程桌面连接Add a Remote Desktop connection

若要创建远程桌面连接:To create a remote desktop connection:

  1. 在连接中心中,单击+,然后单击桌面In the Connection Center, click +, and then click Desktop.
  2. 输入以下信息:Enter the following information:

    • 电脑名称-计算机的名称。PC name - the name of the computer.
      • 这可以是 (在系统设置中找到) 的 Windows 计算机名称、 域名或 IP 地址。This can be a Windows computer name (found in the System settings), a domain name, or an IP address.
      • 你还可以添加到此名称,如MyDesktop:3389末尾的端口信息。You can also add port information to the end of this name, like MyDesktop:3389.
    • 用户帐户-添加你用来访问远程电脑的用户帐户。User Account - Add the user account you use to access the remote PC.
      • 对于计算机或本地帐户,已加入 Active Directory (AD),使用以下格式之一:用户名用户名user_name@domain.comFor Active Directory (AD) joined computers or local accounts, use one of these formats: user_name, domain\user_name, or user_name@domain.com.
      • 对于 Azure Active Directory (AAD) 加入的计算机,使用以下格式之一: AzureAD\user_nameAzureAD\ user_name@domain.comFor Azure Active Directory (AAD) joined computers, use one of these formats: AzureAD\user_name or AzureAD\user_name@domain.com.
      • 你还可以选择是否要求输入密码。You can also choose whether to require a password.
      • 当管理具有相同的用户名称的多个用户帐户,设置区分帐户的友好名称。When managing multiple user accounts with the same user name, set a friendly name to differentiate the accounts.
      • 你保存中管理用户帐户的应用的首选项。Manage your saved user accounts in the preferences of the app.
  3. 你还可以设置用于连接这些可选设置:You can also set these optional settings for the connection:

    • 设置一个友好名称Set a friendly name
    • 添加网关Add a Gateway
    • 设置声音输出Set the sound output
    • 交换鼠标按钮Swap mouse buttons
    • 启用管理员模式Enable Admin Mode
    • 将本地文件夹重定向到远程会话Redirect local folders into a remote session
    • 向前本地打印机Forward local printers
    • 向前智能卡Forward Smart Cards
  4. 单击保存Click Save.

若要启动连接,只需双击它。To start the connection, just double-click it. 同样适用于远程资源。The same is true for remote resources.

导出和导入连接Export and import connections

你可以导出远程桌面连接定义,并在另一台设备上使用。You can export a remote desktop connection definition and use it on a different device. 远程桌面将保存在不同。RDP 文件。Remote desktops are saved in separate .RDP files.

  1. 在连接中心中,右键单击远程桌面。In the Connection Center, right-click the remote desktop.
  2. 单击导出Click Export.
  3. 浏览到你想要保存的远程桌面的位置。RDP 文件。Browse to the location where you want to save the remote desktop .RDP file.
  4. 单击确定Click OK.

使用以下步骤导入远程桌面。RDP 文件。Use the following steps to import a remote desktop .RDP file.

  1. 在菜单栏上,单击文件 > 导入In the menu bar, click File > Import.
  2. 浏览到。RDP 文件。Browse to the .RDP file.
  3. 单击打开Click Open.

添加远程资源Add a remote resource

远程资源是 RemoteApp 程序、 基于会话的台式机和发布 RemoteApp 和桌面连接使用的虚拟机。Remote resources are RemoteApp programs, session-based desktops, and virtual desktops published using RemoteApp and Desktop Connections.

  • URL 显示链接到 RD Web 访问服务器,使你能够访问 RemoteApp 和桌面连接。The URL displays the link to the RD Web Access server that gives you access to RemoteApp and Desktop Connections.
  • 列出配置 RemoteApp 和桌面连接。The configured RemoteApp and Desktop Connections are listed.

若要添加的远程资源:To add a remote resource:

  1. 在连接中心中单击+,然后单击添加远程资源In the Connection Center click +, and then click Add Remote Resources.
  2. 输入远程资源的信息:Enter information for the remote resource:
    • 源的 URL -RD Web 访问服务器的 URL。Feed URL - The URL of the RD Web Access server. 这将告知客户端搜索与你的电子邮件地址关联的 RD Web 访问服务器还可以在此字段 – 中输入你的公司电子邮件帐户。You can also enter your corporate email account in this field – this tells the client to search for the RD Web Access Server associated with your email address.
    • 用户名-要用于你连接到 RD Web 访问服务器的用户名称。User name - The user name to use for the RD Web Access server you are connecting to.
    • 密码-RD Web 访问服务器你连接到使用的密码。Password - The password to use for the RD Web Access server you are connecting to.
  3. 单击保存Click Save.

将在连接中心中显示的远程资源。The remote resources will be displayed in the Connection Center.

连接到远程桌面网关访问内部资源Connect to an RD Gateway to access internal assets

远程桌面网关 (RD 网关),可以从任何位置连接到公司网络上的远程计算机在 Internet 上。A Remote Desktop Gateway (RD Gateway) lets you connect to a remote computer on a corporate network from anywhere on the Internet. 你可以创建和管理你的应用或设置新的桌面连接时的首选项中的网关。You can create and manage your gateways in the preferences of the app or while setting up a new desktop connection.

若要设置首选项中的新网关:To set up a new gateway in preferences:

  1. 在连接中心中,单击首选项 > 网关In the Connection Center, click Preferences > Gateways.
  2. 单击+ 按钮底部的表输入以下信息:Click the + button at the bottom of the table Enter the following information:
    • 服务器名称– 你想要用作网关计算机的名称。Server name – The name of the computer you want to use as a gateway. 这可以是 Windows 计算机名称、 Internet 域名或 IP 地址。This can be a Windows computer name, an Internet domain name, or an IP address. 你还可以添加端口信息的服务器名称 (例如: RDGateway:44310.0.0.1:443)。You can also add port information to the server name (for example: RDGateway:443 or 10.0.0.1:443).
    • 用户名-的用户名和密码用于连接到远程桌面网关。User name - The user name and password to be used for the Remote Desktop gateway you are connecting to. 你还可以选择使用连接凭据与用于远程桌面连接使用的相同的用户名和密码。You can also select Use connection credentials to use the same user name and password as those used for the remote desktop connection.

管理你的用户帐户Manage your user accounts

当你连接到桌面或远程资源时,可以保存从再次选择的用户帐户。When you connect to a desktop or remote resources, you can save the user accounts to select from again. 你可以通过使用远程桌面客户端管理用户帐户。You can manage your user accounts by using the Remote Desktop client.

若要创建新的用户帐户:To create a new user account:

  1. 在连接中心中,单击设置 > 帐户In the Connection Center, click Settings > Accounts.
  2. 单击添加用户帐户Click Add User Account.
  3. 输入以下信息:Enter the following information:
    • 用户名-用户保存与远程连接一起使用的名称。User Name - The name of the user to save for use with a remote connection. 你可以使用以下格式的任何输入的用户名: 用户名,域 \ 用户名,或 user_name@domain.com。You can enter the user name in any of the following formats: user_name, domain\user_name, or user_name@domain.com.
    • 密码-你指定的用户的密码。Password - The password for the user you specified. 你想要保存进行远程连接使用每个用户帐户需要有与之关联的密码。Every user account that you want to save to use for remote connections needs to have a password associated with it.
    • 友好名称-如果你使用不同的密码,使用相同的用户帐户设置区分这些用户帐户的友好名称。Friendly Name - If you are using the same user account with different passwords, set a friendly name to distinguish those user accounts.
  4. 点击保存、,然后点击设置Tap Save, and then tap Settings.

自定义显示分辨率Customize your display resolution

为远程桌面会话,你可以指定显示分辨率。You can specify the display resolution for the remote desktop session.

  1. 在连接中心中,单击首选项In the Connection Center, click Preferences.
  2. 单击分辨率Click Resolution.
  3. 单击+Click +.
  4. 输入分辨率高度和宽度,然后单击确定。Enter a resolution height and width, and then click OK.

若要删除分辨率,选择它,然后单击-To delete the resolution, select it, and then click -.

显示具有单独的空格如果你运行的 Mac OS X 10.9 并禁用中 Mavericks显示具有单独的空间(系统首选项 > 任务控件),你需要在使用相同的选项的远程桌面客户端中配置此设置。Displays have separate spaces If you are running Mac OS X 10.9 and disabled Displays have separate spaces in Mavericks (System Preferences > Mission Control), you need to configure this setting in the remote desktop client using the same option.

远程资源的驱动器重定向Drive redirection for remote resources

驱动器重定向支持远程资源,以便你可以将文件保存创建与远程应用程序本地到你 mac。Drive redirection is supported for remote resources, so that you can save files created with a remote application locally to your Mac. 重定向的文件夹始终是主目录远程会话中显示为网络驱动器。The redirected folder is always your home directory displayed as a network drive in the remote session.

备注

若要使用此功能,管理员将需要在服务器上设置相应的设置。In order to use this feature, the administrator needs to set the appropriate settings on the server.

在远程会话中使用键盘Use a keyboard in a remote session

Mac 键盘布局不同于 Windows 键盘布局。Mac keyboard layouts differ from the Windows keyboard layouts.

  • Mac 键盘的命令键等于 Windows 键。The Command key on the Mac keyboard equals the Windows key.
  • 若要执行在 Mac 使用命令按钮的操作,你将需要在 Windows 中使用的控件按钮 (例如: 复制 = Ctrl + C)。To perform actions that use the Command button on the Mac, you will need to use the control button in Windows (e.g.: Copy = Ctrl + C).
  • 功能键可以在会话中激活通过此外按下键 (例如: FN + F1)。The function keys can be activated in the session by pressing additionally the FN key (e.g.: FN + F1).
  • Mac 键盘上的空间栏的右侧 Alt 键等于 Windows 中的 Alt Gr/向右 Alt 键。The Alt key to the right of the space bar on the Mac keyboard equals the Alt Gr/right Alt key in Windows.

默认情况下,远程会话将作为正在运行客户端操作系统使用相同的键盘区域设置。By default, the remote session will use the same keyboard locale as the OS you're running the client on. (如果你 Mac 运行的 en-我们操作系统、 用于远程会话。(If your Mac is running an en-us OS, that will be used for the remote sessions as well. 如果未使用的操作系统键盘区域设置,则检查键盘的远程电脑上设置,并更改设置手动。If the OS keyboard locale is not used, check the keyboard setting on the remote PC and changing the setting manually. 请参阅有关键盘和区域设置的详细信息的远程桌面客户端常见问题解答See the Remote Desktop Client FAQ for more information about keyboards and locales.

支持远程桌面网关可插入身份验证和授权Support for Remote Desktop gateway pluggable authentication and authorization

Windows Server 2012 R2 中引入新身份验证方法、 远程桌面网关可插入身份验证和授权,为更大的灵活性的自定义的身份验证例程提供的支持。Windows Server 2012 R2 introduced support for a new authentication method, Remote Desktop Gateway pluggable authentication and authorization, which provides more flexibility for custom authentication routines. 你可以使用 Mac 客户端的现在此身份验证模型。You can now this authentication model with the Mac client.

重要

自定义身份验证和授权模型之前不支持 Windows 8.1,尽管上述文章讨论了它们。Custom authentication and authorization models before Windows 8.1 are not supported, although the article above discusses them.

若要了解有关此功能的详细信息,请查看http://aka.ms/paa-sampleTo learn more about this feature, check out http://aka.ms/paa-sample.

提示

问题和意见都欢迎。Questions and comments are always welcome. 但是,请不要不发布有关疑难解答帮助本文末尾使用注释功能的请求。However, please do NOT post a request for troubleshooting help by using the comment feature at the end of this article. 相反,请转到远程桌面客户端论坛和启动新线程。Instead, go to the Remote Desktop client forum and start a new thread. 有功能建议?Have a feature suggestion? 客户端用户语音论坛告知我们。Tell us in the client user voice forum.