Solved

script to start/stop a service in another computer in same domain

Posted on 2006-06-19
5
214 Views
Last Modified: 2012-05-11
In local computer the command line to s tart a service is: net start service_name.
What is the command line to start/stop a service in another computer in same domain.
Or is there any equivalent script to do the job.?
0
Comment
Question by:mordi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 16932666
You can use SC - part of the resource kit.  Usage details:
http://www.ss64.com/nt/sc.html

Otherwise, you can use:
PSSERVICE, part of the PSTools
http://www.sysinternals.com/Utilities/PsService.html
0
 
LVL 16

Accepted Solution

by:
Redwulf__53 earned 152 total points
ID: 16932670
sc \\server start service_name
Type "sc /?" at the command prompt to see the complete syntax.
0
 
LVL 16

Expert Comment

by:Redwulf__53
ID: 16932672
ooow leew you beat me by a minute....
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 16932915
Excuse me, did I post essentially the same information first?
0
 
LVL 3

Author Comment

by:mordi
ID: 16932942
leew,
I am sorry but your info is far behind the acepted answer.
The question was: what is the command line etc. an you only answered the general command which is to be used but not the actual command to run. Also you sent a link to the web site but i don't have time to start reading all the stuff and finding the command.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Part Two of the two-part Q&A series with MalwareTech.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question