Plunging into .NET Development

Weblog Pieter Gheysens
Microsoft .NET Development - C# - Enterprise Library - Visual Studio 2005 Team System - Compuware DevPartner - ...
 


Monday, December 5

Log on as a service

If you want to run a Windows Service under a custom account instead of Local System (default), be sure to add that custom account to the Log on as a Service group. Otherwise you won't be able to get the Windows Service started. Following error-message will be thrown at you : The *** service was unable to log on as *** with the currently configured password due to the following error : Logon failure, the user has not been granted the requested logon type at this computer.

You can add the custom user account in the Local Security Settings [Administrative Tools > Local Security Policy].



The Log on as a service determines which service accounts can register a process as a service.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home