Maybe this one helps.
https://social.technet.microsoft.com/Forums/ie/en-US/73318d28-05fe-42bf-989d-eef818f105a1/remote-desktop-opens-and-then-closes-almost-immediately?forum=w8itpronetworking
--please don't forget to upvote
and Accept as answer
if the reply is helpful--