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

Terminal Connect to Terminal Services

I cannot access one of our servers via remote desktop.  I could access the sever fine until recently.  

Terminal Services is running

When I try to access via renote desktop I get the following error.

Remote desktop cannot connect for the following reasons.
    Remote desktop cant connect to the server is not enabled
    The remote coputer is turned off
    The remote computer is not available on the network.


I tried connection using both the Ip address and the computer name.
0
Kevin Robinson
Asked:
Kevin Robinson
  • 7
  • 5
1 Solution
 
gvalsekCommented:
obvious question

already rebooted ?
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
yep.
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
By the way the server is working fine besides this.  It has SQL server and IIS running both of which are not effected.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
gvalsekCommented:
can you telnet 3389 port ? (telnet server-ip 3389)
which OS are you running on the server ?
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
could not open connection to the host on port 3389: connection failed.
0
 
gvalsekCommented:
check with this command (copy & paste)

netstat -napo tcp | find ":3389 "

if you receive any output, check the last value is the PID number; it must be the PID of the svchost.exe task that started Terminal Server service; check it with process explorer or with:

tasklist | find "svchost"
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
where should i run this on the client or the server?
0
 
gvalsekCommented:
sorry, on the server
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
on the server nothing returned
0
 
gvalsekCommented:
if you don't see any output, it means that no service is using port 3389 (the endpoint of terminal server), i.e. terminal server is not running

which os are you running on the server ?

if not windows 2000, verify in regedit: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections must be 0 (zero)
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
just ran a port scanner. says port 3389 is closed
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
Just checked Terminal Services manager.  THe connection was disabled.  Can;t believe i missed that.

All working now.
0
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

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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