Server not listening on port 3389?

  • Thread starter Thread starter Kasper Nordal Lund
  • Start date Start date
K

Kasper Nordal Lund

Guest
Hello.

I'm running a windows server 2003 std. which arent responding to remote
desktop connections anymore.

Here is what I have tried to fix it so far:
I have uninstalled terminal services, and is just using the remote
desktop feature under the remote tab, in system settings.

I have tried to troubleshoot with the sc command, here is some info:

C:\Documents and Settings\Administrator>sc query termservice

SERVICE_NAME: termservice
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(NOT_STOPPABLE, NOT_PAUSABLE,
IGNORES_SHUTDOWN))

WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Documents and Settings\Administrator>


C:\Documents and Settings\Administrator>sc qc termservice
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: termservice
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k termsvcs
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Terminal Services
DEPENDENCIES : RPCSS
SERVICE_START_NAME : LocalSystem

C:\Documents and Settings\Administrator>


C:\Documents and Settings\Administrator>sc query rpcss

SERVICE_NAME: rpcss
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(NOT_STOPPABLE, NOT_PAUSABLE,
IGNORES_SHUTDOWN))

WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Documents and Settings\Administrator>


C:\Documents and Settings\Administrator>sc qc rpcss
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: rpcss
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\system32\svchost.exe -k rpcss
LOAD_ORDER_GROUP : COM Infrastructure
TAG : 0
DISPLAY_NAME : Remote Procedure Call (RPC)
DEPENDENCIES :
SERVICE_START_NAME : NT Authority\NetworkService

C:\Documents and Settings\Administrator>

According to me, everything looks fine.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp

Has "portnumber" 3389

But no result with netstat:

C:\Documents and Settings\Administrator>netstat /an | find /i "3389"

C:\Documents and Settings\Administrator>

I have tried to change the listening port in the above reg key, but the
server is not listening on the new port either.

I have tried to make a ts.inf containing the following:

[Components]
TSClients=On
TSEnable=On
TSKeyboardDrivers=On
TSPrinterDrivers=On

[TerminalServices]
ApplicationServer=0

And run the following command

sysocmgr /i:sysoc.inf /u:ts.inf

The terminal services get reconfigured/reinstalled?

Still no result.

In "terminal services configuration" under connections I have removed
the existing RDP-tcp connection and tried to create a new, but the
existing connection never gets deleted. When i try to create a new
connection it says that it has to have a unique "connection type",
"transport type" or "network adaptor" - but I have just deleted the old one?

I reboot the server and a new connection is automagically made?

Thats about what i have tried - but no result.

Anyone with any suggestions?

/Kasper
 
Re: Server not listening on port 3389?

Are you still having this problem? Have you checked the event log? If the
listener fails it should write something to the event log. Also, have you
tried the qwinsta command?

Thx. Alice

--
Alice Kupcik
Program Manager - Microsoft
http://blogs.msdn.com/ts

This posting is provided "AS IS" with no warranties, and confers no rights.


"Kasper Nordal Lund" <fake@usenet.com> wrote in message
news:OhgOTrJaIHA.4180@TK2MSFTNGP06.phx.gbl...
> Hello.
>
> I'm running a windows server 2003 std. which arent responding to remote
> desktop connections anymore.
>
> Here is what I have tried to fix it so far:
> I have uninstalled terminal services, and is just using the remote desktop
> feature under the remote tab, in system settings.
>
> I have tried to troubleshoot with the sc command, here is some info:
>
> C:\Documents and Settings\Administrator>sc query termservice
>
> SERVICE_NAME: termservice
> TYPE : 20 WIN32_SHARE_PROCESS
> STATE : 4 RUNNING
> (NOT_STOPPABLE, NOT_PAUSABLE,
> IGNORES_SHUTDOWN))
>
> WIN32_EXIT_CODE : 0 (0x0)
> SERVICE_EXIT_CODE : 0 (0x0)
> CHECKPOINT : 0x0
> WAIT_HINT : 0x0
>
> C:\Documents and Settings\Administrator>
>
>
> C:\Documents and Settings\Administrator>sc qc termservice
> [SC] QueryServiceConfig SUCCESS
>
> SERVICE_NAME: termservice
> TYPE : 20 WIN32_SHARE_PROCESS
> START_TYPE : 2 AUTO_START
> ERROR_CONTROL : 1 NORMAL
> BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k termsvcs
> LOAD_ORDER_GROUP :
> TAG : 0
> DISPLAY_NAME : Terminal Services
> DEPENDENCIES : RPCSS
> SERVICE_START_NAME : LocalSystem
>
> C:\Documents and Settings\Administrator>
>
>
> C:\Documents and Settings\Administrator>sc query rpcss
>
> SERVICE_NAME: rpcss
> TYPE : 20 WIN32_SHARE_PROCESS
> STATE : 4 RUNNING
> (NOT_STOPPABLE, NOT_PAUSABLE,
> IGNORES_SHUTDOWN))
>
> WIN32_EXIT_CODE : 0 (0x0)
> SERVICE_EXIT_CODE : 0 (0x0)
> CHECKPOINT : 0x0
> WAIT_HINT : 0x0
>
> C:\Documents and Settings\Administrator>
>
>
> C:\Documents and Settings\Administrator>sc qc rpcss
> [SC] QueryServiceConfig SUCCESS
>
> SERVICE_NAME: rpcss
> TYPE : 20 WIN32_SHARE_PROCESS
> START_TYPE : 2 AUTO_START
> ERROR_CONTROL : 1 NORMAL
> BINARY_PATH_NAME : C:\WINDOWS\system32\svchost.exe -k rpcss
> LOAD_ORDER_GROUP : COM Infrastructure
> TAG : 0
> DISPLAY_NAME : Remote Procedure Call (RPC)
> DEPENDENCIES :
> SERVICE_START_NAME : NT Authority\NetworkService
>
> C:\Documents and Settings\Administrator>
>
> According to me, everything looks fine.
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
> Server\WinStations\RDP-Tcp
>
> Has "portnumber" 3389
>
> But no result with netstat:
>
> C:\Documents and Settings\Administrator>netstat /an | find /i "3389"
>
> C:\Documents and Settings\Administrator>
>
> I have tried to change the listening port in the above reg key, but the
> server is not listening on the new port either.
>
> I have tried to make a ts.inf containing the following:
>
> [Components]
> TSClients=On
> TSEnable=On
> TSKeyboardDrivers=On
> TSPrinterDrivers=On
>
> [TerminalServices]
> ApplicationServer=0
>
> And run the following command
>
> sysocmgr /i:sysoc.inf /u:ts.inf
>
> The terminal services get reconfigured/reinstalled?
>
> Still no result.
>
> In "terminal services configuration" under connections I have removed the
> existing RDP-tcp connection and tried to create a new, but the existing
> connection never gets deleted. When i try to create a new connection it
> says that it has to have a unique "connection type", "transport type" or
> "network adaptor" - but I have just deleted the old one?
>
> I reboot the server and a new connection is automagically made?
>
> Thats about what i have tried - but no result.
>
> Anyone with any suggestions?
>
> /Kasper
 
Back
Top