How do I restart Remote Desktop service remotely?

You guys know you can start a remote command-line session by installed the Windows 2000 ResKit and using rsetup to install Remote Console?

Then you type "rclient <machine name or ip" and you're in a command-line session on that machine :)
 
Only prob I see with the option suggested, is that you loose connection when issueing the "stop service" command. So, how do you enter the start service command when you have no connection? :eek: That's why I'm suprised there is no restart command. Sure, you loose connection, but (depending on the speed of starting the service again) you reconnect after a few seconds.
 
Easy.
From any machine on your domain type tasklist /s \\servername /svc /fi "imagename eq svchost.exe. This will bring up all services running under svchost.exe. Locate the one with the name "TermService" next to it. Note the PID (Process ID) next to it. Let's assume it said its ProcessID was 2201. Your will be different.

From the same command window run taskkill /s \\servername /pid 2201. This will effectively kill the Terminal Service process. MAKE SURE U SPECIFY THE PID. You dont want to kill every svchost.exe process.

To start the service remotely type sc \\servername start TermService

No, this will not bring down you server...
 
Resurrection alert! :rolleyes:

The thread is 4 years old! Problem has surely been solved by now, don't you think? :wtf:
 
Top
Sign up to the MyBroadband newsletter
X