General discussion

Locked

Net Start/Stop

By m.graft ·
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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Net Start/Stop

by sfix In reply to Net Start/Stop

netsvc \\server "service name" /start

This may be a resource kit utility.

Collapse -

Net Start/Stop

by m.graft In reply to Net Start/Stop

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

Collapse -

Net Start/Stop

by m.graft In reply to Net Start/Stop

This question was closed by the author

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums