当您尝试授予对同一网络或另一个网络上可用系统的访问权限时,会出现Windows 11/10上的远程桌面错误代码 0x104 。(Remote Desktop Error Code 0x104)但是当它失败时,您可能会看到一条错误消息,指出 -
我们无法连接到远程 PC,因为找不到 PC。请(Please)提供远程 PC 的完全限定名称或 IP 地址,然后重试。错误代码 0x104(Error Code 0x104)
这个问题可能非常复杂。一些尝试连接远程服务器的用户也遇到了互联网连接失败的情况。但是,这里有一些简单的方法可以帮助您摆脱这种混乱。
修复远程桌面错误代码 0x104
要修复计算机上的远程桌面错误代码 0x104(Remote Desktop Error Code 0x104),请遵循以下建议:
- 打开网络发现
- (Allow Port 3389)在Windows Defender 防火墙中(Windows Defender Firewall)允许端口 3389
- 清除自定义 DNS 服务器
让我们详细了解它们。
1]打开网络发现
网络发现是一项功能,可让您的计算机识别同一网络上可用的其他设备。这使得在您想要的网络之间共享文件和打印机变得容易。为了设置RDP连接,您必须确保是否启用了此选项。那么,让我们看看如何打开网络发现(turn on Network Discovery):
- 打开控制面板(Open the Control Panel),然后在搜索框中输入网络和 Internet。(Network and Internet.)
- 按 Enter(Press Enter)并在下一页上,选择网络和共享中心(Network and Sharing Center)选项。
- 从左侧边栏中,选择更改高级共享设置(Change advanced sharing settings)链接。
- 展开(Expand)当前用于您的网络连接的网络配置文件。
- 之后,选择打开网络发现(Turn on network discovery.)旁边的单选按钮。
最后,点击保存更改 (Save changes )按钮。
2]在Windows防火墙中(Windows Firewall)允许端口3389(Allow Port 3389)
TCP端口 3389 是用于Windows 远程桌面(Windows Remote Desktop) 协议(Protocol)的默认端口。此端口还用于Windows 防火墙(Windows Firewall)中,用于连接同一网络或不同网络上的其他可用设备。但是,如果Windows 防火墙(Windows Firewall)阻止此操作,您将无法授予对它们的访问权限。
要建立连接,您需要在Windows 防火墙(Windows Firewall)中允许端口 3389 。这是如何做到的:
- 打开控制面板(Open the Control Panel)窗口,选择系统(System)项。
- 从下一个屏幕的左窗格中,选择远程设置(Remote settings)链接。这将打开系统属性(System Properties)向导,确保您位于远程(Remote)选项卡上。
- 在远程桌面部分下,选中(Remote Desktop)允许远程连接到此计算机(Allow remote connections to this computer)旁边的复选框。
- 单击“应用(Apply)” > “确定(OK)”按钮以保存更改。
- 现在,再次打开控制面板(Control Panel)窗口并选择Windows Defender 防火墙(Windows Defender Firewall)项。
- 从左侧窗格中,选择高级设置(Advanced settings)链接。在下一个屏幕上,选择入站规则。(Inbound Rules.)
- 移动到右窗格,然后在名称(Name)列下搜索远程协助 (RA 服务器 TCP-In) 。(Remote Assistance (RA Server TCP-In) )
- 找到它后,请确保它已 启用(enabled)。
- 现在找出远程桌面 - 用户模式 (TCP-In)(Remote Desktop – User Mode (TCP-In))和远程桌面 - 用户模式 (UDP-In)。(Remote Desktop – User Mode (UDP-In).)
确保(Make)这两个选项都已启用,并且3389是 Local Port。为了使本地端口可见,将水平滚动条拖到右端。
之后,尝试再次设置连接并检查错误代码 0x104(Error Code 0x104)现在是否已解决。
3]清除自定义DNS服务器(Custom DNS Servers)以修复错误代码0x104(Error Code 0x104)
如果启用网络发现(Network Discovery)不能解决问题,您可以尝试通过在设置远程连接之前清除自定义DNS服务器来解决问题。(DNS)它很容易适用于主机和目标系统。让我们尝试清除自定义DNS服务器。去做吧 -
- Windows+X键盘快捷键打开 WinX 菜单。
- 从菜单列表中,选择设置(Settings)>网络和 Internet(Network & Internet)。
- 移动到右窗格并单击更改适配器选项(Change adapter options)。
- 在“网络连接(Network Connections)”页面上,查找您的适配器。
- 找到后,右键单击它并选择“属性(Properties)”选项。
- 在相应的属性向导中,确保您位于“网络(Networking)”选项卡上。
- 因此,选中Internet 协议版本 4(Internet Protocol Version 4)旁边的复选框 ,然后选择属性(Properties)按钮。
- 另外,确保选择了自动获取 DNS 服务器地址 (Obtain DNS server address automatically )。
- 单击(Click)确定按钮以保存更改,然后尝试再次连接。
如何修复错误 0x104?
要修复Windows 11/10远程桌面(Remote Desktop)错误 0x104 ,您需要打开网络发现(Network Discovery)、删除自定义DNS服务器、在(DNS)Windows Defender 防火墙(Windows Defender Firewall)中允许端口 3389等。
如何修复远程桌面错误?
尽管这取决于您遇到的特定错误,但在大多数情况下,您需要删除自定义DNS服务器,将Network Profile设置为Public,删除所有与端口相关的限制等。但是,如果您得到 Remote Desktop can't find电脑问题(Remote Desktop can’t find the computer problem),你可以按照这个详细教程。
为什么我的远程桌面无法连接?
如果远程桌面(Remote Desktop)未连接或检测到您的计算机,您需要打开网络发现(Network Discovery)并将网络配置文件(Network Profile)类型设置为Public。否则(Otherwise),您将无法在您的计算机上使用此功能。
如果本指南帮助您解决问题,请告诉我们。(Let us know if this guide helped you to solve the problem.)
Fix Remote Desktop Error Code 0x104 on Windows 11/10
The Remоte Desktop Error Code 0x104 on Windоws 11/10 occurs when you try to give access to the system that is available on the same or on another netwоrk. But when it fails, you may see an error message thаt states –
We couldn’t connect to the remote PC because the PC can’t be found. Please provide the fully-qualified name or the IP address of the remote PC, and then try again. Error Code 0x104
This issue can be highly complicated. Some users who are trying to connect their remote servers also experienced the failure of internet connections. However, here are some easy methods that may help you to get rid of this mess.
Fix Remote Desktop Error Code 0x104
To fix Remote Desktop Error Code 0x104 on your computer follow these suggestions:
- Turn on Network Discovery
- Allow Port 3389 in the Windows Defender Firewall
- Clear Custom DNS Servers
Let us see them in detail.
1] Turn on Network Discovery
Network discovery is a feature that allows your computer to identify additional devices available on the same network. This makes it easy to share files and printers between the networks you want. In order to set up the RDP connection, you must have to ensure whether this option is enabled or not. So, let’s see how to turn on Network Discovery:
- Open the Control Panel and in the search box, type in Network and Internet.
- Press Enter and on the next page, select the Network and Sharing Center option.
- From the left sidebar, select the Change advanced sharing settings link.
- Expand the network profile that is currently being used to your network connection.
- After that, select the radio button next to Turn on network discovery.
Finally, hit Save changes button.
2] Allow Port 3389 in the Windows Firewall
TCP port 3389 is the default port that is used for the Windows Remote Desktop Protocol. This port is also used in the Windows Firewall to connect other devices available either on the same network or different networks. However, if the Windows Firewall blocks this, you won’t be able to give access to them.
To make a connection, you need to allow port 3389 in the Windows Firewall. Here is how to do it:
- Open the Control Panel window, select the System item.
- From the left pane of the next screen, select the Remote settings link. This will open the System Properties wizard where ensure that you’re on the Remote tab.
- Under the Remote Desktop section, mark the checkbox next to Allow remote connections to this computer.
- Click on the Apply > OK button to save the changes.
- Now, again open the Control Panel window and select Windows Defender Firewall item.
- From the left pane, select the Advanced settings link. On the next screen, select Inbound Rules.
- Move to the right pane and then search for Remote Assistance (RA Server TCP-In) under the Name column.
- Once you find it, make sure it is enabled.
- Now find out Remote Desktop – User Mode (TCP-In) and Remote Desktop – User Mode (UDP-In).
Make sure both options are enabled and 3389 is the Local Port. In order to make the local port visible, drag the horizontal scroll bar towards the right end.
After that, try to set the connection again and check if the Error Code 0x104 is resolved now.
3] Clear Custom DNS Servers to fix Error Code 0x104
If enabling Network Discovery doesn’t fix the problem, you may try to resolve it by clearing the custom DNS server before setting up the remote connection. It is easily applicable to both the host and target systems. Let’s try to clear custom DNS servers. To do it –
- Open WinX menu using Windows+X keyboard shortcut.
- From the menu list, select Settings > Network & Internet.
- Move to the right pane and click on Change adapter options.
- On the Network Connections page, look for your adapter.
- Once you find, right-click on it and select Properties option.
- On the respective properties wizard, make sure you’re on the Networking tab.
- Thereupon, mark the checkbox next to Internet Protocol Version 4 and then select the Properties button.
- Also, make sure Obtain DNS server address automatically is selected.
- Click on the OK button to save the changes and then try to connect it again.
How do I fix error 0x104?
To fix Remote Desktop error 0x104 in Windows 11/10, you need to turn on Network Discovery, remove custom DNS servers, allow port 3389 in the Windows Defender Firewall, etc.
How do I fix a remote desktop error?
Although it depends on the particular error you are getting, in most cases, you need to remove custom DNS servers, set Network Profile as Public, remove all the port-related restrictions, etc. However, if you get Remote Desktop can’t find the computer problem, you can follow this detailed tutorial.
Why is my remote desktop not connecting?
If the Remote Desktop is not connecting or detecting your computer, you need to turn on Network Discovery and set the Network Profile type as Public. Otherwise, you cannot use this functionality on your computer.
Let us know if this guide helped you to solve the problem.