Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
FREEDOM251

Freedom251 › Blog › networking

How to Fix “0x80004oo5” Failed RDP—and Verify the Error Code

By Freedom251 Team · · 9 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If Remote Desktop reports 0x80004oo5, first verify every character. The supplied text contains the letter o, not zeroes, and may be a transcription error; a visually similar value is 0x80004005, but those two codes should not be treated as identical without checking the original client message, Event Viewer entry, or support log. In practice, failed RDP connections most often trace to a stopped Remote Desktop listener or service, an unreachable TCP port, incorrect DNS or firewall settings, a port conflict, or certificate and security-negotiation problems.

Work through the checks below in order. The Test-NetConnection result and the listener state provide the fastest branch between a network fault and a problem on the target computer.

As an Amazon Associate I earn from qualifying purchases.

What the error means—and why the spelling matters

There is no safe fix based only on the text “0x80004oo5.” Windows hexadecimal error values use numerals, so the two lower-case o characters are a reason to stop and capture the exact message. Open the RDP client’s error dialog again, check the relevant Event Viewer entry, or obtain the value from the diagnostic log. Record whether the code is actually 0x80004oo5, 0x80004005, or another value before changing settings.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Microsoft’s RDP troubleshooting guidance identifies two broad root causes: a nonworking RDP-TCP listener and incorrect network configuration. Other documented checks cover the Remote Desktop services, listener certificate, MachineKeys permissions, listener port, port conflicts, firewall rules, authentication, and encryption. The procedure below separates those causes instead of applying registry edits blindly.

Use the first test to separate network and server problems

Observation Most likely area Next check
The target is powered off, asleep, disconnected, or unavailable through console management Target state or physical/cloud availability Restore power or access, then retest before changing RDP settings.
TcpTestSucceeded : False when testing the target on TCP 3389 DNS, routing, firewall, security group, or a non-listening port Test the target IP, inspect network controls, and verify the configured port.
TCP 3389 succeeds but RDP still fails Listener configuration, certificate, authentication, encryption, or client policy Check services, qwinsta, certificate and security settings.
rdp-tcp appears in Listen The listener is running; failure is likely later in negotiation or authentication Review certificate, MachineKeys, authentication, encryption, and client limits.

Run the network test from the computer that cannot connect, replacing <host> with the target’s DNS name:

Test-NetConnection -ComputerName <host> -Port 3389 -InformationLevel Detailed

TcpTestSucceeded : False means the path to that host and port is not working. A successful result moves the investigation toward the target’s RDP configuration, listener, certificate, authentication, or encryption. Repeat the test with the target’s IP address. If the IP works but the hostname fails, investigate DNS rather than changing RDP security settings.

1. Confirm the target computer is available

Before modifying Windows, confirm that the remote computer is running and connected to the expected network. A server that is powered down, sleeping, disconnected, or blocked by a cloud or perimeter network control cannot accept an RDP session.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Use console, hypervisor, out-of-band, or other local administration access if available.
  • Confirm the machine has the expected IP address and responds on its management network.
  • If possible, perform a localhost RDP test from the target itself. A localhost failure points to the target’s RDP stack; a localhost success combined with a remote failure points toward the network path or access controls.

Do not interpret an unreachable target as proof that the error code identifies a damaged Windows component. Establishing reachability is the first diagnostic boundary.

2. Verify that Remote Desktop is enabled and its services are running

On the target, open the Windows Remote Desktop settings and confirm that incoming Remote Desktop connections are allowed. Organization policy can override the graphical setting, so a setting that appears enabled should still be checked against policy and service state.

In the Services console (services.msc), check these services:

  • Remote Desktop Services (TermService)
  • Remote Desktop Services UserMode Port Redirector (UmRdpService)

Both should be running when the system is expected to accept RDP connections. Start a stopped service, or restart it during an approved maintenance window. Restarting Remote Desktop Services can disconnect existing sessions, so warn users first.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

If policy or registry configuration is suspected, inspect the relevant values rather than changing unrelated keys:

  • fDenyTSConnections should permit connections (a value of 0 normally permits them; policy can still take precedence).
  • fEnableWinStation should enable the RDP WinStation where that setting is used.

Registry changes affect availability and should be made only after exporting the key or otherwise recording the original state. Reboot or restart the affected service only when the change and its rollback are understood.

3. Check whether the RDP-TCP listener is actually listening

Open an elevated Command Prompt on the target and run:

qwinsta

Find the line for rdp-tcp. Microsoft’s documented interpretation is direct: when that line is in the Listen state, the RDP-TCP listener is running. If the line is absent or has another state, the service may be stopped, the listener may be misconfigured, or a port conflict may prevent it from binding.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

After confirming the services in the previous step, restart them if permitted and run qwinsta again. If the listener still will not reach Listen, record the service events from Event Viewer before attempting repairs. Look under the Remote Desktop Services and TerminalServices-related logs, noting timestamps that match the failed connection.

A listener failure is a server-side problem even when the client displays a generic “Remote Desktop can’t connect to the remote computer” message. Do not spend time changing client display or credential options until the listener is healthy.

4. Test DNS, routing, and the firewall path

Use the detailed PowerShell test from the client:

Test-NetConnection -ComputerName <host> -Port 3389 -InformationLevel Detailed

Then repeat it with the target IP address. Interpret the two results together:

Rank #3
  • Hostname fails and IP fails: investigate routing, host availability, Windows Firewall, cloud security groups, VPN access, or a different listener port.
  • Hostname fails but IP succeeds: investigate DNS records, suffix search order, stale cache, or name resolution on the client.
  • Both succeed: the network path reaches TCP 3389; continue with listener, certificate, authentication, encryption, and client-policy checks.

On the target, confirm that the inbound Remote Desktop firewall rules are enabled for the network profile in use. A local firewall can block the port even when the service and listener are running. In hosted or segmented environments, also check network security groups, access-control lists, VPN rules, and intermediate firewalls. Opening a port broadly is not a substitute for allowing the required source networks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Verify the listener port and look for conflicts

The default RDP listener port is TCP 3389. A server may intentionally use another port, but the client must specify that port and every firewall or security control must allow it.

On the target, verify the RDP-Tcp PortNumber setting under:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp

Use the value’s documented base and record whether it represents the expected decimal port. If the value is not 3389, connect with the explicit form hostname:port or IP:port. Do not change a custom port merely to make it match an example; first establish why the custom value exists.

Check whether another process has claimed the intended port. An elevated command can show listeners and their process IDs:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
netstat -ano | findstr :3389

Match any listed process ID with Task Manager or an approved process-inspection method. Resolve the conflict by correcting the other application or by deliberately assigning and documenting a different RDP port. After a port change, restart the relevant service, update the firewall and network controls, and test with the explicit port from the client.

Changing a port without updating the client creates a new, avoidable failure. Changing it without checking perimeter controls can make the server unreachable from every remote location.

Rank #4
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students | Backlit Keyboard WiFi 6 (2 cores, 4 Threads, up to 3.4GHz) 12GB RAM 256GB SSD TF Card Expandable to 2TB
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

6. Review certificates and security negotiation only after connectivity works

When TCP reachability is confirmed and rdp-tcp is listening, inspect the target’s Remote Desktop certificate and security negotiation. A corrupted or unusable listener certificate can stop a session after the port accepts the connection. Microsoft’s checklist also calls out permissions on the system’s MachineKeys location.

  • Review the Remote Desktop certificate presented by the listener and look for expiration, corruption, or an unusable private key.
  • Confirm that the service account can read the required private-key material in the MachineKeys store. Do not replace permissions wholesale; preserve existing ownership and access-control entries.
  • Compare the client and target authentication settings, including Network Level Authentication requirements, with the organization’s supported policy.
  • Compare encryption or security-layer settings on both ends. A mismatch can fail after the network test succeeds.

Certificate replacement and MachineKeys permission repairs can affect other Windows cryptographic services. Back up the relevant certificate or configuration, make the smallest change indicated by the event log, and document how to restore the previous state. Avoid deleting certificates or resetting permissions as a generic “fix.”

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

7. Check client-side limits and connection settings

If other computers can reach the target but one client cannot, investigate the client and its session policy. Documented client-side causes include connection limits, port assignment conflicts, incorrect authentication or encryption settings, and certificate corruption.

  • Confirm the client is using the intended hostname or IP and, for a custom listener, the explicit port.
  • Remove an obsolete saved connection or recreate the entry so an old port, gateway, or security choice is not reused.
  • Check whether a Remote Desktop gateway, proxy, VPN, or local firewall is applying a different path than the direct TCP test.
  • Compare authentication and encryption choices with a known-working client, without weakening security policy merely for testing.
  • Check whether the target has reached its permitted session or connection limit. Existing sessions may need to be ended by an administrator under the applicable policy.

Testing from a second, authorized client is useful: if both clients fail, concentrate on the target or network; if only one fails, compare its RDP settings, updates, certificates, and route.

8. Use logs to choose the next repair

Collect the exact timestamp, source computer, target name or IP, port tested, TcpTestSucceeded result, qwinsta output, and the literal error text. In Event Viewer, review the Remote Desktop Services and related Terminal Services operational and administrative logs around that timestamp. Look for messages about listener startup, certificate access, authentication, encryption, or a refused port.

This evidence prevents two common mistakes: treating a DNS failure as a certificate problem and applying a registry change when the listener is simply blocked by a firewall. If logs identify a policy, certificate, or permission failure, involve the administrator responsible for that policy before changing it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

9. When to stop and escalate

Escalate when the target is reachable but the listener will not enter Listen, when certificate or MachineKeys repairs would affect shared cryptographic services, when an organization policy immediately reverses a setting, or when multiple servers show the same failure. Provide the captured code, client and target versions, network-test output, listener state, port configuration, relevant event IDs and timestamps, and the changes already attempted.

Do not make unbacked registry edits, disable authentication or encryption permanently, delete listener certificates, or open TCP 3389 to unrestricted networks. Those actions can hide the original cause and increase exposure without proving that the RDP failure is fixed.

Manual-fix checklist

  1. Capture the exact error text and verify whether the characters are zeroes or the letter o.
  2. Confirm the target is powered on, connected, and locally accessible.
  3. Confirm Remote Desktop is enabled and TermService and UmRdpService are running.
  4. Run qwinsta and verify rdp-tcp is in Listen.
  5. Run Test-NetConnection to the expected host and TCP port, then repeat with the IP address.
  6. Inspect Windows Firewall and any cloud or intermediate network controls.
  7. Verify PortNumber, check for a port conflict, and use hostname:port for an intentional custom port.
  8. Only after connectivity and listener state are healthy, review certificates, MachineKeys permissions, authentication, encryption, and client limits.
  9. Record the evidence and escalate rather than making speculative registry or certificate changes.

As an optional shortcut after the manual checks, Outbyte PC Repair can look for more than 100 common Windows issues, including broken system elements and shared DLL problems, and can apply selected cleanup and settings checks; it includes a free trial by category for at least two days before a subscription. It complements antivirus software rather than replacing it, results vary, and no tool repairs every RDP failure.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

networkingRDPRemote DesktopTroubleshootingWindows

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.