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!

Creating and Starting a custom XP Service

Status
Not open for further replies.

Jiminald

Programmer
Oct 11, 2006
39
GB
I've created my own application that I want to run at system startup, I've made my service using INSTSRV and SRVANY. I've also made changes in the relevent registry key to load my application, but every time I run it, I get the following message.

The <Service Name> service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.

I've trawled through the internet and many people have said to empty the Applications log in Event Viewer, which I have done but it did not work.

Thanks to all in advanced :)
 
What is the startup method for this service in Services, is it set to Manual or Automatic? Are there any Dependencies?
Are the Access Permissions correct for users to access the service?

"Each service has special permissions that you can grant or deny for each user or group. You can set permissions for individual services by using Security Templates. For more information about how to do this, see Security Templates"

Services permissions


Security Templates


Services Startup issue
thread779-988779
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top