Jump to content

Windows Service


Recommended Posts

Hi Guys,

I found this question really hard to google hence I am putting it here. Please beleive me though - I have searched.

The problem:

I have an application that installs/runs some services. The usual behaviour is these services are installed and then either set to Automatic in (services.msc), or are controlled by the application. E.g. When the application runs it starts the service. The behaviour that I am seeing at the moment is this. If I boot windows with the services set to automatic the service tries to run and just hangs on the status: "Starting". If I have the service set to Manual, and start the application the service does the same thing (service hangs on "Starting"). If I navigate to services.msc and right hand click and Start the service myself it starts without any problems/delays. The service is set to run under a service account that is local admin. Everyone is added to "log on as a service/batch" in local policy.

What is the difference between either windows trying to start my service account on boot or my application trying to start the service and me starting it myself. The service has no dependencies other than RDP service (which is started).

P.S. Please note that the application is fine and runs under many other environments without any problems.

P.P.S It is running on Windows 2000 SP4

Thanks for your help.

Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy