|
| 1 | +--- |
| 2 | +title: Troubleshoot and Repair Dev Box RDP Connectivity Issues |
| 3 | +description: Having problems connecting to your dev box remotely? Learn how to troubleshoot and resolve connectivity issues to your dev box with developer portal tools. |
| 4 | +author: RoseHJM |
| 5 | +ms.author: rosemalcolm |
| 6 | +ms.service: dev-box |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.date: 09/25/2023 |
| 9 | + |
| 10 | +#CustomerIntent: As a dev box user, I want to be able to troubleshoot and repair connectivity issues with my dev box so that I don't lose development time. |
| 11 | +--- |
| 12 | + |
| 13 | +# Troubleshoot and resolve dev box remote desktop connectivity issues |
| 14 | + |
| 15 | +In this article, you learn how to troubleshoot and resolve remote desktop connectivity (RDC) issues with your dev box. Since RDC issues to your dev box can be time consuming to resolve manually, use the *Troubleshoot & repair* tool in the developer portal to diagnose and repair some common dev box connectivity issues. |
| 16 | + |
| 17 | +:::image type="content" source="media/how-to-troubleshoot-repair-dev-box/dev-box-troubleshooting-confirm.png" alt-text="Screenshot showing the Troubleshoot and repair connectivity confirmation message with Yes, I want to troubleshoot this dev box highlighted."::: |
| 18 | + |
| 19 | +When you run the *Troubleshoot & repair* tool, your dev box and its backend services in the Azure infrastructure are scanned for issues. If an issue is detected, *Troubleshoot & repair* fixes the issue so you can connect to your dev box. |
| 20 | + |
| 21 | +## Prerequisites |
| 22 | + |
| 23 | +- Access to the developer portal. |
| 24 | +- The dev box you want to troubleshoot must be running. |
| 25 | + |
| 26 | +## Run Troubleshoot and repair |
| 27 | + |
| 28 | +If you're unable to connect to your dev box using an RDP client, use the *Troubleshoot & repair* tool. |
| 29 | + |
| 30 | +The *Troubleshoot & repair* process takes between 10 to 40 minutes to complete. During this time, you can't use your dev box. The tool scans a list of critical components that relate to RDP connectivity, including but not limited to: |
| 31 | +- Domain join check |
| 32 | +- SxS stack listener readiness |
| 33 | +- URL accessibility check |
| 34 | +- VM power status check |
| 35 | +- Azure resource availability check |
| 36 | +- VM extension check |
| 37 | +- Windows Guest OS readiness |
| 38 | + |
| 39 | +> [!WARNING] |
| 40 | +> Running *Troubleshoot & repair* may effectively restart your Dev Box. Any unsaved data on your Dev Box will be lost. |
| 41 | +
|
| 42 | +To run *Troubleshoot & repair* on your dev box, follow these steps: |
| 43 | + |
| 44 | +1. Sign in to the [developer portal](https://aka.ms/devbox-portal). |
| 45 | + |
| 46 | +1. Check that the dev box you want to troubleshoot is running. |
| 47 | + |
| 48 | + :::image type="content" source="media/how-to-troubleshoot-repair-dev-box/dev-box-running-tile.png" alt-text="Screenshot showing the dev box tile with the status Running."::: |
| 49 | + |
| 50 | +1. If the dev box isn't running, start it, and check whether you can connect to it with RDP. |
| 51 | + |
| 52 | +1. If your dev box is running and you still can't connect to it with RDP, on the Actions menu, select **Troubleshoot & repair**. |
| 53 | + |
| 54 | + :::image type="content" source="media/how-to-troubleshoot-repair-dev-box/dev-box-actions-troubleshoot-repair.png" alt-text="Screenshot showing the Troubleshoot and repair option for a dev box."::: |
| 55 | + |
| 56 | +1. In the Troubleshoot and repair connectivity message box, select *Yes, I want to troubleshoot this dev box*, and then select **Troubleshoot**. |
| 57 | + |
| 58 | + :::image type="content" source="media/how-to-troubleshoot-repair-dev-box/dev-box-troubleshooting-confirm.png" alt-text="Screenshot showing the Troubleshoot and repair connectivity confirmation message with Yes, I want to troubleshoot this dev box highlighted."::: |
| 59 | + |
| 60 | + While waiting for the process to complete, you can leave your dev portal as is, or close it and come back. The process continues in the background. |
| 61 | + |
| 62 | +1. After the RDP connectivity issue is resolved, you can connect to dev box again through [a browser](/azure/dev-box/quickstart-create-dev-box#connect-to-a-dev-box), or [a Remote Desktop client](/azure/dev-box/tutorial-connect-to-dev-box-with-remote-desktop-app?tabs=windows). |
| 63 | + |
| 64 | +## Troubleshoot & repair results |
| 65 | + |
| 66 | +When the *Troubleshoot & repair* process finishes, it lists the results of the checks it ran: |
| 67 | + |
| 68 | +|Outcome |Description | |
| 69 | +|---------|---------| |
| 70 | +|An issue was resolved. |An issue was detected and fixed. You can try to connect to Dev Box again. | |
| 71 | +|No issue detected. |None of the checks discovered an issue with the Dev Box. | |
| 72 | +|An issue was detected but could not be fixed automatically. |There is an issue with Dev Box, but this action couldn’t fix it. You can select **view details** about the issue was and how to fix it manually. | |
| 73 | + |
| 74 | +## Related content |
| 75 | + |
| 76 | + - [Tutorial: Use a Remote Desktop client to connect to a dev box](tutorial-connect-to-dev-box-with-remote-desktop-app.md) |
0 commit comments