service installation

  • Thread starter Thread starter me
  • Start date Start date
M

me

hi,

I've created a service that uses domain\username as automatic logon and a
password.

On installation, the service fails to start. If I then manually retype the
password, the service start with the message that user now has right to log
on as service.

The password that I retype is exactly the same as the one put down by the
msi.

Any ideas
ben
 
dear sajan,

thanks for that. I've looked at the file in the sdk as per the link you
send.

This looks like a c file, and i don't have a clue how to use it. Can you
give me some advice on how to use it, and if i need a compiler for it.. or
how to run it.. with arguments possibly.
ben
 
If you are new to the C language, it will be extremly hard to get this
working. Handling of user rights programatically is a complicated area. I
will suggest that you use utilities such as ntrights.exe from Windows
Resource kit to get it going. I also remeber seeing another tool
addrights.exe somewhere in the internet. I can't seem to locate this one
now.
--

Regards,
Sajan.

PS: Please don't send me direct emails, use the newsroom.
 
Back
Top