Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (Managed Disk)

Please note that 3rd party virtualization software(s) for Windows 2016 Nested Virtualization feature is not supported. Only Hyper-V is currently supported. Also note that as of right now, Nested Virtualization is only available in the following geographic locations: US -West 2 -East Europe -West Asia Pacific -Southeast Reference Links: Nested Virtualization in Azure New DV3 and EV3…

4

Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (RDFE)

Please note that 3rd party virtualization software(s) for Windows 2016 Nested Virtualization feature is not supported. Only Hyper-V is currently supported. Also note that as of right now, Nested Virtualization is only available in the following geographic locations: US -West 2 -East Europe -West Asia Pacific -Southeast Reference Links: Nested Virtualization in Azure New DV3 and EV3…

0

Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (ARM)

Please note that 3rd party virtualization software(s) for Windows 2016 Nested Virtualization feature is not supported. Only Hyper-V is currently supported. Also note that as of right now, Nested Virtualization is only available in the following geographic locations: US -West 2 -East Europe -West Asia Pacific -Southeast Reference Links: Nested Virtualization in Azure New DV3 and EV3…

2

How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (RDFE)

1) Delete the VM from the Azure Portal choosing to keep all attached disks 2) Create a new recovery VM in the Azure Portal. This VM will need to be in the same Region and Resource Group (Cloud Service) as the broken machine 3) Once the recovery machine is created select it 4) Select Disks…

0

How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (ARM)

1) Delete the VM from the Azure Portal choosing to keep all attached disks 2) Create a new recovery VM in the Azure Portal. This VM will need to be in the same Region and Resource Group as the broken machine 3) Once the recovery machine is created select it 4) Select Disks -> Add…

0

How to Perform an In-Place-Upgrade in Azure (Windows)

At this time there is no way to perform an in place upgrade of virtual machines running one version of Windows to another. For example, upgrading from Windows Server 2012R2 to Windows Server 2016 from inside the Guest OS is not supported.   In order to upgrade the machine to a new version of Windows…

0

How to Remote PowerShell to Azure VM (DIP to DIP)

Enter a PowerShell session from inside another VM located inside the same Vnet and run the following: $Skip = New-PSSessionOption -SkipCACheck -SkipCNCheck Enter-PSSession -ComputerName “HOSTNAME” -port 5986 -Credential (Get-Credential) -useSSL -SessionOption $Skip If the above does not work try the following instead: $Skip = New-PSSessionOption -SkipCACheck -SkipCNCheck Enter-PSSession -ComputerName “HOSTNAME” -port 5985 -Credential (Get-Credential) -SessionOption…

0

How to rebuild an Azure VM from an existing OS disk (RDFE)

Method 1: Azure Portal 1) Navigate to the Azure Portal 2) Select OS Disks (Classic) 3) Select the VHD you use to use to rebuild the VM 4) Continue the steps inputting in the required information to recreate   Mitigation 2: PowerShell Use the below script to recreate a Classic VM via PowerShell. Modify the…

0

How to Add an new NSG Rule to an Azure VM (RDFE)

1) Navigate to the Azure Portal 2) Select  Virtual Machines 3) Click on the impacted VM 4) Click Network Security Group 5) Select the Network security group listed 6) Click Inbound Rules 8) Click Add 9) Click on the Advanced Settings 10) Name the new rule 11) Set the Priority of the Rule 12) Set…

0

How to Add an NSG Rule to an Azure VM (ARM)

1) Navigate to the Azure Portal 2) Select  Virtual Machines 3) Click on the impacted VM 4) Click on Network Interfaces 5) Click Network Security Group 6) Select the Network security group listed 7) Click Inbound Rules 8) Click Add 9) Click on the Advanced Settings 10) Name the new rule 11) Set the Priority…

0

How to Rebuild from an Existing Managed Disk

If Azure PowerShell is not installed, please install it from http://azure.microsoft.com/en-us/downloads/ then modify and run the following script: # To login to Azure Resource Manager Login-AzureRmAccount # To view all subscriptions for your account Get-AzureRmSubscription # To select a default subscription for your current session Get-AzureRmSubscription –SubscriptionID ‘SUBSCRIPTONID’ | Select-AzureRmSubscription #Fill in all variables $subid…

0

How to Check for NSGs & Route Tables on a Subnet level

1) Navigate to the Azure Portal 2) Click on Virtual Networks 3) Select the Vnet you want to check 4) Click on Subnets 5) Select the Subnet you want to check 6) Click Network Security Group 7) If a network security group is selected, change it to none 8) If a route table is select,…

0

Unable to RDP to Azure VM Scenarios

Generally when we have an Azure Virtual Machine we think of it as being unavailable in a few different ways: 1) Non-Boot 2) Isolated 3) VM Responding In order to better use the guides on this blog we need to clarify what each of these scenarios are and how you can use the scenario to…

0

How to rebuild an Azure VM from an existing OS disk (ARM)

Use the below script to recreate a ARM VM via PowerShell. Modify the highlighted sections only   #Required Variables $subID = ‘SubscriptionID’ $rgname = ‘ResourceGroupName’ $loc = ‘Location’ $vmsize = ‘VirtualMachineSize’ $vmname = ‘VirtualMachineName’ $nic1 = ‘NetworkInterface1Name’ $osDiskName = ‘DiskOSName’ $osDiskVhdUri = ‘DiskOSUri’   #Optional Variables to add additional Network Interfaces #$nic2 = ‘NetworkInterface2Name’ #$nic3…

0