You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can't connect to a Windows virtual machine (VM), you can reset Remote Desktop Services and credentials by using the VMAccess Extension. Here are the available methods to do this:
25
+
If you can't connect to a Windows virtual machine (VM), you can reset Remote Desktop Services and credentials by using the VMAccess extension. Use either of the following methods to perform this action:
26
26
27
27
-[Reset by using the Azure portal](#reset-by-using-the-azure-portal)
28
-
-[Reset by using the Azure PowerShell](#reset-by-using-the-azure-powershell)
28
+
-[Reset by using Azure PowerShell](#reset-by-using-the-azure-powershell)
29
29
30
-
If you're using PowerShell, make sure that you have the [latest PowerShell module installed and configured](/powershell/azure/) and are signed in to your Azure subscription. You can also [perform these steps for VMs created with the classic deployment model](/previous-versions/azure/virtual-machines/windows/classic/reset-rdp).
30
+
If you're using PowerShell, make sure that you have the [latest PowerShell module installed and configured](/powershell/azure/) and that you're signed in to your Azure subscription. You can also perform these steps for [VMs that are created by using the classic deployment model](/previous-versions/azure/virtual-machines/windows/classic/reset-rdp).
31
31
32
32
33
33
> [!NOTE]
@@ -37,16 +37,17 @@ If you're using PowerShell, make sure that you have the [latest PowerShell modul
37
37
38
38
## Reset by using the Azure portal
39
39
40
-
First, sign in to the [Azure portal](https://portal.azure.com)and then select **Virtual machines** on the left menu.
40
+
Sign in to the [Azure portal](https://portal.azure.com), open the left menu, and then select **Virtual machines**.
41
41
42
42
### **Reset the local admin account password**
43
43
44
-
1. Select your Windows VMand then select **Reset password** under **Help**. The **Reset password** window is displayed.
44
+
1. Select your Windows VM, open the **Help** menu, and then select **Reset password**. The **Reset password** window is displayed.
45
45
46
46
2. Select **Reset password**, enter a username and a password, and then select **Update**.
47
+
47
48
> [!TIP]
48
-
> If you enter a different name than the current local admin account on your VM, the VMAccess extension adds a local admin account with that name, and assign your specified password to that account. If the local admin account on your VM exists, the VMAccess extension resets the password. If the account is disabled, the VMAccess extension enables it.
49
-
3. Try connecting to your VM again.
49
+
> If you enter a different name than the current local admin account on your VM, the VMAccess extension adds a local admin account that has that name, and assigns your specified password to that account. If the local admin account on your VM exists, the VMAccess extension resets the password. If the account is disabled, the VMAccess extension enables it.
50
+
3. Try again to connect to your VM.
50
51
51
52
### **Reset the Remote Desktop Services configuration**
52
53
@@ -60,7 +61,7 @@ This process enables Remote Desktop service in the VM, and creates a firewall ru
60
61
61
62
## Reset by using the Azure PowerShell
62
63
63
-
Make sure that you have the [latest PowerShell module installed and configured](/powershell/azure/) and that you're signed in to your Azure subscription by using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
64
+
Make sure that you have the [latest PowerShell module installed and configured](/powershell/azure/) and that you're signed in to your Azure subscription by using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
64
65
65
66
### Reset the local admin account password
66
67
@@ -90,7 +91,7 @@ Make sure that you have the [latest PowerShell module installed and configured]
90
91
```
91
92
92
93
> [!TIP]
93
-
> At any point, a VM can have only a single VM access agent. To set the VM access agent properties, use the `-ForceRerun` option. When you use `-ForceRerun`, make sure that you use the same name for the VM access agent that you used in any previous commands.
94
+
> At any time, a VM can have only a single VM access agent. To set the VM access agent properties, use the `-ForceRerun` option. When you use `-ForceRerun`. Make sure that you use the same name for the VM access agent that you used in any previous commands.
94
95
95
96
If you still can't connect remotely to your VM, see [Troubleshoot Remote Desktop connections to a Windows-based Azure virtual machine](troubleshoot-rdp-connection.md). If you lose the connection to the Windows domain controller, restore it from a domain controller backup.
0 commit comments