How to Fix Remote Desktop Connection (RDP) “Error code: 0x204” on Windows and macOS


RDP error code 0x204 is a Remote Desktop Connection problem that mostly occurs when the user tries to connect to remote Windows PC from macOS, Android, or different OS but failed due to driver issues or security restrictions. The detail error message as below:

We couldn’t connect to the remote PC. Make sure the PC is turned on and connected to the network, and that remote access is enabled.
Error code: 0x204

[Solved] How to Fix Remote Desktop Connection (RDP) "Error code: 0x204" on Windows and macOS

To resolve this RDP error 0x204, you may like to follow our resolution steps below.

Content Summary

Solution 1: Enable Remote Connections on Remote PC
Solution 2: Allow Remote Desktop through Windows Defender Firewall
Solution 3: Disable 3rd Party Antivirus Software
Solution 4: Uninstall 3rd Party Firewall
Solution 5: Create Offline Invitation with Windows Remote Assistance
Solution 6: Remove Temp Folder of Remote Desktop on macOS
Solution 7: Port Forwarding Mapping in Router
Solution 8: Update Device Driver
Solution 9: Reinstall Remote Desktop App

Solution 1: Enable Remote Connections on Remote PC

Step 1: Press Windows key + R to open a Run dialog box.

Step 2: Type SystemPropertiesRemote.exe and press Enter to open the System Properties screen. Click Yes to grant administrative privileges if UAC (User Account Control) prompted.

Step 3: Go to the Remote tab > Remote Desktop section.

Step 4: Select the radio button for Allow remote connections to this computer option, check to Allow remote connections only from computers running Remote Desktop with Network level authentication (recommended) for more secure authentication methods that can better protect your computer.


Enable Remote Connections on Remote PC

* If you are trying to connect to the remote computer from a different network, you will need to uncheck Allow remote connections only from computers running Remote Desktop with Network level authentication (recommended) option.

Step 5: Click the Apply button to save the changes.

Solution 2: Allow Remote Desktop through Windows Defender Firewall

Step 1: Press Windows key + R to open a Run dialog box.

Step 2: Type firewall.cpl and press Enter to open the Windows Firewall settings menu. Click Yes to grant administrative privileges if UAC (User Account Control) prompted.

Step 3: Click on the Allow an app or feature through Windows Defender Firewall link at the left-hand side menu.

Allow Remote Desktop through Windows Defender Firewall
Allow Remote Desktop through Windows Defender Firewall

* Alternatively, you can navigate to Control Panel > System and Security, click on Allow an app through Windows Firewall link located under Windows Defender Firewall.

Allow Remote Desktop through Windows Defender Firewall
Allow Remote Desktop through Windows Defender Firewall

Step 4: Click on the Change settings button located in the top-right section.

Step 5: Scroll down through the list of allowed items and enable the Private and Public box associated with Remote Desktop and Remote Desktop (WebSocket).

Scroll down through the list of allowed items and enable the Private and Public box associated with Remote Desktop and Remote Desktop (WebSocket).

Step 6: Press the Ok button to save the changes.

Step 7: Restart your PC.

Solution 3: Disable 3rd Party Antivirus Software

McAfee Internet Security is the most common 3rd party Antivirus suite that is known to cause the error 0x204 by triggering a false-positive and threats the port used by the RDP as a malicious attempt to access files remotely. Disable the real-time protection (active shields) of 3rd party Antivirus suite directly from the taskbar menu to fix the issues imply.

Solution 4: Uninstall 3rd Party Firewall

Step 1; Press Windows key + R to open a Run dialog box.

Step 2: Type appwiz.cpl and press Enter to open the Programs and Files menu.

Step 3: Scroll down through the list of installed applications and locate the 3rd party firewall. Right-click on it and choose Uninstallfrom the context menu.

Step 4: Follow the on-screen prompts to complete the process inside the uninstallation screen.

Step 5: Restart your computer.

Solution 5: Create Offline Invitation with Windows Remote Assistance

Step 1: Press Windows key + R to open a Run dialog box.

Step 2: Type msra.exe in the text box and press Enter to open the Windows Remote Assistance wizard. Click Yes to grant administrative privileges if UAC (User Account Control) prompted.

Step 3: Click on Invite someone you trust to help you.

Click on Invite someone you trust to help you
Click on Invite someone you trust to help you

Step 4: Click on Save this invitation as a file or other option such as Use Email to send an invitation or Use Easy Connect.

Click on Save this invitation as a file.
Click on Save this invitation as a file.

Step 5: Go to the remote PC to open the invitation created previously.

Solution 6: Remove Temp Folder of Remote Desktop on macOS

Step 1: Ensure the Remote Desktop Program on macOS is completely closed.

Step 2: Click on the Finder icon located at the bottom-left corner of the screen).

Step 3: Use the search function to search for group containers, then press Return to retrieve the results.

Use the search function to search for group containers, then press Return to retrieve the results.
Use the search function to search for group containers, then press Return to retrieve the results.

Step 4: Delete the UBF8T346G9.com.microsoft.rdc.

Step 5: Restart your macOS.

Solution 7: Port Forwarding Mapping in Router

Step 1: Get the IP address of the remote PC that you want to connect to. The recommended way is to execute ipconfigcommand on remote PC and take note for the IPv4 Addressentry.

Step 2: Log into your router and locate the Port Forwardingsection.

Step 3: Enable Port Forwarding function and add the profile to forward TCP port 3389 to the IP address of the remote PC.

Solution 8: Update Device Driver

Error 0x204 could occur if you added hardware to the computer. If this happened, you could try to update the device driver and check if it helps to fix the problem:

Step 1: Run hardware diagnosis application software supplied by the system manufacturer to determine if any hardware component failed.

Step 2: Remove or replace the newly installed driver.

Solution 9: Reinstall Remote Desktop App

Step 1: Open the Microsoft Remote Desktop app.

Step 2: Click on the overflow menu (…) button next to the name of the Remote Desktop connection you want to delete, and click on Remove.

Step 3: After you disabled the app, try to install it again.


¿Le ha resultado útil este artículo?