Remote Desktop Connection can't connect to Windows Server 2012

14

2

Mission to Remote Desktop INTO Windows Server 2012 (standalone).

Situation:

  • Control Panel, System, Remote Settings, Remote Desktop – Allow
  • All firewalls off
  • Connect attempt using a known IP address (ping works ok)
  • Connect Option as a user who has already logged on.

Error message:

Remote Access Cannot Connect
1)  Remote access not enabled
2)  Remote computer turned off
3)  Remote computer not available

Additional info:

  • The Server 2012 can RDC OUT.
  • The machines I use to connect IN are Windows 7 and Windows 8, they will RDC to other machines.
  • I have fair experience of configuring remote desktop.

Question:

Is this a fault of beta software on the 2012 server, or is there a new way of getting RDC to work that I am missing?

Guy Thomas

Posted 2012-06-27T09:25:42.077

Reputation: 3 160

Are both on the local network? (I haven't had a chance to test yet, but, this would be the first obvious question). If you don't get an answer in a few hours, I will try to install and test this. – William Hilsum – 2012-06-27T09:28:58.083

Yes, both on the same subnet. The machine is dual boot. When booted into Server 2008 R2 RDC works. But not in Server 2012. – Guy Thomas – 2012-06-27T13:58:15.617

Mabe you need to enable "Remote Desktop" for Domain, Private or Public in "Allow apps to communicate throught Windows Firewall" Cheers – None – 2014-03-14T13:28:04.833

Answers

0

After reviewing all the answers and comments, also trawling the internet for similar problems, my conclusion is that it's a file corruption problem on the Windows 2012 Server computer.

Further indications
a) This test machine has given disk problems before.
b) sfc /scannow reveals errors.

Guy Thomas

Posted 2012-06-27T09:25:42.077

Reputation: 3 160

22

I have noticed that sometime enabling remote desktop does not correctly enable the firewall exception for port 3389. Please check whether the appropriate rule is enabled. If it is, try disabling and immediately enabling the firewall. This worked for me on several occasions.

Nicholas

Posted 2012-06-27T09:25:42.077

Reputation: 321

3It only created the firewall rules for the domain profile for me. I also had to manually enable the public rules. – Joel McBeth – 2014-12-19T15:57:56.830

This is a good answer but I think you could dumb it down a little more and explain how to get to the rules and what rules specifically. For me I typed in "Firewall" in the search bar, clicked Windows Firewall with Advanced Security, clicked Inbound Rules, and enabled Remote Desktop - User Mode (TCP-In) with Profile Public. – Andrew – 2016-10-17T15:30:17.683

