Search This Blog

Tuesday, October 21, 2014

Fix RDP Access Using VM Agent Access Extension on Azure VM

 

I’ve accidentally disable Remote Desktop on a virtual machine and now was unable to access VM via RDP. In order for me to RDP, we can fix the rdp access by using VM Agent Access Extension.To do so, open Windows Azure Powershell

Get-AzureVM

Note:- Identify VM and Services name

image

$labvm1 = get-azurevm –name lab-pwin10 –servicename lab-pwin10

image

To identify if the virtual machine has installed with VM Agent Extension, type

$labvm1.vm.ProvisionGuestAgent

The result should be “true” or you can view from dashboard

image

Set-AzureVMAccessExtension –vm $labvm1 | Update-AzureVM

The command ensure that RDP access is enabled and that the VM has a firewall rules that permit RDP access.

image

 

Finally restart virtual machine and that should do the trick and you will able to RDP into the VM

Related post:-

7 comments:

  1. La Red Bull, all’atto della fondazione, ha previsto di investire nel club circa 100 milioni di euro in dieci anni[2] al fine di condurlo ai vertici del calcio tedesco, puntando apertamente (in prospettiva) a lottare per l’accesso alle coppe europee e per la vittoria della Bundesligapoco prezzo,
    magliette calcio,
    maglie calcio, Maglia real madrid 2017

    ReplyDelete
  2. Our Bills House Flag hangs vertically and provides a top sleeve for insertion of your flagpole. The Bills House Flag measures 28x42 inches, is constructed of 2-ply polyester, and both sides are dye sublimated with the NFL team logo as shown.he house flag for Bills has a liner sewn between its two polyester sides, therefore, this flag is viewable and readable correctly on both sides.Hang your Bills House Flag with our banner pole or fly it with our 5' wood flagpole and adjustable flag bracket.poco prezzo,
    magliette calcio,maglie calcio 2017,
    maglie calcio poco prezzo,

    ReplyDelete