[Fix] Microsoft Remote Desktop Error Code: 0x204

Error code 0x204 Message:
Unable to connect

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:

Error Code 0x204 Screenshot:
Unable to connect Error code 0x204

Reason for the error 0x204

There could be multiple reasons that can cause you the error when trying to RDP a machine running Windows 8/10/11 Operating System via a Windows Server or a Mac running macOS/Linux.

Let's take a look at some common reasons and fixes,

Reason 1: RDP is disabled on the Server

The most common reason is that access to external connections is disabled on the system you are trying to RDP.

  • Open Run dialog and type SystemPropertiesRemote.exe and press enter,
  • Go to Remote tab and select both,
    Allow remote connections to this computer
    [Allow connections only from computers running Remote Desktop
    with Network Level Authentication (recommended)
  • Click Apply and OK.
  • Retry RDP.

Reason 2: Make sure Windows Defender Firewall allows Remote Desktop Connection

The other most common reason for not being able to RDP is the Windows Defender Firewall is not allowing the Remote client to RDP into the host system by blocking it.


Under Control Panel: Check under Firewall -> Allow an app or feature through Windows Defender Firewall settings to see Remote Desktop is allowed for Private and Public access.

Reason 3: Do you have 3rd party Firewall/Anti-virus

If the first two options didn't work, then check if you have a 3rd party Firewall installed along with an Anti-Virus, if yes, try disabling it for a few minutes and check if it works. If it does, make sure to add an exception to allow this RDP connection.

Final Thing...

If this happens to be an organizational/company system, there would be a restriction that is set by your ORG System Admin, contact them to see if they can help or provide you an exception.

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap