April 5, 2004 at 10:01 am
Hi All,
Got a quick question general question. How do I stop/start/restart a service on another machine. I would like a script to stop and start a service on another domain machine through the command prompt. I can connect to the remote machine through computer management and restart the service. I need to be able to be able to do this from a command prompt. If I create a share through net use and connect to the remote machine and use net stop to stop a service, it stops the service on the local machine and not the remote machine that I want to stop it on.
Feedback is appreciated.
Vik.
April 5, 2004 at 10:12 am
Systernals has PsTools which will allow you to psexec( execute a remote command) on another computer.
April 6, 2004 at 8:10 am
Thanks Steve - that was exactly what I was looking for.
April 6, 2004 at 4:43 pm
FYI- If you have windows resource kit installed, you can do it with sc.exe
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply