• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Fix Microsoft Remote Desktop Error Code 0x204

Fix Microsoft Remote Desktop Error Code 0x204

July 20, 2021 by Madalina Dinita 2 Comments

Microsoft Remote Desktop error code 0x204 may sometimes pop on the screen when you try to connect to a Windows computer from a Mac. The error message reads as follows: “Error 0x204: 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”. What’s even more confusing is that all the settings usually look fine. There’s nothing wrong with the firewall, ports, and remote access permissions. Let’s explore what troubleshooting methods you can use to fix this issue.

How to Fix Remote Desktop Error 0x204

Edit Remote Connection Settings

Make sure to disable the Network Level Authentication option. As a quick reminder, this feature automatically blocks connection requests coming from users that didn’t authenticate themselves before establishing a session with the server.

  1. Right-click on This PC, select Properties and click on the Remote tab.
  2. Check the option that says Allow external connections to this computer.
  3. Then uncheck the option that says Allow connections only from computers running Remote Desktop with Network Level Authentication.Remote-Desktop-Network-Level-Authentication-settings

Enter Your Windows PC’s IP Address

Instead of entering your Windows PC’s name in the Remote Desktop App on your MacBook, type in the IP address of your device. Sometimes, the app fails to recognize the PC name.

Tweak MaxOutstandingConnections Settings

If the error persists, tweak your Registry Settings, and max out the number of supported connections.

  1. Exit Remote Desktop.
  2. Then navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.
  3. Locate the MaxOutstandingConnections entry. Double-click on it and set its value to 10,000.terminal-server-maxoutstandingconnections
  4. If the entry is not visible, create it yourself.
    • Right-click in the left-hand pane of the Terminal Server folder, select New, and then DWORD (32-bit) value.
    • Name the new entry MaxOutstandingConnections.
    • Double-click on the new entry and set its value to 10,000.
  5. Relaunch Remote Desktop, and check if error 0x204 persists.

Allow Remote Deskstop Through Windows Firewall

Makes sure to edit your firewall settings on both sides to allow remote desktop connections.

On Windows

  1. Go to Control Panel, and select System and Security.
  2. Then click on Windows Firewall.
  3. Select Allow a program or feature through Windows Firewall.
  4. Scroll down to Remote Desktop.microsoft-remote-desktop-windows-firewall-settings
  5. Check the Remote Desktop option, and save the settings.

Make sure to authorize Microsoft Remote Desktop to access your MacBook. For step-by-step instructions, go to Apple’s Support page.

Open port 3389

Make sure port 3389 is open on both your Windows and Mac computers. Additionally, ensure your router is configured to forward the remote desktop port 3389.

On your Mac, go to Network Utility, select Port Scan, and then Only test ports between 3389 and 3389.

On Windows, follow the steps below to open port 3389:

  1. Type Windows Firewall in the Windows Start Search bar.
  2. Select Windows Defender Firewall with Advanced settings.
  3. Then, go to Inbound Rules, and click on New Rule.
  4. Go to Port, hit Next, and select either TCP or UDP.open-port-windows-defender-firewall
  5. Click Specific local ports and enter port number 3389.open-port-3389-windows-firewall
  6. Hit Next, and click Allow the connection.
  7. Select the network types you want to use, name the rule, and hit Finish.

Delete Remote Desktop Temporary Files

Delete the Remote Desktop temporary files from Group Containers, restart the app, and check the results.

  1. Exit the Remote Desktop app and launch Finder.
  2. Go to Group containers.
  3. Right-click on the UBF8T346G9.com.microsoft.rdc entry, and select Move to bin.
  4. Restart both your Mac and PC and check if the error is gone.

Reinstall Microsoft Remote Desktop

If the issue persists, uninstall Remote Desktop and restart your Mac. Download a fresh copy of the app from the App Store, set up the remote connection, and check the results.

Conclusion

To fix Microsoft Remote Desktop error code 0x204, edit your remote connection settings. Instead of entering your PC’s name, enter its IP address. Additionally, edit your firewall settings to allow Remote Desktop connections and open port 3389. If the issue persists, delete the Remote Desktop temporary files from Mac, and reinstall the app. Which of these solutions worked for you? Let us know in the comments below.

You Might Also Like

  • Remote Desktop: Fix Error "Windows cannot log you on because your profile cannot be loaded"
    Remote Desktop: Fix Error "Windows cannot log you on because…
  • Microsoft Teams Error Code CAA30190
    Microsoft Teams Error Code CAA30190
  • Fix Microsoft Office Error Code 0x4004f00c
    Fix Microsoft Office Error Code 0x4004f00c
  • How to Fix Microsoft Office Error Code 30088-4
    How to Fix Microsoft Office Error Code 30088-4
  • How to Fix Microsoft Office Error Code 30010-4
    How to Fix Microsoft Office Error Code 30010-4
  • How to Fix Microsoft Teams Error Code CAA301F7
    How to Fix Microsoft Teams Error Code CAA301F7

Filed Under: Software Tagged With: Remote Desktop

Reader Interactions

Comments

  1. Ta says

    August 8, 2022 at 6:33 am

    Unchecking the option that says Allow connections only from computers running Remote Desktop with Network Level Authentication worked for me.

  2. Pete Davis says

    March 5, 2022 at 4:14 pm

    These do not work. It has to with Mac OS Monterey security settings as it works with Mac OS High Sierra. Somewhere there is a settings that blocks Remote Desktop. I am still looking for what is causing Monterey to block it.

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • What is a Security Compromise?
  • Mastodon: How to DM Someone
  • 15 Best iOS 16 Beta 3 Features You Should Try Now
  • Android: How to Record and Add Custom Alarm Audio
  • What is a Hackathon?
  • How to Enable Samsung Adapt Sound for the Best Audio
  • What is Social Engineering?
  • Google Voice Typing Not Working: Fix

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Microsoft
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Word
  • Microsoft Windows 95
  • Microsoft Internet Explorer
  • Best Microsoft Surface Products 2022

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy