Fix Remote Desktop error code 0x104 with extended error code 0x0. Encountering errors like error code 0x104 with extended error code 0x0 can be frustrating. This error typically indicates that the remote computer cannot be found or connected to. Below is a comprehensive guide to understand, diagnose, and fix this issue effectively.
What is Remote Desktop Error Code 0x104?
Error code 0x104 generally appears when a remote desktop connection cannot be established to connect to the target computer. The accompanying extended error code 0x0 often suggests network or configuration issues.
Common Causes of Error Code 0x104
The error may occur due to several factors:
- Incorrect IP address or hostname.
- Firewall blocking RDP traffic.
- Remote Desktop not enabled on the target computer.
- Network discovery or sharing settings disabled.
- Outdated RDP client or Windows updates.
Step-by-Step Guide How to Fix Remote Desktop Error Code 0x104 with Extended Error Code 0x0
Step-1: Verify the Remote Computer’s IP Address and Name
To ensure you’re connecting to the correct computer:
- On the remote PC, press Win + R, type cmd, and press Enter.
- In the Command Prompt, type ipconfig and note the IPv4 address.
- Verify that you’re entering this IP address or the correct hostname in your Remote Desktop client.
Tip: If using a hostname, ensure your DNS server is configured properly to resolve the address.
Step-2: Enable Remote Desktop on the Remote PC
- On the remote computer, press Win + I to open Settings.
- Go to System > Remote Desktop.
- Toggle the Enable Remote Desktop switch to On.
- Click Confirm when prompted.
Step-3: Allow Remote Desktop Through Windows Firewall
The firewall may be blocking RDP traffic. To check:
- Press the Win + R button, type control and press Enter.
- Select System and Security > Windows Defender Firewall.
- Click Permission for an app or feature through Windows Defender Firewall.
- Scroll down & make sure Remote Desktop is checked for both Private & Public networks.
Step-4: Check Network Discovery and Sharing Settings
- Open Control Panel.
- Run to Network & Internet > Network & Sharing Center.
- Select Modify Advanced Sharing Settings from the left panel.
- Under Private, enable Turn on network discovery & Turn on file & printer sharing.
Step-5: Enable Port 3389 in Firewall
- RDP uses port 3389 by default. To ensure this port is open:
- Open Windows Defender Firewall with Advanced Security.
- Click on Inbound Rules and look for Remote Desktop – User Mode (TCP-In).
- Ensure the rule is Enabled. If missing, create a new rule:
- Click New Rule in the right panel.
- Select Port, then click Next.
- Selecting TCP & enter 3389 in the Specific local ports field.
- Allow the connection, then click Next.
- Select the appropriate network profiles and click Next.
- Name the rule “RDP Port 3389” & click Finish.
Step-6: Check Remote Desktop Services
- Press the Win + R button, & type services.msc, & press Enter.
- In the Services window, locate Remote Desktop Services.
- Make sure the Startup Type is set to Automatic & the service is Running.
Step-7: Ensure the Network Profile is Correct
A public network profile can restrict RDP traffic.
- Go to Settings > Network & Internet.
- Click on your active network connection.
- Ensure the Network Profile is set to Private.
Step 8: Check Router and Port Forwarding (For External Connections)
If connecting over the internet:
- Log in to your router’s configuration page.
- Navigate to the Port Forwarding section.
- Forward port 3389 to the local IP address of the remote PC.
Step 9: Update Windows and RDP Client
Outdated software may cause RDP errors. To update:
- Run to Settings > Update & Security > Windows Update & click Check for updates.
Step 10: Use Remote Desktop Troubleshooter
Windows offers a built-in troubleshooting tool:
- Go to Settings > Update & Security.
- Select Troubleshoot and click Additional troubleshooters.
- Choose Incoming Connections and run the troubleshooter.
Step 11: Disable IPv6 (If Necessary)
Some users report that disabling IPv6 resolves the error:
- Open Network and Sharing Center.
- Click your active network connection.
- Click Properties, then uncheck Internet Protocol Version 6 (TCP/IPv6).
- Click OK.
Step 12: Flush DNS and Reset Network Settings
- Open Command Prompt as Administrator.
- Type the following commands:
ipconfig /flushdns netsh winsock reset netsh int ip reset
- Restart your computer.
Conclusion
Error code 0x104 with extended error code 0x0 in Remote Desktop often results from network or firewall misconfigurations. By following these steps carefully, you should be able to diagnose and resolve the issue. If the problem persists, consider consulting your IT administrator or network specialist for further assistance.
For additional tips on optimizing Remote Desktop performance, check out our other guides!



