I have written a windows c# service that basically write out some text to a file in the onStart function. The program works fine when i manually start or stop it. Now if i leave it started and restart my system, the service does not seem to do anything (i.e nothing written to the log file). I have tried both the release and the debug builds. And i have installed the service correctly. Could you tell me if I am missing any required step so that the service runs properly after the system startup? Thanks in advance.