Reputation: 782
Windows service does not start automatically due to logon failure in the Azure Virtual Machine Scale Set instance. It is showing an incorrect username or password error in Event Viewer. But it can be started manually with the same credentials. The startup type of the service is Automatic and Log on As an Account Credential. It does not have dependencies.
Upvotes: 0
Views: 361
Reputation: 1073
We stopped an automatic service in our environment (VMSS instance) and restarted the server and then we can see the service is getting started automatically without any logon failure.
Before server restart:
After server restart
With respect to your error, there might be an issue with your log on account permission. This behavior may occur if one or more of the following conditions are true:
Please check the below official document to troubleshoot the issue.
Troubleshoot service startup permissions - Windows Server | Microsoft Learn
Upvotes: 1