Solved

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

Posted on 2006-06-19
5
211 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Registry Error Stop 0X0000051 3 2,826
Need to recover old Windows backup files in Windows 7 6 675
Locking down a taskpad 1 169
Retrieve process time in memory in VB 6 128
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…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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