Skip to content

Commit f224d95

Browse files
authored
Merge pull request #180861 from zr-msft/zr-aks-win-pw-reset
[AKS] update reset for windows admin username and pw
2 parents 613313d + 55b6dc4 commit f224d95

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/aks/rdp.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,16 @@ This article shows you how to create an RDP connection with an AKS node using th
1818

1919
## Before you begin
2020

21-
This article assumes that you have an existing AKS cluster with a Windows Server node. If you need an AKS cluster, see the article on [creating an AKS cluster with a Windows container using the Azure CLI][aks-windows-cli]. You need the Windows administrator username and password for the Windows Server node you want to troubleshoot. If you don't know them, you can reset them by following [Reset Remote Desktop Services or its administrator password in a Windows VM
22-
](/troubleshoot/azure/virtual-machines/reset-rdp). You also need an RDP client such as [Microsoft Remote Desktop][rdp-mac].
21+
This article assumes that you have an existing AKS cluster with a Windows Server node. If you need an AKS cluster, see the article on [creating an AKS cluster with a Windows container using the Azure CLI][aks-windows-cli]. You need the Windows administrator username and password for the Windows Server node you want to troubleshoot. You also need an RDP client such as [Microsoft Remote Desktop][rdp-mac].
22+
23+
If you need to reset the password you can use `az aks update` to change the password.
24+
25+
```azurecli-interactive
26+
az aks update -g myResourceGroup -n myAKSCluster --windows-admin-password $WINDOWS_ADMIN_PASSWORD
27+
```
28+
29+
If you need to reset both the username and password, see [Reset Remote Desktop Services or its administrator password in a Windows VM
30+
](/troubleshoot/azure/virtual-machines/reset-rdp).
2331

2432
You also need the Azure CLI version 2.0.61 or later installed and configured. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
2533

0 commit comments

Comments
 (0)