Assign logon username/password to a windows service

Assign logon username/password to a windows service

am 03.12.2007 14:28:36 von Usman Jamil

Hi

I've a dotnet service that I need to assign a account with which it could
run. Is there any way I can do it while installing the service with
Installutil.exe??

Regards

Usman

Re: Assign logon username/password to a windows service

am 04.12.2007 15:00:59 von Markus Strobl

Hi,

i'm not sure if InstallUtil accepts credentials for the service installation
but if you're in control of the source code you could change the service to
be self-installing (without InstallUtil).

Have a look at this:

http://www.thescripts.com/forum/thread370137.html

Greetings

Markus


"usman" schrieb im Newsbeitrag
news:uv3uqBbNIHA.4880@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I've a dotnet service that I need to assign a account with which it could
> run. Is there any way I can do it while installing the service with
> Installutil.exe??
>
> Regards
>
> Usman
>