Service resource logon errors

G

Guest

I'm using a service resource to install an service at FBA. The service gets
installed but wont start because of a 1609 "logon error".

I've checked and checked that the username and password are correct (I'm
using the Administrator user account).

Is there a subtle option that I'm missing? Like the service is being
installed before the user account exists?
 
K

KM

SilentCode,

What service type you set?

If it is SERVICE_WIN32_OWN_PROCESS, you may try:
- Leave the StartName of ServiceData resource unspecified and service will be started under the LocalSystem account. This will
show you if there are any problem with the service itself.
Or try NT AUTHORITY\LocalService to run under LocalService.
- Change the account name specified to DomainName\UserName form (e.g., try .\Administrator).

If the ServiceType is SERVICE_INTERACTIVE_PROCESS, the service must run in the LocalSystem account.

Also check FBALog.txt for the service install related errors.

KM
 
G

Guest

The service is SERVICE_WIN32_OWN_PROCESS = 16.

I changed the user name to be .\Administrator instead of Administrator and
still got the logon error. I even copied the password from TD's
Administrator user to ensure there were no typo's.

Once the image is running I can start the service if I re-enter the password.

I have an image cooking now and I'll post my results if they work. I
deleted my service data resource and created a new one just incase there is
an issue with items created with XPe service pack 1 now that I'm running sp2.


Thanks for your help
 
G

Guest

My latest attempts didn't fix the issue. I also saw some odd behavior with
one of my services that is supposed to be run under the LocalSystem account.
After FBA this service if running under the user "" with an unkown password.

Is this a bug in TD or CD? if there something subtle I'm missing?

This is my service DATA:

SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_OWN_PROCESS = 272
StartName is blank
Password is blank
ServiceBinary %16426%\mypath\myservice.exe
starttype = 3
servicename = myservice
service displayname = myservice
errorcontrol = 1
dependencies = NULL
 
S

Slobodan Brcin \(eMVP\)

Hi Silent,

Don't get it where you put all these data, but you are definitely missing data that Konstantin told you about.

Look at Registry Data for some service in TD for instance analyze component "Remote Registry Service" and you will see entries that
Konstantin mentioned.
You will have to few of them trough Registry Data and not trough Service Data.

Also you might want to look at component "Performance Logs and Alerts Service" since it use mix approach by using both Registry and
Service data.

Regards,
Slobodan
 
G

Guest

Using the format of .\Administrator was a great tip thanks. but it didn't
solve the logon error I recieved. There was a typo in my first posting the
error was 1069.

When I left the StartName and Password of ServiceData resource unspecified
the service was still installed as a service running under a username. The
user name was blank and the password was unknown.

Any thoughts?
 
K

KM

SilentCode,

Don't really have a clue.
Do you have "RunAs Service" component included? (seclogon.dll)

Have you tried NT AUTHORITY\LocalService or LocalSystem?

KM
 
G

Guest

SilentCode,
I am having a much similar problem. Did you solve it ?
If yes, can you put it here.

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top