windows service startup fails when domain controller is not reachable RRS feed

  • General discussion

  • I have a windows service which runs under a domain user account (service account) on a windows 10 20H2 (Build 19042.1165) machine.
    This account is added to the group policy "Logon as a service".
    If the domain controller is reachable (network cable plugged in) and I start the windows service it successfully starts up and is running. 
    If the network cable is unplugged (domain controller not reachable) and I start the windows service then it fails with the error message:

    The service"xxxx"on"LocalComputer"could not be started. 
    Error1057:The account name is not allowed or does not exist, or the password is invalid for the specified account name.

    How I can achieve that the service starts up successfully?

    Thursday, October 7, 2021 6:50 AM

All replies