Khắc phục lỗi "remote desktop can't connect to remote computer" - Hướng dẫn chi tiết nhấtBên cạnh sự tiện lợi, sự gia tăng nhu cầu làm việc tại nhà cũng thúc đẩy nhu cầu sử dụng các máy tính kết nối từ xa. Tuy nhiên, có thể xảy ra một số lỗi kỹ thuật trong quá trình sử dụng, bao gồm các lỗi phổ biến như "remote desktop không thể kết nối với máy tính từ xa". Show
Vậy, làm thế nào để khắc phục lỗi này? Để trả lời này hãy cùngBizfly Cloud tìm hiểu một số thông tin cơ bản. Remote desktop là một tính năng tiện lợi cho phép kết nối ảo với các máy tính khác chạy hệ điều hành Windows. Với tính năng này, người dùng có thể kết nối với các máy tính ở bất kỳ nơi nào trên thế giới, miễn là họ có thông tin đăng nhập (tên người dùng và mật khẩu) phù hợp để kết nối. Ngoài ra, kết nối mạng khỏe cũng là một yêu cầu quan trọng! Nếu đã có thông tin đăng nhập và kết nối mạng ổn định mà vẫn gặp sự cố này, dưới đây là cách giải quyết: What causes Remote Desktop connections to fail in Windows?Although there can be a number of reasons due to which the Remote Desktop connection can fail in Windows, the most frequent cause is having an unstable internet connection or mismatching login credentials. Apart from these reasons, there are some other known causes for the Remote Desktop functionality to break in Windows 10. These are:
You can follow some of these solutions below in order to get your RDP in Windows to work correctly. Solution 1: Change/Tweak your Firewall SettingsThis thing is a must to do if you are having problems with RDP. Most of the times your firewall will block some incoming and outgoing connections by default. If you have a strict firewall policy setup, then, unfortunately, you will not be able to connect to a remote computer. If the Remote Desktop feature has been blocked or not allowed through Windows Firewall, then you need to allow it. To do that, it is pretty simple and easy, follow the instructions given down below:
Solution 2: Allow Remote Desktop Connections if not allowedAnother thing you need to check is whether the Remote Desktop connections are allowed in your Windows or not. If that functionality is blocked, even if you allow Remote Desktop through Firewall, Remote Desktop connections would not work. To check that, do the following:
Solution 3: Reset your Remote Desktop CredentialsMost of the time, when you have saved the credentials for a specific remote computer and you want to connect to another remote computer, then you will get an error because the credentials are not matching. It is because you have saved the Remote Desktop credentials and the other computer with whom you are connecting to, has different credentials. In order to reset or remove RDP credentials in Windows 10, perform the following actions:
Solution 4: Add the Remote Computer’s IP address to your hosts fileOne more thing that you can do is to add the remote computer’s IP address to your hosts file. Some users have problems when they want to connect to a remote computer whose IP address is not in their hosts file. To do that, do the following:
Solution 5: Adding the RDGClientTransport KeySome users have been able to fix their problem with Remote Desktop Connections in Windows by doing a registry tweak. You will have to create a new DWORD key in the Windows Registry which will force the RDP to use RPC/HTTP connections instead of HTTP/UDP. Here’s how to add the key:
Solution 6: Changing Network PropertiesIn some cases, the error might be triggered due to the network that has been set up as Public. Therefore, in this step, we will be changing it to private. For that:
How to fix ‘remote desktop can’t connect to the remote computer’The remote machine connection timed out with PsPing As you can see in the screenshot above, I was unable to ping the remote machine, and the port was not reachable as well. If this works, and you are unable to ping the machine using the FQDN name, check whether DNS resolution is working properly. Sometimes the hostnameis pointingto another machine on DNS that is either offline or not in use. If you can't connect at all, a local firewall (Windows Firewall or third-party security software) or a network firewall might be blocking the port. The PowerShell command below lets you display the Windows Firewall state on the remote machine. Invoke-Command -ComputerName [ComputerName] -ScriptBlock {netsh advfirewall show allprofiles}Remote computer firewall status For testing purposes, you can disable Windows Firewall on the remote computer with this command: Invoke-Command -ComputerName Win7 -ScriptBlock {netsh advfirewall set allprofiles state off}Note that you should enable PSRemoting on the remote computer to execute the above command. If not, you can use PsExec to enable PowerShell remoting with the command below: psexec \\RemoteComputer -u administrator -p PASSWORD netsh advfirewall set allprofiles state off |