Hello Akhilesh SM
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the error message you are seeing in the event log with error code 144_TCP Socket was gracefully terminated indicates that the Remote Desktop connection was closed gracefully. This can happen due to various reasons such as network issues, server configuration issues, or client-side issues. Here are some troubleshooting steps you can try to resolve the issue:
- Make sure that the network connection between the client and server is stable and not dropping packets. You can use tools like ping or tracert to check the network connectivity.
- Make sure that the Remote Desktop settings on the server are configured correctly. Check if the Remote Desktop service is running and if the server is configured to allow Remote Desktop connections.
- Make sure that the Remote Desktop client is configured correctly. Check if the client is using the correct credentials to connect to the server and if the client is configured to use the correct Remote Desktop settings.
- Make sure that the Remote Desktop client is up to date. You can download the latest version of the Remote Desktop client from the Microsoft website.
- Sometimes, third-party software can interfere with the Remote Desktop connection. Try disabling any third-party software that might be causing the issue.
If none of the above steps work, you can try resetting the Remote Desktop configuration on the server.
- Open the Registry Editor on the server.
- Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations
- Delete the subkeys named RDP-Tcp and Console.
- Restart the Remote Desktop service.
I hope this helps.