Windows service doesn’t start until user logs into windows using C# RRS feed

  • General discussion

  • Hi all,

    Today I am facing the issue with windows service. I have created the windows service,everything working fine but whenever I start my computer & without enter the user credential my service doesn't starts. Basically during bootup of my computer my windows service is not starting.

    Please anyone tell me how to start the windows service during bootup of my computer.


    Thanks and Regards,


    Monday, February 7, 2011 1:13 PM

All replies

  • Thanks fyip.

    I have configured my winService according to the above URL. But still my service is not starting automatically. Anything extra I have to do. 

    Please give me idea.




    Tuesday, February 8, 2011 9:12 AM
  • There are several links on that page you should check.
    Tuesday, February 8, 2011 6:37 PM
  • Still I have not got the solution for my problem. I created one more sample service that is started properly without log on to system. But my actuall service is not able to start without log on to computer. 


    For Hint: In OnStart Method I am using long running code. That is a web-service call & it will take around 30 to 50 sec to execute the code.




    Thursday, February 10, 2011 6:48 AM
  • Friday, February 11, 2011 12:46 AM