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,
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:Q132958 How to Manage User Privileges Programmatically in Windows NT Additional query words:
Keywords : kbAPI kbKernBase kbWinOS2000 kbSecurity kbService kbDSupport kbGrpKernBase |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |