Articles

Stop Remote Services

May 9, 2005 at 02:26:19
Specs: Windows 2000, 512

I need to stop remote service and transfer a file. I can remotely connect to each workstation and complete the task but it is time consuming.
Are there any commmands that I can use from command prompt to Stop Remote Services?
If there are.. then I can create batch file to complete the task.
RMCD or Remote tools are not available.
Please help.

Thank you

Hemang Jani


See More: Stop Remote Services

Report •


#1
May 12, 2005 at 05:12:04

How can i automate telnet? What would the syntax be to automate telnet login for a batch file or script?

Please help.
thanks

Hemang Jani


Report •

#2
May 27, 2005 at 06:32:26

There is no native method to automate telnet from a batch file. The easiest solution I have found is to use the free program Expect, which you can control from a batch file. It can be found here http://expect.nist.gov/. For a more powerful solution you might check out the commercial tools from Dart.


Report •

#3
May 27, 2005 at 06:38:55

To stop a service remotly you can use the command sc.

Example:
> sc \\computer stop "Service Name"
> sc \\computer start "Service Name"


Report •

Related Solutions


Ask Question