title: Windows Services when do they Actually Start?
body: <p>I ask this because I am having a problem with my C# project. 
  To solve it I know a redesign of my code will suffice, but if Windows Service doesn't start how I think it does then I would need to do more thinking.</p>
  
  <p>Therefore I need this question answered...</p>
  
  <p>When does exactly a Windows Service start, or is this something the developer can choose and if so where exactly in the code can I do that? </p>
  
  <p>More info:</p>
  
  <ul>
  <li><p>I know there is Delayed Start... but its not that reliable, with this my Service starts correctly at times and at others it does not. Because it relies on VirtualBox or the HD to set up.</p></li>
  <li><p>I tried using a separate thread at Service Startup to give the system time to settle, this solves the problem initially but after further testing realized that if the user wanted to stop my service it becomes into a problem because the thread would still be going active. And creates a bug.</p></li>
  </ul>