Keep user session alive after closing remote desktop connection. When you connect to a remote machine via RDP, deploy and start your test, and then disconnect the remote session, your test will fail. This is because the current user session will be quit. To keep the current user session active even if you’ve disconnected the RDP session:
Using Telnet to Test Port 3389 Functionality Apr 17, 2018 How to use Remote Desktop Apr 28, 2020
Microsoft Remote Connectivity Analyzer Connectivity Tests Other Tools
Solved: Executing UFT Scripts on a remote machine - Micro
FIX: Remote Desktop Connection Not Working in Windows 10
Test the configuration by trying the remote desktop connection again. If you still can't connect, restart the affected computer. If you still can't connect, check the status of the RDP self-signed certificate. Check the status of the RDP self-signed certificate. If you still can't connect, open the Certificates MMC snap-in.