Windows Service with a Logon user set

Posted by David.Chu.ca on Server Fault See other posts from Server Fault or by David.Chu.ca
Published on 2010-03-29T15:20:30Z Indexed on 2010/03/29 16:43 UTC
Read the original article Hit count: 412

Filed under:
|

I have a service running in a box with Windows XP and a box of Server (2008). The service is configured as autmactic mode with a logon user/pwd set. The log on user is a local user. The service requires this user setting in order to run.

The issue I have right now is that the box intermittently reboot itself. I am going to investigate what is causing the reboot (hardware or application). Regardless the reason, what I need is that the service should be able to recover itself into running state after the reboot. I think the configuration should be able achieve this goal since the user/pwd having been set and its mode being automatic. Do I need to log in as that user to bring the service back? (sometimes the reboot happens in the midnight)

I am not sure if there is any difference between Windows XP and Windows Server (2008). The only thing I realize is that when there is a unexpected reboot, the Windows Server will prompt a dialog to explain the previous reboot. Will this prevent any automatic service running or the service will run only the reason has been set?

© Server Fault or respective owner

Related posts about Windows

Related posts about Services