Remote Desktop can t connect to the Remote computer Server 2012 R2

Symptoms

When this issue occurs, you receive the following error message that prevents you from accessing the Remote Desktop Services [RDS] server:


Your computer can't connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable. Try reconnecting later or contact your network administrator for assistance.


Additionally, you have to restart the RD Gateway service to regain the access.

You may also notice that the Terminal Services Gateway [TSGateway] svchost.exe process is taking excessive CPU time.

Hotfix information

Important Do not install a language pack after you install this hotfix. If you do, the language-specific changes in the hotfix will not be applied, and you will have to reinstall the hotfix. For more information, see Add language packs to Windows.

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

//support.microsoft.com/contactus/?ws=supportNote The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have April 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 [2919355] installed in Windows Server 2012 R2.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Troubleshoot Remote desktop disconnected errors

  • Article
  • 12/09/2021
  • 19 minutes to read
  • 4 contributors

Is this page helpful?

Yes No
Any additional feedback?

Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy.

Submit

Thank you.

In this article

This article helps you understand the most common settings that are used to establish a Remote Desktop session in an enterprise environment, and provides troubleshooting information for Remote desktop disconnected errors.

Applies to: Windows Server 2012 R2
Original KB number: 2477176

Note

This article is intended for use by support agents and IT professionals.

How to fix ‘remote desktop can’t connect to the remote computer’

Chipotle
OP
CoryHamma
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 16:09 UTC

Califorensics is an IT service provider.

Is the time working properly? For example, is the machine you're connecting from, as well as this server, set to synchronize with a NTP server? I've fixed issues before that occurred when time drift left one of the PCs too far off from each other.
0
· · ·
Cayenne
OP
CoreyN Aug 24, 2016 at 16:11 UTC

Do you receive any error messages when you attempt to remote to it?

Do the event logs show anything?

1
· · ·
Habanero
OP
Tim-H
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 16:12 UTC

I would just start uninstalling all the updates you recently applied until it starts working again.

Why isn't this a VM?

1
· · ·
Cayenne
OP
MulieloDan Aug 24, 2016 at 16:17 UTC

Are you trying to connect with IP, or DNS name? If DNS name, does it resolve to the proper IP address?

And, I know you said you checked them all [the suggestions in that link...], but did you try to reboot the server after you checked them all?

0
· · ·
Thai Pepper
OP
Dan8422
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 16:30 UTC

CoryHamma wrote:

Is the time working properly? For example, is the machine you're connecting from, as well as this server, set to synchronize with a NTP server? I've fixed issues before that occurred when time drift left one of the PCs too far off from each other.
I checked the time. It was OK. But good one. That one has caught me with some other things.
0
· · ·
Chipotle
OP
Pure Genius Aug 24, 2016 at 16:34 UTC

Anything in group policy overriding? Also, I know it's silly, but did you check you are in the Remote Desktop users group?

0
· · ·
Thai Pepper
OP
Dan8422
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 16:35 UTC

The only error message was:

Nothing in the event log. I could even remote registry, remote computer management - everything seemed to be working.

Tried IP & DNS name.

I fixed it but I don't understand why this fixed it. But I'm not going to question why. It's working again.

I went into the Remote tab of computer properties - turned off allow RDC and then turned it back on. That's it. It's working now. Don't know why I didn't try that before. I've been messing around with this for a week or so on and off when I had time.

CRAZY!! Ugh!

1
· · ·
Chipotle
OP
Pure Genius Aug 24, 2016 at 16:38 UTC

I had something similar with a Server 2012 box in recent memory, I just can't remember what fixed it ultimately. I'm happy at least it wasn't too much more than just re-enabling boxes :-]

1
· · ·
Tabasco
OP
TravisIT
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 19:39 UTC

Same exact thing happened to me.

I found that somehow, the current network got switched to Public Network instead of Private Network. RDP is automatically set to deny connections when it's set to a Public Network. I switched my network type to Private and it fixed everything.

EDIT: You can test this by going into the Windows Firewall settings > Inbound > Remote Desktop - User Mode [TCP-In] > Advanced Tab > Check the Public box, then try and RDP into the server.

