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