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
Copy file name to clipboardExpand all lines: support/azure/virtual-machines/windows/reset-rdp.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,21 +50,21 @@ First, sign in to the [Azure portal](https://portal.azure.com) and then select *
50
50
51
51
### **Reset the Remote Desktop Services configuration**
52
52
53
-
This process will enable Remote Desktop service in the VM, and create a firewall rule for the default RDP port 3389.
53
+
This process enables Remote Desktop service in the VM, and creates a firewall rule for the default RDP port 3389.
54
54
55
-
1. Select your Windows VMand then select **Reset password** under **Help**. The **Reset password** window is displayed.
55
+
1. Select your Windows VM, open the **Help** menu, and then select **Reset password**. The **Reset password** window opens.
56
56
57
-
2. Select **Reset configuration only** and then select **Update**.
57
+
2. Select **Reset configuration only**, and then select **Update**.
58
58
59
-
3. Try connecting to your VM again.
59
+
3. Try again to connect to your VM.
60
60
61
61
## Reset by using the Azure PowerShell
62
62
63
-
First, make sure that you have the [latest PowerShell module installed and configured](/powershell/azure/) and are signed in to your Azure subscription by using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
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
64
65
65
### Reset the local admin account password
66
66
67
-
- Reset the admin password or user name with the [Set-AzVMAccessExtension](/powershell/module/az.compute/set-azvmaccessextension) PowerShell cmdlet. The `typeHandlerVersion` setting must be 2.0 or greater, because version 1 is deprecated.
67
+
- Reset the admin password or user name by running the [Set-AzVMAccessExtension](/powershell/module/az.compute/set-azvmaccessextension) PowerShell cmdlet. The `typeHandlerVersion` setting must be version 2.0 or later because version 1 is deprecated.
68
68
69
69
```powershell
70
70
$SubID = "<SUBSCRIPTION ID>"
@@ -77,7 +77,7 @@ First, make sure that you have the [latest PowerShell module installed and conf
77
77
```
78
78
### **Reset the Remote Desktop Services configuration**
79
79
80
-
- Reset remote access to your VM with the [Set-AzVMAccessExtension](/powershell/module/az.compute/set-azvmaccessextension) PowerShell cmdlet. The following example resets the access extension named `VMAccessAgent` on a VM in the resource group:
80
+
- Reset remote access to your VM by running the [Set-AzVMAccessExtension](/powershell/module/az.compute/set-azvmaccessextension) PowerShell cmdlet. The following example resets the access extension that's named `VMAccessAgent` on a VM in the resource group:
81
81
82
82
```powershell
83
83
$SubID = "<SUBSCRIPTION ID>"
@@ -90,7 +90,7 @@ First, make sure that you have the [latest PowerShell module installed and conf
90
90
```
91
91
92
92
> [!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`, ensure you use the same name for the VM access agent that you used in any previous commands.
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
94
95
95
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.
96
96
@@ -112,9 +112,9 @@ If you still can't connect remotely to your VM, see [Troubleshoot Remote Desktop
112
112
113
113
## Next steps
114
114
115
-
- If the Azure VM access extension fails to install you can [troubleshoot VM extension issues](/azure/virtual-machines/extensions/troubleshoot?toc=/azure/virtual-machines/windows/toc.json).
115
+
- If the Azure VM access extension doesn't install, you can [troubleshoot VM extension issues](/azure/virtual-machines/extensions/troubleshoot?toc=/azure/virtual-machines/windows/toc.json).
116
116
117
-
- If you're unable to reset the password using the VM access extension then you can [reset the local Windows password offline](reset-local-password-without-agent.md?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). This method is more advanced and requires you to connect the virtual hard disk of the problematic VM to another VM. Follow the steps documented in this article first, and attempt the offline password reset method only if those steps don't work.
117
+
- If you can't reset the password by using the VM access extension, you can [reset the local Windows password offline](reset-local-password-without-agent.md?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). This method is more advanced and requires you to connect the virtual hard disk of the problematic VM to another VM. Begin by following the steps that are documented in this article. If these steps don't work, try the offline password reset method.
118
118
119
119
- [Learn about Azure VM extensions and features](/azure/virtual-machines/extensions/features-windows).
0 commit comments