Edited Aug 24, 2016 at 19:52 UTC
2
· · ·
Thai Pepper
OP
Dan8422
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 24, 2016 at 20:08 UTC

TravisIT wrote:

Same exact thing happened to me.

I found that somehow, the current network got switched to Public Network instead of Private Network. RDP is automatically set to deny connections when it's set to a Public Network. I switched my network type to Private and it fixed everything.

EDIT: You can test this by going into the Windows Firewall settings > Inbound > Remote Desktop - User Mode [TCP-In] > Advanced Tab > Check the Public box, then try and RDP into the server.

I checked that. I've had so many issues with Win7, 8, 10 doing screwy things like that I sort of expected it. But it was good. I still can't believe turning RD off and back on again fixed it. Windoze!
1
· · ·
Serrano
OP
kateswistowicz Aug 24, 2016 at 21:23 UTC

I know this sounds crazy, but I've been having my 12servers changing from the "domain" network to a work or public network [when you hover over the network icon down by the time]. The only way I could force this to recognize that the IP was part of my domain network was to toggle off or on IPv6. I only use IPv4, but I couldn't figure out any other way. Your firewall settings are probably preventing RDP on non-domain networks.

2
· · ·
Thai Pepper
OP
Dan8422
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 25, 2016 at 15:11 UTC

I've had lots of goofiness with IPv6 turned on - on Server 2012 & sometimes on Win10 boxes too. I don't understand why if you don't have it turned on anywhere else - switches, etc. No "one" else should be seeing it in a switched environment if the switches aren't passing the traffic...

Regardless I turn it off on everything that has the option. i hope I'm retired by the time I need IPv6 on the inside of the firewall.

2
· · ·
Pimiento
OP
Mark Cockburn Feb 2, 2018 at 14:31 UTC
1st Post

It's not as crazy as you might think, cause it hit the source of my issue right on the nose! We had a power fluctuation, which caused the server to reboot hard [despite an APC3000RS Smart UPS in place - checking that out now]. The hard reset must have resulted in a fault on the network adapter as it was not showing a connection to the domain/private network. I was able to ping the server's IP address just fine, shared directories were accessible but could not connect via remote desktop.

I disabled and re-enabled the adapter on the server, and it came back up connected to our domain. After that, remote desktop sessions worked as normal.

Thanks katewistowicz!

2
· · ·
· · ·
Pimiento
OP
Theo Quach Sep 17, 2018 at 04:01 UTC
1st Post

A GUI way of making this change:

Hit Winkey R to open Run prompt and type gpedit.mscNavigate to: Computer Configuration/Windows Settings/Security Setting /Network List Manager Policies.Choose your Network name in the right panel.
Note: To show networks not currently connected, right-click Network List Manager Policies in the left pane and choose Show All Networks.

Go to Network Location tab and change the Location type from Public to Private.

Close Local Policy Editor.


0
· · ·
Pimiento
OP
DeanMac Jul 31, 2019 at 20:10 UTC
1st Post

Thanks Mark Cockburn.

Disabled and Enabled the network device and all is well again. One additional note. In my case, the adapter not being connected to the domain meant that the adapter reverted to using the default Firewall profile of "Guest or Public Network" instead of "Domain Networks". RDP connections are not allowed in the Public Network profile. Once I disabled and reenabled the adapter, the adapter saw the domain and the Firewall profile automatically flipped back to "Domain".

Thanks

DMac

0
· · ·
Anaheim
OP
tonyv
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Aug 13, 2019 at 21:24 UTC

Great suggestion! For months I was unable to Remote into one Server 2012r2, and followed your advice to look at Windows Firewall, Advanced Settings, and then enable the Remote Desktop rules for User Mode [TCP-in], User Mode [UDP-in] and Shadow [TCP-in]. NOW I can Remote into it! Thanks lots!

0

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Windows 2012 R2 Remote Desktop Enabled Cannot RDP Connect

Video liên quan

Bài Viết Liên Quan

Toplist mới

Bài mới nhất

Chủ Đề