In the windows service What is the ServiceProcessInstaller
's Account
property set to??
Set it to LocalSystem
. Set serviceinstaller
's StartType
to Automatic
. so that it gets started whenever the OS is started irrespective of the user who has logged into
Refer this if needed http://csharp-asp.blogspot.com/2008/10/how-to-create-simple-windows-service-in.html