• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

RDP on Windows 2012 R2 -- unable to establish a connection ?

How can I RDP into my below VM ?

Steps I did
 1. logged into PHYSICAL server
 2. used "Hyper-V Manager" to reboot Windows 2012 R2 VM
      ** open DOS prompt
      ** type "qwinsta" to make sure no other users are logged in
 3. made sure "Remote Desktop Services" and other SERVICES started
 4. retested RDP by IP address (to avoid a DNS issue)
      ** made sure I could PING the above IP address
 5. still failed with GENERIC "unable to establish a connection" error
 6. made sure VM still had "Remote Management" and "Remote Desktop" ENABLED
 7. rebooted my PC
 8. did above #2-#6 again
 9. still failed
10. made sure I can still connect to other VMs on the same PHYSICAL server
I also did the below, rebooted, and still have the same issue

Enable Multiple RDP Sessions
 1.Log into the server using Remote Desktop.
 2.Open the start screen (press the Windows key) and type gpedit.msc and open it
 3.Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
 4.Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Disabled.
 5.Double click Limit number of connections and set the RD Maximum Connections allowed to 999999.
  • 2
1 Solution
Michael MachieFull-time technical multi-taskerCommented:
Two things i do not see in your steps.  

Verify the user has rights to rdp to that server by being in the remote desktop users group. Either the specific domain or local logon account or a group that includes the User in question needs to be allowed permission to RDP to it.
- an option to 'assign users' should be visible in the screen where RDP is activated
- alternatively, access "computer management -> local users and groups -> groups -> remote desktop" and add the user account there.

Verify either the Firewall is turned off for the zone that matches the logon account or has an exception for your RDP port [default is port 3389]. You can validate whether or not this is the issue quickly by disabling windows firewall on the server entirely and reconnecting via rdp. If connection succeeds it is a firewall issue.

You may want to disable the firewall first because one or the other of the two above could still block access. Whether or not the user is added to the RDP group on the server the Firewall could still block rdp sessions if it is enabled without an exception for the rdp port.
finance_teacherAuthor Commented:
Attached was causing my issue
Michael MachieFull-time technical multi-taskerCommented:
Totally explains it!

Also, watch out for the firewall being re-enabled after windows updates apply, sometimes even after simple reboots.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now