Hello,
Ping uses the ICMP protocol, and remote desktop uses the TCP protocol. If one of the two can be connected, it proves that there is no problem with the line. If the remote desktop can be connected, but ping cannot be connected, it is possible that the host prohibits the ICMP protocol response, such as the firewall is turned on and the Workstation service has stopped working, or has been disabled by other third-party non-Microsoft software, you can try the following steps to see if you can resolve the issue.
- Turn off the firewall.
- Open Start Run (win key + R) and enter the services.msc command. After entering the service console, find the workstation service. If it is stopped, right-click to start it. If it is disabled, the startup is gray and you need to click on the properties to adjust it.
I hope this helps!
Best regards
Zunhui