1

I want to remove the Remote Desktop Session Host on a new VM that was installed as part of a test script to take a vanilla VM to a Terminal Server. However, upon uninstalling the above I wasn't unable to RDP onto the server, so I had to install it back again. How can I remove it and then fix RDP?

This is a Role which isn't installed by default, but when you uninstall it does it effect default configurations that are in place before you install it?

PnP
  • 1,684
  • 8
  • 39
  • 65
  • 1
    Check that Remote Desktop connections are enabled on the Remote tab of the System Properties. – joeqwerty Aug 04 '13 at 15:56
  • Had done that, and deactivated and reactivated it also. – PnP Aug 04 '13 at 15:56
  • Check to see if the Windows Firewall has the appropriate rule enabled. There should be a rule named "Remote Desktop (TCP-in)" that needs to be enabled for the appropriate network profile. – joeqwerty Aug 04 '13 at 16:00
  • This was all configured as it should be, very strange ! – PnP Aug 04 '13 at 17:29
  • What sort of error did you receive on the RDP client? Was it a straight "can't connect" type of error, or perhaps something else like an error saying there are no licenses free? – dbr Apr 10 '15 at 09:35
  • What shows up in Server Manager when you click "Configure Remote Desktop"? [![enter image description here](http://i.stack.imgur.com/TZfQ5.png)](http://i.stack.imgur.com/TZfQ5.png) – Brian Dec 19 '15 at 18:30

1 Answers1

0

Any specific errors on connection attempt on a client side after role removal? (you either may try to look through server logs; even without RDP you should be able to view server logs remotely)

It could easily be something to do with RDS licensing. As you removed RDS role, it left you with only 2 simultaneous RDP connections to the server allowed - so it's make sense to verify whether you have some RDS seesions not properly logged off & preventing you from opening new RDS connection.

You may also try & use mstsc /admin to connect via RDP after role removal (see details on this option in following article Use command line parameters with Remote Desktop Connection)

Mikhail
  • 1,295
  • 3
  • 19
  • 35