We use RDP to make development on our Windows 2022 Domain Controller easier, but remote desktop will start failing after 5-6 successful connections, where the next time you connect it will show a black screen before throwing the error “the connection with the remote computer was lost”, then attempts after that will hang on the securing remote connection step for awhile before doing the same thing.
The domain controller throws the errors:
“An error occurred when transitioning from CsrConnected in response to EVCsrInitialized (Error Code 0x8007000C)“
And:
“An error occurred when transitioning from CsrConnected in response to EVCsrInitialized (Error Code 0x80070102),”
The problem is temporary fixed by restarting the controller. There are no hung sessions. I’ve run chkdsk /f and DISM /Online /Cleanup-Image /RestoreHealth. Restarting RDS does not resolve the issue. Once RD fails, no one on the domain can use rdp, including localhost.