Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to start a service after disk mount

Status
Not open for further replies.

THEaix

MIS
Jun 7, 2007
30
US
We have an app(service)that requires a particulair Virtual PGP disk(D:) to be mounted before it starts. I was wanting to create a "service dependence" but not sure if that is the solution. Does anyone have a fix for a simuliar issue?

Thanks
 
If the Virtual disk is mounted via a command, you can use the SRVANY resource kit tool to setup the executable as a service and from there add you can use the service as a dependency for your app
 
Or another thought would be to set the app service to start manually. Write a simple vbs or bat script and put in scheduled tasks to run at bootup. Have the script sleep for 2 minutes or how ever long you need, then start the app service. Not terribly elegant but workable.


RoadKi11

"This apparent fear reaction is typical, rather than try to solve technical problems technically, policy solutions are often chosen." - Fred Cohen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top