Redeploy Windows virtual machine to new Azure node
If you have been facing difficulties troubleshooting Remote Desktop (RDP) connection or application access to Windows-based Azure virtual machine (VM), redeploying the VM may help. When you redeploy a VM, Azure will shut down the VM, move the VM to a new node within the Azure infrastructure, and then power it back on, retaining all your configuration options and associated resources. This article shows you how to redeploy a VM using Azure PowerShell or the Azure portal.
After you redeploy a VM, the temporary disk is lost and dynamic IP addresses associated with virtual network interface are updated.
Using Azure PowerShell
Make sure you have the latest Azure PowerShell 1.x installed on your machine. For more information, see How to install and configure Azure PowerShell.
The following example deploys the VM named
myVM in the resource group named
Set-AzVM -Redeploy -ResourceGroupName "myResourceGroup" -Name "myVM"
Use the Azure portal
Select the VM you wish to redeploy, then select the Redeploy button in the Settings blade. You may need to scroll down to see the Support and Troubleshooting section that contains the 'Redeploy' button as in the following example:
To confirm the operation, select the Redeploy button:
The Status of the VM changes to Updating as the VM prepares to redeploy, as shown in the following example:
The Status then changes to Starting as the VM boots up on a new Azure host, as shown in the following example:
After the VM finishes the boot process, the Status then returns to Running, indicating the VM has been successfully redeployed:
If you are having issues connecting to your VM, you can find specific help on troubleshooting RDP connections or detailed RDP troubleshooting steps. If you cannot access an application running on your VM, you can also read application troubleshooting issues.
Send feedback about: