PRB: Starting a Service Returns "Logon Failure" ErrorLast reviewed: December 16, 1996Article ID: Q120556 |
The information in this article applies to:
SYMPTOMSStarting a service from either the Service Control Manager or from the StartService API may return error 1069, "ERROR_SERVICE_LOGON_FAILED."
CAUSEThis error occurs if the service was started from an account that does not have the "Log on a service" right.
RESOLUTIONAn account can be granted the "Log on a service" right programmatically or through the User Manager Application. Both of these methods are described below.
User Manager Application Method
Programmatically MethodAn account can also be granted the user right programmatically through the Local Security Authority (LSA) API calls. For more information on this topic, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q132958 TITLE : How to Manage User Privileges Programmatically in Windows NT |
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |