Monday, January 14, 2013

How do I restart the Remote Desktop Service on a Server 2003 system without rebooting the system?

The Terminal Services service is run as a SVCHost.exe process. The first step in stopping it requires identifying the correct process. On your Windows 2003 Server, open up a command prompt. At the prompt, type:
tasklist /svc

Scroll through the output until you find 
svchost.exe XXXX TermServices
where XXXX is the process id.

At the same prompt, type 
taskkill /PID XXXX /F
where XXXX is the process id you got from the previous command.

Type:
services.msc
and hit enter. Then type Exit and hit enter. The command prompt will close and the services window will open. Scroll through the list of services until you find Terminal Services. Right click on the service and select Start from the popup menu.

No comments: