Remote start /stop of services

  • Thread starter Thread starter mark klompas
  • Start date Start date
M

mark klompas

Does anyone know if it is possible to start/stop a
service on ony server from another within a bactch file
in Windows 2000 Server?

Any thoughts appreciated.

Mark
 
mark said:
Does anyone know if it is possible to start/stop a
service on ony server from another within a bactch file
in Windows 2000 Server?

Hi

A)
Sysinternals has a command line utility PsService.exe that can do this:

http://www.sysinternals.com/ntw2k/freeware/pstools.shtml


B)
You can use Microsoft's command line utility SC.exe for this.

For WinXP, SC.exe is built in. Look up SC.exe in WinXP's "Help and Support
Center".

For Win2k:

Many of the ResKit utilities, including SC.EXE are available free at:

ftp://ftp.microsoft.com/reskit/win2000/

and

http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp

More about SC here:
Sc.exe: Service Controller Tool
http://www.tburke.net/info/reskittools/topics/sc.htm
 
Back
Top