After swapping an OS disk back to a snapshot, cannot RDP to server

MartinKulp-8809 1 Reputation point
2021-08-24T17:34:34.077+00:00

I tested reverting to a snapshot disk by swapping the OS disk of a VM. Now when I try to RDP it says "network level authentication is enabled, but the domain controller cannot be contacted." The VM is on the same subnet as the domain controller (also a VM in Azure). Why did this happen and how do I fix it?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,305 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,304 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Courtney Whitley 16 Reputation points Microsoft Employee
    2021-08-24T20:50:38.547+00:00

    Sounds like the trust relationship might be broken between the VM and the DC. You can either try to utilize Run Command in the left hand pane, by running the DisableNLA command or you can try to run the following powershell command to fix the trust relationship.

    Test-ComputerSecureChannel –Server <DC IP> -Repair -Verbose -Credential (Get-Credential)

    126193-image.png

    0 comments No comments