The account to use when running the service. Use an account name in
the form: {DomainName}\{UserName}.
If the account belongs to the built-in domain, then you may specify
the name if the form: .\{UserName}.
The default, blank value, will use the LocalSystem account.
Example: |
wrapper.ntservice.account=.\leif
|
When attempting to install the service, you will encounter the
following message if the account name is invalid, does not exist, or
the password for the account is incorrect. A common mistake is
setting the account name to leif
rather than .\leif.
CreateService failed - The account name is invalid or does not exist,
or the password is invalid for the account name specified. (0x421)
|
Only accounts which have their "Logon as Service" right set can be
used to run a service. Failure to set this right will result in the
following error message when you attempt to actually start the
service:
System error 1069 has occurred.
The service did not start due to a logon failure.
|
To set the "Logon as Service" right; Go to the Administrative Tools
folder in your control panel. Open the Local Security Policy applet.
Expand Local Policy and then click on User Rights Assignment. On
the right side there is a logon as service policy. Open that and
then add the user that you wish to allow to run the service.
Note that the Local Security Policy applet only appears to be
available on Professional versions of Windows NT, 2000 and XP. Home
versions do not seem to allow you to setup users with the
"Logon as Service" right.
NOTE
|  |
Changes to this property will not take effect until the
service is reinstalled.
|
|