Rupert Eghardt
asked on
Automatic Windows Service stops by itself
Hi Guys,
I have an automatic Windows Service that stops sporadically (sometimes only after a couple of days).
It is a service from a 3rd party application, running on a Windows 2008 R2 server.
When trying to restart the service I get a message "invalid" credentials for the logon account.
I created a "local logon account" for the service on the server. Still the same problem.
Any ideas will be appreciated?
I have an automatic Windows Service that stops sporadically (sometimes only after a couple of days).
It is a service from a 3rd party application, running on a Windows 2008 R2 server.
When trying to restart the service I get a message "invalid" credentials for the logon account.
I created a "local logon account" for the service on the server. Still the same problem.
Any ideas will be appreciated?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, this user is part of Local Administrators group
Is doesn't make sense that the service would run fine for days, sometimes even a week or two,
Then sporadically we get the service stopping by itself.
Trying to restart the service will tell me that the credentials are wrong.
Entering the same credentials for the service as before works (once re-entered and re-starting the service)
I've now enabled the "Restart service" under the Recovery tab. I will monitor the event log.
Is doesn't make sense that the service would run fine for days, sometimes even a week or two,
Then sporadically we get the service stopping by itself.
Trying to restart the service will tell me that the credentials are wrong.
Entering the same credentials for the service as before works (once re-entered and re-starting the service)
I've now enabled the "Restart service" under the Recovery tab. I will monitor the event log.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
7038 - login failure unknown user name or password {Although the user name and password is still valid}
7041 - Login failure: The user has not been granted the requested logon type at this computer {Although it has been working all along}
* The service does not have the required user right "log on as a service"
I checked the local security policy and the domain user is part of the "log on as a service" rights assignment
I tried both a domain user and local user account.