Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

RPD on my windows 2003 server sometimes becomes incapable to accept connections. But netstat shows that port is listened.

c:\> netstat -ano | find "3389"
TCP    192.168.1.1:3389     0.0.0.0:0       LISTENING     3224

nmap from linux machine shows than port is closed. I have tried some recipes and have lost hope =(

so: i can execute tscc.msc and restart listener! can i do that from command line (to write script)?

share|improve this question
    
Why not just stop and restart the Terminal Services service? – joeqwerty Nov 24 '11 at 14:00
    
net stop _servicename_ does not work. @joeqwerty, does windows really not have a mechanism of controlling rdp listeners via command line? When I started to search, I thought that will be very simple – hraphrap Nov 24 '11 at 16:11
    
What doesn't work? Do you get an error message? Are you running: net stop "Terminal Services" with the quotes? – joeqwerty Nov 24 '11 at 16:50
    
It seems, the problem is solved by re-creation of the listener. if problem will appear again, i'll add error message of command 'net stop' – hraphrap Nov 25 '11 at 6:14
    
When I'm entering net stop "Terminal Services", it says: The requested pause or stop is not valid for this service. More help is available by typing NET HELPMSG 2191 – hraphrap Nov 27 '11 at 5:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.