On Tue, 25 Feb 2003 11:01:43 +0100, "Giarrocco, Camillo"
<[EMAIL PROTECTED]> wrote:

>Could somebody tell me how can I tell my service to automatically start
>with user and password which are not "LocalSystem" also when the OS
>(win2000) reboots? I'm installing my service like this:
>
>Perl_srv -install auto <user> <password>
>
>Perl_srv failed to start.
>
>But I'm able to manually start the service if I do enter the user and
>the password of the remote domain account from the windows Computer
>Management tool. 

You need to set the username and password in your Install() routine:

    sub Install {
        # ... commandline option parsing
        $Config{UserName} = $user;
        $Config{Password} = $pass;
    }

Cheers,
-Jan

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to