Solved

I there a way to run a batch file when a specific service starts

Posted on 2008-10-12
2
185 Views
Last Modified: 2012-05-05
I need to run a batch file when a specifi service starts. Any way of accomplish this?

Thanx
0
Comment
Question by:koujaianh
[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 Comments
 
LVL 3

Accepted Solution

by:
Spydergt earned 125 total points
ID: 22700071
If there is an event that is written to the log when the service starts you may be able to use an event trigger to launch your script.

http://technet.microsoft.com/en-us/library/cc773308.aspx

Im not sure which OS your using but it may work =)
0
 

Author Closing Comment

by:koujaianh
ID: 31406207
Thanx. That worked.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Command to modify Registry entry 5 146
regedit.exe REG ADD problems 2 65
xcopy using a text file to a folder 13 74
Batch Script:  Password contain a > character 6 36
When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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