title: Windows service stopped after log off
body: <p>I have created a test windows service using C# visual studio. It simply inserts current date-time to  database table. The service runs every 30 minutes. But when the system logged off the service stops.Service runs when i logged again. Please help me to solve the issue.</p>
  
  <p>Thanks in advance</p>