Bobcares

Remote Desktop error 0x104 – Different ways to fix it

by | Nov 23, 2020

Remote Desktop error 0x104 occurs while trying to connect to the target system on the same or a different network.

Here at Bobcares, we have seen several such Windows-related errors as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the causes for this error and see the fix.

 

What causes remote desktop error 0x104 to occur

This error message indicates that “We couldn’t connect to the remote PC because the PC can’t be found. Please provide the fully-qualified name or the IP address of the remote PC, and then try again”.

Normally, the error message varies depending upon different scenarios. But often it occurs due to the following reasons.

  • The network discovery option is turned off in the Sharing options.
  • By default for RDP connections, Remote Desktop uses the 3389 port. In case, if it is blocked by Windows Firewall then it is not possible to establish a connection.
  • Some custom DNS servers might also create an issue.

For instance, the error appears as below.

remote desktop error 0x104

 

How we fix the remote desktop error 0x104

Now let’s take a look at how our Support Engineers resolve this error for our customers.

 

Solution 1: Turn on Network Discovery

Network Discovery helps in determining whether the system can see/scan other systems on the network or not. We make sure this option is turned on to establish an RDP connection. Here is how we do it:

1. First, we open the Control Panel.
2. Next, we go to Network and Internet > Network and Sharing Center.
3. Then, on the left-hand side, we click on ‘Change advanced sharing settings’.
4. After that we expand the network profile that we are currently using and select ‘Turn on network discovery’.
5. Finally, we click Save Changes.

 

Solution 2: Allow Port 3389 Port through Firewall

By default for RDP connections, Remote Desktop uses the 3389 port. In case, if it is blocked by Windows Firewall then we won’t be able to make a connection. Also, we ensure to set a strong password and username for connection to avoid malicious attackers. Here is how we allow the port through the firewall:

1. First, we open up the Start Menu by pressing the Windows Key.
2. Next, we type in Remote Settings and hit Enter. This will open up the System window.
3. Then we click on Remote settings that is present on the left-hand side.
4. Under Remote Desktop in the Remote tab, we make sure ‘Allow remote connections to this computer’ is selected.
5. Now, we open the Control Panel.
6. Here we go to ‘System and Security’ >> ‘Windows Defender Firewall’.
7. Then we click on ‘Advanced settings’ that is present on the left-hand side.
8. Now, we select ‘Inbound Rules’ and then search for Remote Assistance (RA Server TCP-In). We make sure it is enabled.
9. Now we look for ‘Remote Desktop – User Mode (TCP-In and UDP-In)’. We make sure they are enabled and 3389 is the port.
11. Finally, we try establishing a connection again.

 

Solution 3: Clear Custom DNS Servers

We clear the custom DNS server(s) before establishing a remote connection. This applies to both the host and target system. Here is how we do it:

1. First, we right-click on the Network icon in the taskbar and select Open Network and Internet settings.
2. Next, we click on ‘Change adapter options’.
3. After that, we right-click on the adapter and select Properties.
4. Here we highlight Internet Protocol Version 4 and select Properties.
5. Also, we make sure that the ‘Obtain DNS server address automatically’ is selected.
6. Finally, we click OK and try connecting again.

 

Solution 4: Enable Remote Desktop settings

Here are the steps that we follow to check whether the Remote desktop settings are enabled on the computer or not.

1. First, we press Windows key+I.
2. After that, we go to the “System“.
3. On the left-hand side, when the System window appears, we scroll down to choose the “Remote Desktop“.
4. On the right side, we check if the “Enable Remote Desktop” is switched to “ON” or not.

 

Solution 5: Make Sure That All Computers Use the Same Type of Network Profile.

1. First, we click on the network icon in the taskbar.
2. Next, we connect to any preferrable network.
3. Then we click on Properties.
4. In the Settings for All PCs window, we select Public or Private.
5. Now finally, we try to see if this solves the problem.

 

Solution 6: Run SFC scan in PowerShell (Admin)

1. Press Win+X >> select PowerShell (Admin).
2. Next, we type the below command and press Enter.

/sfc scannow

3. It takes some time for the process to complete. Then we check if the issue persists.

[Need any further assistance in fixing Windows errors? – We are here to help you]

 

Conclusion

In short, this error occurs while trying to connect to the target system on the same or a different network. Today, we saw the solution provided by our Support Engineers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Manas

    Thank you. I think the first solution worked for me. When I turned on the Netwrok Discovery , the computer showed up on the network. Guess this should be a trigger for the remote desktop app providing the services to do it automatically. Also after connecting ,the username can be found at system summary in W10

    Reply
    • Hiba Razak

      Thanks for the feedback.We are glad to know that it worked for you ?

      Reply

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF