Solved

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

Posted on 2006-06-19
5
206 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
  • 2
  • 2
5 Comments
 
LVL 95

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 95

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cursor typing problems 5 25
unable to search  data in SQL 2000 server 10 290
Adapt windows 2003 server script to windows 2000 server 25 206
Windows 16 338
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…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now