SMSINST: Create Service Script Action Does not Grant Log on as a Service Right (264697)
The information in this article applies to:
- Microsoft Systems Management Server Installer 2.0
This article was previously published under Q264697 SYMPTOMS
After using the script action, Create Service, in SMS Installer to install a service to run under a specific user account, the service is unable to start, and the following two errors are generated in the application event log:
Event ID: 7013
Source: Service Control Manager
Description: Logon attempt with current password failed with the following error:
Logon failure: the user has not been granted the requested logon type at this computer.
Event ID: 7000
Source: Service Control Manager
Description: The ServiceName service failed to start due to the following error:
The service did not start due to a logon failure.
CAUSE
The user account specified in the Login Username box for the Create Service script action does not have the "Log on as a service" right.
WORKAROUND
To grant the "Log on as a service" right to the account being used to start the service, follow the appropriate method:
Windows NT 4.0
Open User Manager. On the Polices menu, click User Rights, click to select the Show Advanced User Rights check box, and then grant the service account in question the "Log on as a service" right.
Windows 2000
Use the steps provided in the "How to Configure User Rights" section of the following article in the Microsoft Knowledge Base:
259733 How to Troubleshoot Service Startup Permissions
Modification Type: | Minor | Last Reviewed: | 2/13/2006 |
---|
Keywords: | kbprb KB264697 |
---|
|