針對 Azure 虛擬機器的遠端桌面連線進行疑難排解Troubleshoot Remote Desktop connections to an Azure virtual machine

有各式各樣的原因可能導致 Windows 型 Azure 虛擬機器 (VM) 的遠端桌面通訊協定 (RDP) 連線失敗,讓您無法存取您的 VM。The Remote Desktop Protocol (RDP) connection to your Windows-based Azure virtual machine (VM) can fail for various reasons, leaving you unable to access your VM. 問題可能與 VM 上的遠端桌面服務、網路連線或主機電腦上的遠端桌面用戶端有關。The issue can be with the Remote Desktop service on the VM, the network connection, or the Remote Desktop client on your host computer. 本文將引導您完成一些可解決 RDP 連線問題的最常見方法。This article guides you through some of the most common methods to resolve RDP connection issues.

如果您在本文中有任何需要協助的地方,您可以連絡 MSDN Azure 和 Stack Overflow 論壇上的 Azure 專家。If you need more help at any point in this article, you can contact the Azure experts on the MSDN Azure and Stack Overflow forums. 或者,您可以提出 Azure 支援事件。Alternatively, you can file an Azure support incident. 請移至 Azure 支援網站,然後選取 [取得支援]。Go to the Azure support site and select Get Support.

快速疑難排解步驟Quick troubleshooting steps

在完成每個疑難排解步驟之後,請嘗試重新連接到 VM:After each troubleshooting step, try reconnecting to the VM:

  1. 重設遠端桌面組態。Reset Remote Desktop configuration.
  2. 檢查網路安全性群組規則 / 雲端服務端點。Check Network Security Group rules / Cloud Services endpoints.
  3. 檢閱 VM 主控台記錄。Review VM console logs.
  4. 重設 VM 的 NIC。Reset the NIC for the VM.
  5. 檢查 VM 資源健康狀態。Check the VM Resource Health.
  6. 重設您的 VM 密碼。Reset your VM password.
  7. 重新啟動您的 VM。Restart your VM.
  8. 重新部署您的 VM。Redeploy your VM.

如果您需要更詳細的步驟與說明,請繼續閱讀。Continue reading if you need more detailed steps and explanations. 請確認區域網路設備 (例如路由器和防火牆) 沒有封鎖輸出 TCP 連接埠 3389,如詳細的 RDP 疑難排解案例中所述。Verify that local network equipment such as routers and firewalls are not blocking outbound TCP port 3389, as noted in detailed RDP troubleshooting scenarios.

提示

如果 VM 的 [連接] 按鈕呈現灰色,而且您未透過 Express Route網站間 VPN 連線來連接 Azure,您就必須先建立 VM 並為其指派公用 IP 位址,才能使用 RDP。If the Connect button for your VM is grayed out in the portal and you are not connected to Azure via an Express Route or Site-to-Site VPN connection, you need to create and assign your VM a public IP address before you can use RDP. 您可以深入了解 Azure 中的公用 IP 位址You can read more about public IP addresses in Azure.

針對 RDP 問題進行疑難排解的方法Ways to troubleshoot RDP issues

您可以使用下列其中一種方法,針對使用 Resource Manager 部署模型建立的 VM 進行疑難排解:You can troubleshoot VMs created using the Resource Manager deployment model by using one of the following methods:

  • Azure 入口網站 - 適用於您需要快速重設 RDP 組態或使用者認證,而且未安裝 Azure 工具時。Azure portal - great if you need to quickly reset the RDP configuration or user credentials and you don't have the Azure tools installed.
  • Azure PowerShell - 如果您已熟悉 PowerShell 提示字元,請使用 Azure PowerShell Cmdlet 快速重設 RDP 組態或使用者認證。Azure PowerShell - if you are comfortable with a PowerShell prompt, quickly reset the RDP configuration or user credentials using the Azure PowerShell cmdlets.

您也可以找到有關針對使用傳統部署模型建立的 VM 進行疑難排解的步驟。You can also find steps on troubleshooting VMs created using the Classic deployment model.

使用 Azure 入口網站進行疑難排解Troubleshoot using the Azure portal

在每個疑難排解步驟完成之後,請再次嘗試連接到 VM。After each troubleshooting step, try connecting to your VM again. 如果仍然無法連線,請嘗試下一個步驟。If you still cannot connect, try the next step.

  1. 重設您的 RDP 連線Reset your RDP connection. 當遠端連線已停用或 Windows 防火牆規則封鎖 RDP 時,此疑難排解步驟可重設 RDP 組態。This troubleshooting step resets the RDP configuration when Remote Connections are disabled or Windows Firewall rules are blocking RDP, for example.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [重設密碼] 按鈕。Click the Reset password button. 將 [模式] 設定為 [只重設組態],然後按一下 [更新] 按鈕︰Set the Mode to Reset configuration only and then click the Update button:

    重設 Azure 入口網站中的 R D P 設定。

  2. 確認網路安全性群組規則Verify Network Security Group rules. 使用 IP 流量驗證來確認網路安全性群組中的規則是否會封鎖虛擬機器的輸入或輸出流量。Use IP flow verify to confirm if a rule in a Network Security Group is blocking traffic to or from a virtual machine. 您也可以檢閱有效的安全性群組規則,以確保輸入「允許」NSG 規則存在並已針對 RDP 連接埠 (預設值 3389) 設定優先順序。You can also review effective security group rules to ensure inbound "Allow" NSG rule exists and is prioritized for RDP port(default 3389). 如需詳細資訊,請參閱使用有效安全性規則對 VM 流量流程進行疑難排解For more information, see Using Effective Security Rules to troubleshoot VM traffic flow.

  3. 檢閱 VM 開機診斷Review VM boot diagnostics. 此疑難排解步驟可檢閱 VM 主控台記錄,以判斷 VM 是否報告問題。This troubleshooting step reviews the VM console logs to determine if the VM is reporting an issue. 並非所有 VM 都已啟用開機診斷,所以此疑難排解步驟可能是選擇性的。Not all VMs have boot diagnostics enabled, so this troubleshooting step may be optional.

    特定疑難排解步驟已超出本文的範圍,但可能指出會影響 RDP 連線的更廣問題。Specific troubleshooting steps are beyond the scope of this article, but may indicate a wider problem that is affecting RDP connectivity. 如需有關檢閱主控台記錄和 VM 螢幕擷取畫面的詳細資訊,請參閱 VM 的開機診斷For more information on reviewing the console logs and VM screenshot, see Boot Diagnostics for VMs.

  4. 重設 VM 的 NICReset the NIC for the VM. 如需詳細資訊,請參閱如何重設 Azure Windows VM 的 NICFor more information, see how to reset NIC for Azure Windows VM.

  5. 檢查 VM 資源健康狀態Check the VM Resource Health. 此疑難排解步驟可確認 Azure 平台沒有任何可能影響 VM 連線的已知問題。This troubleshooting step verifies there are no known issues with the Azure platform that may impact connectivity to the VM.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [資源健康狀態] 按鈕。Click the Resource health button. 狀況良好的 VM 會報告為 [可用]:A healthy VM reports as being Available:

    檢查 Azure 入口網站中的 V M 資源健康狀態。

  6. 重設使用者認證Reset user credentials. 當您不確定或忘了認證時,此疑難排解步驟可重設本機系統管理員帳戶的密碼。This troubleshooting step resets the password on a local administrator account when you are unsure or have forgotten the credentials. 您登入 VM 後,應重設該使用者的密碼。Once you have logged into the VM, you should reset the password for that user.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [重設密碼] 按鈕。Click the Reset password button. 確定 [模式] 已設為 [重設密碼],然後輸入您的使用者名稱和新密碼。Make sure the Mode is set to Reset password and then enter your username and a new password. 最後,按一下 [更新] 按鈕:Finally, click the Update button:

    重設 Azure 入口網站中的使用者認證。

  7. 重新啟動您的 VMRestart your VM. 此疑難排解步驟可以修正 VM 本身具有的任何基礎問題。This troubleshooting step can correct any underlying issues the VM itself is having.

    在 Azure 入口網站中選取您的 VM,按一下 [概觀] 索引標籤。按一下 [重新啟動] 按鈕︰Select your VM in the Azure portal and click the Overview tab. Click the Restart button:

    重新開機 Azure 入口網站中的 V M。

  8. 重新部署您的 VMRedeploy your VM. 此疑難排解步驟可將您的 VM 重新部署至 Azure 內的另一部主機,以更正任何基礎平台或網路問題。This troubleshooting step redeploys your VM to another host within Azure to correct any underlying platform or networking issues.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [重新部署] 按鈕,然後再按一下 [重新部署]:Click the Redeploy button, and then click Redeploy:

    在 Azure 入口網站中重新部署 VM

    此作業完成之後,會遺失暫時磁碟資料,並且會更新與 VM 相關聯的動態 IP 位址。After this operation finishes, ephemeral disk data is lost and dynamic IP addresses that are associated with the VM are updated.

  9. 確認路由Verify routing. 使用網路監看員的下一個躍點功能,確認路由不會防止流量從虛擬機器往返路由傳送。Use Network Watcher's Next hop capability to confirm that a route isn't preventing traffic from being routed to or from a virtual machine. 您也可以檢閱有效路由,以查看網路介面的所有有效路由。You can also review effective routes to see all effective routes for a network interface. 如需詳細資訊,請參閱使用有效路由來針對 VM 流量流程進行疑難排解For more information, see Using effective routes to troubleshoot VM traffic flow.

  10. 確保任何內部部署防火牆或您電腦上的防火牆允許對 Azure 輸出 TCP 3389 流量。Ensure that any on-premises firewall, or firewall on your computer, allows outbound TCP 3389 traffic to Azure.

如果您仍然遇到 RDP 問題,可以開啟支援要求或閱讀更詳細的 RDP 疑難排解概念和步驟If you are still encountering RDP issues, you can open a support request or read more detailed RDP troubleshooting concepts and steps.

使用 Azure PowerShell 進行疑難排解Troubleshoot using Azure PowerShell

如果您尚未這樣做,請參閱 安裝並設定最新的 Azure PowerShellIf you haven't already, install and configure the latest Azure PowerShell.

下列範例使用 myResourceGroup``myVMmyVMAccessExtension 等變數。The following examples use variables such as myResourceGroup, myVM, and myVMAccessExtension. 以您自己的值取代這些變數名稱和位置。Replace these variable names and locations with your own values.

注意

您可以使用 Set-AzVMAccessExtension (英文) PowerShell Cmdlet 來重設使用者認證和 RDP 設定。You reset the user credentials and the RDP configuration by using the Set-AzVMAccessExtension PowerShell cmdlet. 在下列範例中,myVMAccessExtension 是您指定為程序一部分的名稱。In the following examples, myVMAccessExtension is a name that you specify as part of the process. 如果您先前使用了 VMAccessAgent,則可以使用 Get-AzVM -ResourceGroupName "myResourceGroup" -Name "myVM" 來檢查 VM 的屬性,以取得現有擴充功能的名稱。If you have previously worked with the VMAccessAgent, you can get the name of the existing extension by using Get-AzVM -ResourceGroupName "myResourceGroup" -Name "myVM" to check the properties of the VM. 請查看輸出的 'Extensions' 區段底下來檢視名稱。To view the name, look under the 'Extensions' section of the output.

在每個疑難排解步驟完成之後,請再次嘗試連接到 VM。After each troubleshooting step, try connecting to your VM again. 如果仍然無法連線,請嘗試下一個步驟。If you still cannot connect, try the next step.

  1. 重設您的 RDP 連線Reset your RDP connection. 當遠端連線已停用或 Windows 防火牆規則封鎖 RDP 時,此疑難排解步驟可重設 RDP 組態。This troubleshooting step resets the RDP configuration when Remote Connections are disabled or Windows Firewall rules are blocking RDP, for example.

    下列範例會在位於 WestUS 且名為 myResourceGroup 的資源群組中名為 myVM 的 VM 上重設 RDP 連線:The follow example resets the RDP connection on a VM named myVM in the WestUS location and in the resource group named myResourceGroup:

    Set-AzVMAccessExtension -ResourceGroupName "myResourceGroup" `
        -VMName "myVM" -Location Westus -Name "myVMAccessExtension"
    
  2. 確認網路安全性群組規則Verify Network Security Group rules. 此疑難排解步驟可確認您有可允許 RDP 流量的網路安全性群組規則。This troubleshooting step verifies that you have a rule in your Network Security Group to permit RDP traffic. RDP 的預設連接埠是 TCP 連接埠 3389。The default port for RDP is TCP port 3389. 當您建立您的 VM 時,可能不會自動建立可允許 RDP 流量的規則。A rule to permit RDP traffic may not be created automatically when you create your VM.

    首先,將網路安全性群組的所有組態資料指派給 $rules 變數。First, assign all the configuration data for your Network Security Group to the $rules variable. 下列範例會在名為 myResourceGroup 的資源群組中取得名為 myNetworkSecurityGroup 的網路安全性群組相關資訊:The following example obtains information about the Network Security Group named myNetworkSecurityGroup in the resource group named myResourceGroup:

    $rules = Get-AzNetworkSecurityGroup -ResourceGroupName "myResourceGroup" `
        -Name "myNetworkSecurityGroup"
    

    現在,檢視針對此網路安全性群組設定的規則。Now, view the rules that are configured for this Network Security Group. 確認存在一個規則可允許 TCP 連接埠 3389 進行輸入連線,如下所示︰Verify that a rule exists to allow TCP port 3389 for inbound connections as follows:

    $rules.SecurityRules
    

    下列範例顯示可允許 RDP 流量的有效安全性規則。The following example shows a valid security rule that permits RDP traffic. 您可以看到 ProtocolDestinationPortRangeAccessDirection 已正確設定︰You can see Protocol, DestinationPortRange, Access, and Direction are configured correctly:

    Name                     : default-allow-rdp
    Id                       : /subscriptions/guid/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkSecurityGroups/myNetworkSecurityGroup/securityRules/default-allow-rdp
    Etag                     : 
    ProvisioningState        : Succeeded
    Description              : 
    Protocol                 : TCP
    SourcePortRange          : *
    DestinationPortRange     : 3389
    SourceAddressPrefix      : *
    DestinationAddressPrefix : *
    Access                   : Allow
    Priority                 : 1000
    Direction                : Inbound
    

    如果您沒有可允許 RDP 流量的規則,請建立網路安全性群組規則If you do not have a rule that allows RDP traffic, create a Network Security Group rule. 允許 TCP 連接埠 3389。Allow TCP port 3389.

  3. 重設使用者認證Reset user credentials. 當您不確定或忘了認證時,此疑難排解步驟可重設您指定之本機系統管理員帳戶的密碼。This troubleshooting step resets the password on the local administrator account that you specify when you are unsure of, or have forgotten, the credentials.

    首先,藉由將認證指派給 $cred 變數,以指定使用者名稱和新密碼,如下所示︰First, specify the username and a new password by assigning credentials to the $cred variable as follows:

    $cred=Get-Credential
    

    現在,更新 VM 上的認證。Now, update the credentials on your VM. 下列範例會在位於 WestUS 且名為 myResourceGroup 的資源群組中名為 myVM 的 VM 上更新認證:The following example updates the credentials on a VM named myVM in the WestUS location and in the resource group named myResourceGroup:

    Set-AzVMAccessExtension -ResourceGroupName "myResourceGroup" `
        -VMName "myVM" -Location WestUS -Name "myVMAccessExtension" `
        -UserName $cred.GetNetworkCredential().Username `
        -Password $cred.GetNetworkCredential().Password
    
  4. 重新啟動您的 VMRestart your VM. 此疑難排解步驟可以修正 VM 本身具有的任何基礎問題。This troubleshooting step can correct any underlying issues the VM itself is having.

    下列範例會重新啟動名為 myResourceGroup 的資源群組中名為 myVM 的 VM:The following example restarts the VM named myVM in the resource group named myResourceGroup:

    Restart-AzVM -ResourceGroup "myResourceGroup" -Name "myVM"
    
  5. 重新部署您的 VMRedeploy your VM. 此疑難排解步驟可將您的 VM 重新部署至 Azure 內的另一部主機,以更正任何基礎平台或網路問題。This troubleshooting step redeploys your VM to another host within Azure to correct any underlying platform or networking issues.

    下列範例會重新部署位於 WestUS 且名為 myResourceGroup 的資源群組中名為 myVM 的 VM:The following example redeploys the VM named myVM in the WestUS location and in the resource group named myResourceGroup:

    Set-AzVM -Redeploy -ResourceGroupName "myResourceGroup" -Name "myVM"
    
  6. 確認路由Verify routing. 使用網路監看員的下一個躍點功能,確認路由不會防止流量從虛擬機器往返路由傳送。Use Network Watcher's Next hop capability to confirm that a route isn't preventing traffic from being routed to or from a virtual machine. 您也可以檢閱有效路由,以查看網路介面的所有有效路由。You can also review effective routes to see all effective routes for a network interface. 如需詳細資訊,請參閱使用有效路由來針對 VM 流量流程進行疑難排解For more information, see Using effective routes to troubleshoot VM traffic flow.

  7. 確保任何內部部署防火牆或您電腦上的防火牆允許對 Azure 輸出 TCP 3389 流量。Ensure that any on-premises firewall, or firewall on your computer, allows outbound TCP 3389 traffic to Azure.

如果您仍然遇到 RDP 問題,可以開啟支援要求或閱讀更詳細的 RDP 疑難排解概念和步驟If you are still encountering RDP issues, you can open a support request or read more detailed RDP troubleshooting concepts and steps.

針對使用傳統部署模型建立的 VM 進行疑難排解Troubleshoot VMs created using the Classic deployment model

重要

傳統 VM 將於 2023 年 3 月 1 日淘汰。Classic VMs will be retired on March 1, 2023.

如果您使用來自 ASM 的 IaaS 資源,請在 2023 年 3 月 1 日前完成移轉。If you use IaaS resources from ASM, please complete your migration by March 1, 2023. 我們鼓勵您及早切換,以利用 Azure Resource Manager 的許多功能增強功能。We encourage you to make the switch sooner to take advantage of the many feature enhancements in Azure Resource Manager.

如需詳細資訊,請參閱請於 2023 年 3 月 1 日之前將您的 IaaS 資源遷移至 Azure Resource ManagerFor more information, see Migrate your IaaS resources to Azure Resource Manager by March 1, 2023.

在每個疑難排解步驟完成之後,請嘗試重新連接到 VM。After each troubleshooting step, try reconnecting to the VM.

  1. 重設您的 RDP 連線Reset your RDP connection. 當遠端連線已停用或 Windows 防火牆規則封鎖 RDP 時,此疑難排解步驟可重設 RDP 組態。This troubleshooting step resets the RDP configuration when Remote Connections are disabled or Windows Firewall rules are blocking RDP, for example.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 按一下 [...更多] 按鈕,然後按一下 [重設遠端存取]:Click the ...More button, then click Reset Remote Access:

    使用傳統部署模型重設 V M 的 Azure 入口網站中的 R D P 設定。

  2. 確認雲端服務端點Verify Cloud Services endpoints. 此疑難排解步驟可確認您的雲端服務中有可允許 RDP 流量的端點。This troubleshooting step verifies that you have endpoints in your Cloud Services to permit RDP traffic. RDP 的預設連接埠是 TCP 連接埠 3389。The default port for RDP is TCP port 3389. 當您建立您的 VM 時,可能不會自動建立可允許 RDP 流量的規則。A rule to permit RDP traffic may not be created automatically when you create your VM.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 按一下 [端點] 按鈕,以檢視目前為您的 VM 設定的端點。Click the Endpoints button to view the endpoints currently configured for your VM. 確認存在可允許 TCP 連接埠 3389 上 RDP 流量的端點。Verify that endpoints exist that allow RDP traffic on TCP port 3389.

    下列範例顯示可允許 RDP 流量的有效端點:The following example shows valid endpoints that permit RDP traffic:

    使用傳統部署模型來確認 Azure 入口網站中的雲端服務端點。

    如果您沒有可允許 RDP 流量的端點,請建立雲端服務端點If you do not have an endpoint that allows RDP traffic, create a Cloud Services endpoint. 允許使用 TCP 連接至私人連接埠 3389。Allow TCP to private port 3389.

  3. 檢閱 VM 開機診斷Review VM boot diagnostics. 此疑難排解步驟可檢閱 VM 主控台記錄,以判斷 VM 是否報告問題。This troubleshooting step reviews the VM console logs to determine if the VM is reporting an issue. 並非所有 VM 都已啟用開機診斷,所以此疑難排解步驟可能是選擇性的。Not all VMs have boot diagnostics enabled, so this troubleshooting step may be optional.

    特定疑難排解步驟已超出本文的範圍,但可能指出會影響 RDP 連線的更廣問題。Specific troubleshooting steps are beyond the scope of this article, but may indicate a wider problem that is affecting RDP connectivity. 如需有關檢閱主控台記錄和 VM 螢幕擷取畫面的詳細資訊,請參閱 VM 的開機診斷For more information on reviewing the console logs and VM screenshot, see Boot Diagnostics for VMs.

  4. 檢查 VM 資源健康狀態Check the VM Resource Health. 此疑難排解步驟可確認 Azure 平台沒有任何可能影響 VM 連線的已知問題。This troubleshooting step verifies there are no known issues with the Azure platform that may impact connectivity to the VM.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [資源健康狀態] 按鈕。Click the Resource Health button. 狀況良好的 VM 會報告為 [可用]:A healthy VM reports as being Available:

    使用傳統部署模型檢查 M m 的 Azure 入口網站中的 V m 資源健康狀態。

  5. 重設使用者認證Reset user credentials. 當您不確定或忘了認證時,此疑難排解步驟可重設您指定之本機系統管理員帳戶的密碼。This troubleshooting step resets the password on the local administrator account that you specify when you are unsure or have forgotten the credentials. 您登入 VM 後,應重設該使用者的密碼。Once you have logged into the VM, you should reset the password for that user.

    在 Azure 入口網站中選取您的 VM。Select your VM in the Azure portal. 向下捲動至 [設定] 窗格中接近清單底部的 [支援 + 疑難排解] 區段。Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. 按一下 [重設密碼] 按鈕。Click the Reset password button. 輸入您的使用者名稱和新密碼。Enter your username and a new password. 最後,按一下 [儲存] 按鈕:Finally, click the Save button:

    使用傳統部署模型重設 V M 中 Azure 入口網站的使用者認證。

  6. 重新啟動您的 VMRestart your VM. 此疑難排解步驟可以修正 VM 本身具有的任何基礎問題。This troubleshooting step can correct any underlying issues the VM itself is having.

    在 Azure 入口網站中選取您的 VM,按一下 [概觀] 索引標籤。按一下 [重新啟動] 按鈕︰Select your VM in the Azure portal and click the Overview tab. Click the Restart button:

    使用傳統部署模型,重新開機 Azure 入口網站中的 V m。

  7. 確保任何內部部署防火牆或您電腦上的防火牆允許對 Azure 輸出 TCP 3389 流量。Ensure that any on-premises firewall, or firewall on your computer, allows outbound TCP 3389 traffic to Azure.

如果您仍然遇到 RDP 問題,可以開啟支援要求或閱讀更詳細的 RDP 疑難排解概念和步驟If you are still encountering RDP issues, you can open a support request or read more detailed RDP troubleshooting concepts and steps.

針對特定 RDP 錯誤進行疑難排解Troubleshoot specific RDP errors

嘗試透過 RDP 連接到您的 VM 時,您可能會遇到特定的錯誤訊息。You may encounter a specific error message when trying to connect to your VM via RDP. 以下是最常見的錯誤訊息:The following are the most common error messages:

其他資源Additional resources

如果這些錯誤皆未發生,而您仍然無法透過「遠端桌面」連接到 VM,請閱讀詳細的 遠端桌面疑難排解指南If none of these errors occurred and you still can't connect to the VM via Remote Desktop, read the detailed troubleshooting guide for Remote Desktop.