Restart service remote

T

Tomas

Hello

Is there any way to restart services on a remote machine
from the command prompt?

Regards

Tomas
 
D

Dean Wells [MVP]

Tomas said:
Hello

Is there any way to restart services on a remote machine
from the command prompt?

Regards

Tomas

SC.EXE supplied with the Support Tools.

sc \\<machine name> stop <service image name>
sc \\<machine name> start <service image name>

HTH

Dean
 
D

Dean Wells [MVP]

Mark said:
Dean Wells [MVP] wrote in
Tomas said:
Hello

Is there any way to restart services on a remote machine
from the command prompt?
[ ]

SC.EXE supplied with the Support Tools.

sc \\<machine name> stop <service image name>
sc \\<machine name> start <service image name>

I don't seem to have SC.EXE with the W2K Support Tools (original or
SP3 or SP4)... Perhaps it is ResKit only?

In any case see also PSSERVICE (3rd-party) at sysinternals.com

My apologies, according to my Google searches it would appear to be a
Resource Kit tool for Windows 2000 and part of the base media for
Windows XP and Server 2003.

The sysinternals tools are indeed most helpful, I use them extensively
myself, but difficult (if not impossible) to persuade corporate
customers to utilize (without facing substantial political hurdles) ...
thus the MS solution.

Dean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top