How to Fix Remote Desktop Error Code 0x104 on Mac?

How to Fix Remote Desktop Error Code 0x104 on Mac?


How to fix Remote Desktop error code 0x104 on Mac? Remote Desktop Protocol (RDP) is a powerful tool that allows users to connect and control computers from a distance, making it essential for remote work and IT management. However, Mac users may sometimes encounter the error code 0x104 when trying to connect to a Windows machine via RDP. This error typically indicates a connectivity issue or a configuration problem that prevents the Mac from establishing a successful remote desktop connection. In this article, we’ll explore the causes of this error and provide step-by-step solutions to fix it.

What Causes Remote Desktop Error Code 0x104?

The Remote Desktop error code 0x104 on Mac can be triggered by several factors, including:

  1. Network Connectivity Issues: The Mac may not be able to reach the Windows machine due to network problems.
  2. Incorrect IP Address or Hostname: The IP address or hostname used to connect may be incorrect.
  3. Firewall or Security Software: Firewalls or security software on the Windows machine may be blocking the connection.
  4. Disabled Remote Desktop on Windows: The Remote Desktop feature might not be enabled on the target Windows machine.
  5. DNS Configuration Problems: Issues with DNS settings may prevent the Mac from resolving the correct IP address for the Windows machine.
  6. Compatibility Issues: There might be compatibility issues between the Remote Desktop client on the Mac and the version of Windows on the target machine.

Step-by-Step Guide How to Fix Remote Desktop Error Code 0x104 on Mac?

To resolve the Remote Desktop error code 0x104 on your Mac, follow these troubleshooting steps:

1. Verify Network Connectivity

Before diving into more complex fixes, ensure that both your Mac and the Windows machine are connected to the same network (if applicable) and that the network is functioning correctly.

  • Check Network Status: Make sure both devices have internet access. You can try pinging the Windows machine’s IP address from your Mac to see if it’s reachable.
  • Restart Network Devices: Restart your router & modem to refresh the network connection. This can help resolve any temporary connectivity problem.

2. Double-Check the IP Address or Hostname

Ensure that you are using the correct IP address or hostname to connect to the Windows machine. A simple typo can lead to the 0x104 error.

  • Find the Correct IP Address: On the Windows machine, open the Command Prompt and type ipconfig to find its IP address. Use this IP address when connecting from your Mac.
  • Use the Hostname: If you’re connecting over a local network, you can also use the hostname of the Windows machine instead of the IP address.

3. Enable Remote Desktop on the Windows Machine

The Remote Desktop feature must be enabled on the Windows machine to accept connections.

  • Open System Properties: On the Windows machine, right-click on “This PC” or “Computer,” and select “Properties.”
  • Access Remote Settings: Click on “Remote settings” in the left sidebar.
  • Enable Remote Desktop: Under the “Remote Desktop” section, select “Allow remote connections to this computer.”
  • Apply and Confirm: Click “Apply” and “OK” to save the changes.

4. Adjust Firewall and Security Software Settings

Firewalls and security software on the Windows machine may block the incoming RDP connection.

  • Allow Remote Desktop Through the Firewall: On the Windows machine, go to Control Panel -> System and Security -> Windows Defender Firewall -> Allow an app or feature through Windows Defender Firewall. Ensure that “Remote Desktop” is checked for both private and public networks.
  • Disable Third-Party Security Software: Temporarily disable any third-party antivirus or security software to see if it is blocking the connection.

5. Modify DNS Settings

If you’re using a hostname to connect, DNS issues could be causing the error. Adjusting DNS settings might resolve the problem.

  1. Change DNS Server on Mac: Go to System Preferences -> Network -> Advanced -> DNS and add Google’s public DNS servers (8.8.8.8 and 8.8.4.4) to the list.
  2. Flush DNS Cache: You can also flush the DNS cache on your Mac by opening the Terminal and running the following command:
    Copy codesudo killall -HUP mDNSResponder

    This command clears the DNS cache, ensuring that your Mac uses the most up-to-date DNS information.

6. Use a Different Remote Desktop Client

If the built-in Microsoft Remote Desktop client on your Mac is causing issues, consider using a different client to connect to the Windows machine.

  • Microsoft Remote Desktop Beta: Sometimes, the beta version of the Microsoft Remote Desktop client offers better compatibility and bug fixes. You can download it from the Media Access Control Address App Store.
  • Alternative RDP Clients: Clients like Royal TSX or Jump Desktop are popular alternatives that might offer a more stable connection.

7. Update Both the Mac and Windows Machine

Outdated software can lead to compatibility issues, so ensure that both your Mac and the Windows machine are up to date.

  • Update macOS: Go to System Preferences -> Software Update and check for any available updates.
  • Update Windows: On the Windows machine, go to Settings -> Update & Security -> Windows Update and install any pending updates.

8. Reset Remote Desktop Connection Configuration

Sometimes, resetting the Remote Desktop Connection settings can resolve the issue.

  • Delete Saved Credentials: Open Microsoft Remote Desktop on your Mac, right-click on the connection in question, and select “Delete.” Then, recreate the connection with the correct settings.
  • Reset RDC Settings: If the error persists, try resetting the Remote Desktop settings on your Mac by removing the app and reinstalling it from the Mac App Store.

Conclusion

Encountering the Remote Desktop error code 0x104 on a Mac can be frustrating, but it’s often fixable with some troubleshooting. By following the steps outlined above, you can resolve the issue and regain access to your remote Windows machine. Whether it’s a simple network problem or a more complex configuration issue, these solutions should help you get back to working remotely without further disruptions. Remember to keep both your Mac and Windows systems up to date to avoid similar issues in the future.