Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Fix Microsoft Remote Desktop Error Code 0x204

Madalina DinitaJuly 20, 2021 Comments (2)
microsoft-remote-desktop-error-code-0x204

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.

Contents

  • 1 How to Fix Remote Desktop Error 0x204
    • 1.1 Edit Remote Connection Settings
    • 1.2 Enter Your Windows PC’s IP Address
    • 1.3 Tweak MaxOutstandingConnections Settings
    • 1.4 Allow Remote Deskstop Through Windows Firewall
    • 1.5 Open port 3389
    • 1.6 Delete Remote Desktop Temporary Files
    • 1.7 Reinstall Microsoft Remote Desktop
    • 1.8 Conclusion

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.

Categories: Software

Author Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies -- AI and DNA computing in particular.

You Might Also Like

  • Chrome header

    Chrome: Disable Auto Updates

    Mitch BartlettSoftware
  • How to Resize Multiple Images at Once

    Kat ArmstrongSoftware
  • File Header

    What Are ABW Files?

    Mel HawthorneSoftware
  • fix-signal-app-wont-install

    Fix: Signal App Won’t Install on Android, iOS or PC

    Madalina DinitaSoftware

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.

Leave a Reply

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

  • hdd better than an ssd

    When Is an HDD Better Than an SSD?

  • top graphics cards for 2026

    Top 5 Graphics Cards for 2026

  • roblox error 280

    Having Trouble With Roblox Error 280? Here’s What to Do

  • hard disk smart command error

    Hard Disk SMART Command Failed – How to Fix 

  • files automatically deleted on click

    Files Getting Deleted Automatically? Here Are Some Reasons Why

profile pic

The Experts Behind Technipages

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.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on July 20, 2021 by Judy Sanhz