How to Fix Remote Desktop Error 0x904 in Windows 11/10
To fix Remote Desktop error 0x904 in Windows, check your internet connection, enable Remote Desktop, verify firewall permissions, restart Remote Desktop services, and update your network drivers. You should also confirm that the remote computer is reachable and that your Windows account has permission to connect remotely.
Don’t worry if these quick steps are find tough to understand.
In this guide, we’ll walk through several practical solutions to fix Remote Desktop error 0x904 in Windows 11 and Windows 10.
File Remote Desktop Error 0x904 in Windows

The Remote Desktop error 0x904 occurs when the Remote Desktop client cannot successfully establish or maintain a connection with the remote computer. Depending on your setup, the problem may involve network communication, security settings, firewall rules, or Remote Desktop configuration.
Before trying the solutions, make sure both computers are powered on and connected to a working network. Also, confirm that you have the correct computer name or IP address and valid login credentials.
Let’s explore the fixes in detail!
Step 1: Check the Extended Error Code
Before changing any Windows settings, it’s worth checking whether Remote Desktop is displaying an additional error code.
In some cases, error 0x904 appears with an Extended error code: 0x7. This combination can indicate a TLS (Transport Layer Security) compatibility problem between the client and remote computer.
For example, your Windows 10 computer might connect to a remote server successfully, while your Windows 11 computer fails with error 0x904. This can happen when the two computers support different TLS versions or cipher suites.
To check the error details, open Remote Desktop Connection by pressing Windows + R, typing mstsc, and pressing Enter.
Enter the remote computer’s name or IP address and attempt to connect. If the error appears, expand the details section and look for the extended error code.
If you see 0x7, pay particular attention to the TLS troubleshooting steps later in this guide.
Step 2: Check Your Internet and Network Connection
A weak or unstable network connection can interrupt communication between your computer and the remote system.
Start by checking whether your internet connection is working properly. Open your browser and visit a few websites to confirm that you can access the internet.
Next, check whether your computer can communicate with the remote machine.
Press Windows + R, type cmd, and press Enter. In Command Prompt, enter the following command:
ping 192.168.1.100
Replace the example IP address with the actual IP address of your remote computer.
If you receive replies, your computer can communicate with the remote system at the network level. However, this doesn’t guarantee that Remote Desktop is working.
If you see a request timed-out message, check your network connection, VPN settings, and firewall configuration. Also, make sure the remote computer is switched on and connected to the network.
Step 3: Make Sure Remote Desktop Is Enabled
Remote Desktop must be enabled on the computer you want to access. Otherwise, your Windows PC won’t be able to establish a remote session.
To check this setting, open Settings on the remote computer.
Navigate to System > Remote Desktop.
Find the Remote Desktop option and make sure its switch is turned on. If Windows asks you to confirm the change, select Confirm.
Next, check whether your Windows account has permission to access the computer remotely.
Open the Remote Desktop settings and select Remote Desktop users. Make sure your account is listed. If it isn’t, add the correct user account.
Remember that Windows Home editions cannot act as incoming Remote Desktop hosts using Microsoft’s standard Remote Desktop feature. You’ll need a supported Windows edition on the computer receiving the connection.
Step 4: Allow Remote Desktop Through Windows Firewall
Windows Firewall can sometimes block incoming Remote Desktop connections, preventing your computer from communicating with the remote machine.
To check the firewall settings, press Windows + R, type:
firewall.cpl
Press Enter to open Windows Defender Firewall.
Select Allow an app or feature through Windows Defender Firewall from the left panel.
Click Change settings and find Remote Desktop in the list.
Make sure the option is allowed for the appropriate network profiles. For a trusted home or office network, select the relevant Private or Domain option.
Click OK to save the changes.
If you’re using a third-party firewall or antivirus program, check its network protection settings too. Don’t permanently disable your firewall just to test a connection. Instead, create an appropriate Remote Desktop exception.
Step 5: Restart Remote Desktop Services
Sometimes, Remote Desktop services stop responding correctly because of temporary Windows issues or service-related problems.
Restarting these services can help restore normal connectivity.
Press Windows + R, type services.msc, and press Enter.
The Services window will appear. Scroll down and locate Remote Desktop Services.
Right-click it and select Restart if that option is available. If the service isn’t running, select Start.
Now locate Remote Desktop Services UserMode Port Redirector and check its status as well.
These services help manage Remote Desktop connections and related redirection features. Make sure they are running on the affected computer.
Once you’ve restarted the services, close the Services window and try connecting again.
Step 6: Check TLS and Cipher Suite Compatibility
(Important for error 0x904 with extended code 0x7)
If you’re still experiencing the problem, especially when Windows 10 connects successfully but Windows 11 doesn’t, check the TLS configuration.
TLS is a security protocol that protects communication between computers. Remote Desktop uses secure communication mechanisms, and incompatible TLS versions or cipher suites can prevent a connection from being established.
In some reported cases, the remote server’s Event Viewer records an error stating that none of its supported cipher suites match those offered by the connecting client. This is a particularly useful clue when diagnosing error 0x904.
To investigate the issue, open Event Viewer on the remote computer.
Press Windows + R, type eventvwr.msc, and press Enter.
Expand Windows Logs and select System.
Look for Schannel-related errors around the time you attempted the Remote Desktop connection.
If you find a message mentioning unsupported cipher suites or a failed TLS handshake, the issue is likely related to security protocol compatibility.
You or your system administrator should compare the TLS protocol and cipher suite configurations on both computers.
Pay particular attention to the following registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols
This location contains Windows Schannel protocol configuration. However, don’t randomly change registry values or enable outdated TLS versions to force a connection.
Instead, make sure both systems support compatible, secure TLS configurations. If the remote computer is managed by an organization, ask its administrator to review the server’s TLS and cipher suite policies.
Step 7: Check the Remote Desktop Port
Remote Desktop normally uses TCP port 3389 to establish connections. If another application is using this port or a firewall is blocking it, your connection may fail.
You can check whether the remote computer is listening on port 3389.
On your local computer, open Windows PowerShell and enter:
Test-NetConnection -ComputerName 192.168.1.100 -Port 3389
Replace the IP address with your remote computer’s address.
Look for the TcpTestSucceeded result.
If it displays True, the connection to port 3389 is working. If it displays False, something may be blocking the connection or the remote computer may not be listening on that port.
Check the Windows Firewall inbound rules on the remote computer. Look for Remote Desktop – User Mode (TCP-In) and make sure the appropriate rule is enabled.
If your organization uses a different Remote Desktop port, use that port instead of 3389.
Step 8: Update Your Network Drivers
Outdated or malfunctioning network drivers can cause connectivity problems between Windows computers.
To update your network driver, right-click the Start button and select Device Manager.
Expand the Network adapters section. You’ll see the network devices installed on your computer.
Right-click your active Wi-Fi or Ethernet adapter and select Update driver.
Choose Search automatically for drivers and allow Windows to check for available updates.
If Windows doesn’t find a newer driver, visit your computer manufacturer’s official website and look for the latest network driver compatible with your Windows version.
Download and install the appropriate driver, then restart your computer.
Try connecting through Remote Desktop again to see whether the error has disappeared.
Step 9: Install Pending Windows Updates
Microsoft regularly releases Windows updates that include security improvements, compatibility fixes, and updates to system components.
If your Windows 11 computer is missing important updates, installing them may help resolve compatibility problems.
Open Settings and navigate to Windows Update.
Click Check for updates and allow Windows to search for available updates.
If updates are available, download and install them. Also, check the optional updates section for relevant network or system driver updates.
Restart your computer after installation.
If you’re troubleshooting a connection between Windows 11 and an older Windows Server, make sure the remote system is also receiving appropriate security and compatibility updates.
Step 10: Verify the Remote Desktop Connection Settings
Incorrect connection settings can sometimes prevent Remote Desktop from connecting properly.
Press Windows + R, type mstsc, and press Enter.
In the Remote Desktop Connection window, select Show Options.
Open the General tab and verify that the computer name or IP address is correct. Also, check that you’re using the correct username.
If you’re connecting through a Remote Desktop Gateway, open the Advanced tab and review the gateway settings.
Make sure the gateway address and authentication configuration match the requirements provided by your organization.
Save the correct connection settings and attempt to connect again.
If the problem continues, compare the settings with a Windows 10 computer that can successfully connect to the same remote machine. This can help identify differences in client configuration.
FAQs
1. What does Remote Desktop error 0x904 mean?
Remote Desktop error 0x904 indicates that the client couldn’t successfully establish or maintain a remote connection. Possible causes include network problems, firewall restrictions, Remote Desktop configuration issues, or TLS compatibility problems.
2. Why does Remote Desktop work on Windows 10 but not Windows 11?
This can happen because Windows 10 and Windows 11 may have different security configurations, TLS settings, or supported cipher suites. If the error includes extended code 0x7, check the Schannel errors in Event Viewer to investigate a possible TLS handshake failure.
3. What is extended error code 0x7 in Remote Desktop?
Extended error code 0x7 can appear alongside error 0x904. In some reported cases, it is associated with a TLS cipher suite mismatch between the Remote Desktop client and server. Checking the server’s Schannel logs can help identify the actual problem.
4. Which port does Windows Remote Desktop use?
Windows Remote Desktop normally uses TCP port 3389. However, administrators can configure a different port. The firewall and client connection settings must match the configured port.
5. Can Windows Firewall cause Remote Desktop error 0x904?
Yes. Windows Firewall or a third-party security application can block Remote Desktop traffic. Make sure the appropriate Remote Desktop inbound rules are enabled on the remote computer.
