I have an automatic windows service. I start it successfully with my user account name as defined in the Active directory with the correct password. After a couple of days, if I try to restart it, it fails with the error message
"Error 1069: The service did not start due to a logon failure"
The event log shows - "The <name of the service> service was unable to log on as <domain name\user name> with the currently configured password due to the following error:
Logon failure: the user has not been granted the requested logon type at this computer.
"
If I go back to the Properties->Logon window of the Service and retype the password, I can again start the service successfully.
I don't understand why it fails to restart with the same user name/password after some time. I will greatly appreciate any help.
Start Free Trial