This worked for me. After installing 2012 R2 Server, and activating Remote desktop, the firewall still blocked inbound communication from Remote Desktop. I had to manually enable the rules for all network profiles to get it work (in my case 2012 R2 is not configured as a domain server, and I think that's why it recognized my LAN as public LAN.) – Philm – 2013-10-06T02:09:03.730

5I had this problem as well. The Windows Firewall exception that is added by default when RDP is enabled, is only for the private network and in my case, I needed it for the public network. – ub3rst4r – 2013-12-29T19:48:50.833

3

You'll probably need a CAL (Client Access License) in order to access the Windows Server 2012's resources.

JustWondering

Posted 2012-06-27T09:25:42.077

Reputation: 31

3

I was in a similar situation to you OP. I had a group policy to enable RDP. I checked that this was applying, and that I could ping the target server. In the 2012 server manager, it said "Remote Desktop: Enabled".

However, after following the steps posted by sushant (cmd > systempropertiesremote) (which can also be reached by other methods e.g. sysdm.cpl) I reached the "Remote" tab of System Properties and saw that "Don't allow remote connections to this computer" radio button was selected. This was clearly the cause of my issue and as expected, selecting "Allow remote connections to this computer" enabled me to mstsc into the server.

I also had another instance where even though RDC was enabled, the firewall port wasn't opened. I now have as standard in any domain I manage two policies, one to enable RDP, and the other to allow it through the firewall.

Gostega

Posted 2012-06-27T09:25:42.077

Reputation: 31

1

Please check whether you have changed the default keyboards.

I had the same problem but as soon as I selected Keyboard - India, which I configured while installing 2012, the system allowed remote desktop connections again.

Thrivikrama

Posted 2012-06-27T09:25:42.077

Reputation: 11

This was the issue for me, for some reason I noticed that the local admin password was not being accepted anymore, as the keyboard language had changed. After this i noticed RDP was no longer working, I didnt connect the two until this post. Weird bug! – FredoAF – 2016-01-28T16:00:29.953

1

so I came across a problem while setting a static IP on a windows 2012 VM. When the static IP was set my VM became unresponsive to RDP or RDC. how i fixed it?

  1. go to control panel > Network and Internet > Network And Sharing

  2. top left corner change adapter settings

  3. right click on the network that needs the static IP assigned and select properties

  4. Select internet protocol Version 4 (TCP/IPv4)

  5. select use the following IP address and enter your static IP, subnet mask that is provided and default gateway that is provided

  6. Enter given and preferred DNS

  7. click ok and open command prompt and type : ipconfig /flushDNS

in the above command prompt do not use the Collin and there IS a space after ipconfig

  1. after this is done reset the vm and try to rdp to you vm

  2. you vm is now running on static IP

Jay Ess.

JaY EsS

Posted 2012-06-27T09:25:42.077

Reputation: 11

1

I had the same problem with WINDOWS XP client wich could not connect to Windows 2012 R2 Remote Server.

I solved the problem by unchecking this box on the server: "Allow connections only for computers running Remote Desktop with Network Level Authentication (recomended)".

To find this settings on the Windows 2012 R2 : right click on "My Computer", choose "Properties" then "Remote Settings". In the screen wich will pop-up, you will find that checkbox.

Probably XP does not suport "Network Level Authentication" and when the server requires this, the XP client cannot connect.

Toni

Posted 2012-06-27T09:25:42.077

Reputation: 11

I tried unchecking Allow connections only for computers running Remote desktop with Network Level Authentication, as you suggested, unfortunately it did not solve my problem. – Guy Thomas – 2014-01-12T22:00:42.157

0

I've just had this problem connecting to my Windows 2012 R2 domain controller. It turned out that the cause was that the Network Location Awareness service on the DC had set the network connection as Public instead of Domain. The solution that worked for me was to restart the NLA service as described here https://serverfault.com/questions/362374/domain-controller-thinks-its-on-a-public-network.

Randy Orrison

Posted 2012-06-27T09:25:42.077

Reputation: 5 749

0

How to enable Remote Desktop on Windows Server 2012:

  1. Move your mouse to bottom right of the screen and you would see a bar, Charm Bar.
  2. Click on the Search button, the one with magnifying glass. See the screenshot below:
  3. Enter CMD in the Apps search text box:
  4. Click on CMD on the left, it will launch the command prompt:
  5. In command prompt window, type SystemPropertiesRemote and hit Enter
  6. The above command would launch the System Properties windows.
  7. Select the appropriate option under Remote Desktop and click OK.

sushant

Posted 2012-06-27T09:25:42.077

Reputation: 17

Please don't just post links to other sites. Include the essential content here. Also, I don't see how this is answering the question stated. – slhck – 2012-07-18T16:10:54.053

Have you tested your idea on Windows Server 2012? – Guy Thomas – 2012-07-28T20:59:24.527

0

The issue with the default keyboard certainly is one cause.

On one server, I had removed the US keyboard (that was by default configured during installation), then tried to enable RDP, and it did not work.

Once I re-installed the US keyboard, RDP started working!

user250997

Posted 2012-06-27T09:25:42.077

Reputation: 1

0

I had same problem with both XP and Windows 8 clients... it seemed the server wasn't properly connected to the domain, I rebooted server, logged in as Domain Administrator, and then when I tried to connect using RDP the Win 8 machine worked fine, XP wouldn't due to NLA as above.

Stefan

Posted 2012-06-27T09:25:42.077

Reputation: 1