Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a windows service that runs fine on Windows 2003, but I have noticed that on 2008 it does not work the same. One of the things it does when it starts up is checks if a couple folder locations are present. For example, on a server named 'Test', I might check if \Test\ServerShare is present and if not, create it. The folder is there and it is accessible by the time I log on, but when the machine is rebooted and the service starts, it can't find it. I was going to make the service sleep for 30 seconds or so when it starts but that seems so kludgey.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try setting the service to "Automatic (Delayed Start)" instead of "Automatic". It's probably starting before the server service has finished starting.

share|improve this answer
    
I didn't know you could do that, thanks Denny! –  Codezy Oct 8 '09 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.