Discussion Locked

Net Start/Stop

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi!

What is the Command line which I can use in batch file to be able to stop/start a service on a remote computer? i.g. (Net start k9 (on 192.168.0.1))

Thax,
Manuel

3 replies

by sfix

netsvc \\server "service name" /start

This may be a resource kit utility.

by m.graft

Thanks! Only two things worth mentioning
- Yes, you need to install it from the resource kit or just to copy Netsvc.exe to windows directory
- the command should be as the following:
Netsvc 'ServiceName' \\ComputerName /Command

This discussion is closed to new replies.