Windows 2008 R2 on Azure

Tristano,G,Giuseppe,JBP12 R 91 Reputation points
2024-10-03T16:29:07.0466667+00:00

Hello All,

I restored from a backup a windows 2008R2 (hosted on VMWare) machine on Azure.

Machine comes up but Azure agent is not running and I cannot rdp on the VM.

Please advise

giuseppe

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,988 questions
{count} votes

Accepted answer
  1. Jackson Martins 10,556 Reputation points MVP
    2024-10-03T16:42:45.8233333+00:00

    Hi Tristano,

    Reference: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows

    About RDP connection, make sure that the NSG is releasing the entry for the RDP connection (default port 3389)

    also connect via Azure Serial Console:

    Go to the Azure portal.

    Navigate to your VM and click on Serial console from the left-hand menu.

    This should allow you to log in directly to the VM, even without RDP access.

    Once connected, check the status of the Azure agent by executing

    net stop RdAgent
    net stop WindowsAzureGuestAgent
    net start RdAgent
    net start WindowsAzureGuestAgent
    
    

    In the Serial Console, check if RDP is enabled and the firewall allows it. Use the following commands to check and modify RDP settings:

    reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
    netsh advfirewall firewall set rule group="remote desktop" new enable=yes
    

    Reference: https://learn.microsoft.com/pt-br/troubleshoot/windows-server/networking/netsh-advfirewall-firewall-control-firewall-behavior#command-example-8-enable-specific-services

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-rdp-general-error

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Tristano,G,Giuseppe,JBP12 R 91 Reputation points
    2024-10-03T16:57:47.87+00:00

    Thank you, but as a matter of fact I cannot even connect to the serial console which is not working

    0 comments No comments

  2. Tristano,G,Giuseppe,JBP12 R 91 Reputation points
    2024-10-03T17:03:50.2566667+00:00

    Hello,

    no I did not use such a method. I restored the machine backed up with a software called CommVault. Everything is working for other SO such as windows 2012 R2/16/19 but not unsurprisingly Windows 2008 R2.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.