What happens when you disable an Ethernet Network adapter in Windows Azure Virtual Machine?
How do you enable a Ethernet Network Adapter in Windows Azure Virtual Machine in case you have disabled it?
Is it possible to access the same virtual machine without deleting and re-creating the one from scratch in case you have disabled the one an only Ethernet network adapter
You cannot connect to Microsoft Azure Windows Virtual Machine (VM) after you disable the default Network Interface (NIC) or manually sets a static IP for the NIC. This post shows how to reset the network interface for Azure Windows VM, which helped me regain the network connection after accidentally disabling the network adapter on an Windows Azure Virtual Machine.
Reset network interface
For Classic VMs
To reset network interface, follow these steps:
- Go to the Azure portal.
- Select Virtual Machines (Classic).
- Select the affected Virtual Machine.
- Select IP addresses.
- If the Private IP assignment is not Static, change it to Static.
- Change the IP address to another IP address that is available in the Subnet.
- Select Save.
- The virtual machine will restart to initialize the new NIC to the system.
- Try to RDP to your machine. If successful, you can change the Private IP address back to the original if you would like. Otherwise, you can keep it.
For VMs deployed in Resource group model
- Go to the Azure portal.
- Select the affected Virtual Machine.
- Select Network Interfaces.
- Select the Network Interface associated with your machine
- Select IP configurations.
- Select the IP.
- If the Private IP assignment is not Static, change it to Static.
- Change the IP address to another IP address that is available in the Subnet.
- The virtual machine will restart to initialize the new NIC to the system.
- Try to RDP to your machine. If successful, you can change the Private IP address back to the original if you would like. Otherwise, you can keep it.