Solved

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

Posted on 2008-10-12
2
184 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

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…
You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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