I have a service that logs in as a specific user. The service works great when the user logs in, but won’t start until they do so. Is there some kind of a setting I am missing?
- This is running on a Windows 7 Ultimate box.
- The user is an administrator of the box and the service is set to automatically start.
- No errors are in the application log, and the service runs like a champ once the user logs in (without having them start it).
This was a fun one, but I figured it out this morning.
The issue is that the server was a clean Windows 7 Ultimate install. That means the power management functionality was set to default which causes the machine to power down after 30 minutes, hence the service would stop running. Fixed the power management settings to never sleep and running like a champ.
Thanks for the input folks.