Windows Server 2003: How to restart the Terminal Services service

How do you restart the terminal services service? In MMC (services.msc), it is greyed out. It would be handy to be able to do it if you don’t want to restart the whole server.

The official word from Microsoft is: “The Terminal Services service is an integrated part of the core OS in Windows, that’s why it can’t be stopped or restarted as most other services (it is grayed out).”

The following procedure does the trick:

  1. Open a command prompt
  2. Type in: tasklist /svc /fi “imagename eq svchost.exe”
  3. This will list the different instances of svchost.exe and the associated service and PID
  4. Locate TermService and note the PID for it
  5. Open Task Manager and go to the Processes tab. Then click View > Select Columns and check PID, then click OK
  6. Locate the svchost.exe process with the PID noted in step 4, right click it, select End Process
  7. Open services.msc
  8. Start the Terminal Services service


3 thoughts on “Windows Server 2003: How to restart the Terminal Services service”

  1. Note, if you get the error:
    ERROR: Invalid argument/option - 'eq'.

    Then don't copy and paste the command:
    tasklist /svc /fi "imagename eq svchost.exe"
    Instead, type it in manually due to the quotation marks.

  2. Thank you for this concise work-around to a limitation of Windows 2003. Your article comes up at the top of the search results in Google for obvious reasons.

Leave a Reply

Your email address will not be published. Required fields are marked *