I had RDP issue on domain controller VMs in Azure. I have spent more than a week trying to fix, but failed. Want to see whether someone had similar experience and knew a solution. Many thanks.
I built two VMs using Windows Server 2022 Azure edition. I can RDP or bastion to those VMs with no issue until I promoted them to domain controllers. After a few minutes of RDP, RDP session turned to black screen, I can no longer RDP to the VMs. I tried all troubleshooting methods to RDP, but none worked. Except RDP, the VMs functions as normal. I can still remote manage using remote server manager and remote powerwhell. I just cannot RDP to it.
- redploy the vms
- delocate the VMs
- Add new NIC,
- Rebstart,
- checked,
- reconfigure RDP
- disabled windows firewall
- deleted local user profiles
Strangely, after I depromote DC on those VMs, I can RDP to both VMs with no issue. In order to clear that the issue is not related GPO and windows image, I destroyed and built two new azure VMs using windows 2019 image. Surprisingly, after both VMs are promoted to DC, RDP issue happened on the 2nd promoted domain controller VM only and works on the first VM. I compared RsoP on both machine and found no issue on GPO.
I noticed in the VM with RDP issue. In windows Event>remote desktop service, after event ID 1149 (Remote desktop services: user authentication succeeded) is logged, there is missing event ID 41 (Begin session arbitration)
event ID 20521 (user config info will be loaded from local machine for this rdp-tcp connection)
event ID 21: (Remote desktop services: session logon succeeded.
I suspect the issue is on RDP local session manager which failed to create session after successful user authentication.