I would look at the registry based modules Tie::Registry I think it is, and
update the parameters in the registry.
eg. HKLM\CurrentControlSet\Services\MSSQLServer for MSSQLServer. set Start=2
for automatic startup of service.

-----Original Message-----
From: Edward G. Orton [mailto:[EMAIL PROTECTED]]
Sent: 16 April 2002 16:45
To: Michael Stidham; [EMAIL PROTECTED]
Subject: Re: Changing startup for a service.



----- Original Message -----
From: "Michael Stidham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Edward G. Orton" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 11:31 AM
Subject: Re: Changing startup for a service.


> Win32::Service
>
I had already looked at Win32::Service, but it only has Stop,
Start, Pause, Resume, GetStatus, and GetServices. It does not
appear to have any functions for setting service parameters.

ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]
>
> >From: "Edward G. Orton" <[EMAIL PROTECTED]>
> >To: "Perl-Win32-Users Mailing List"
> ><[EMAIL PROTECTED]>
> >Subject: Changing startup for a service.
> >Date: Tue, 16 Apr 2002 11:24:15 -0400
> >
> >Does anyone know of a perl module/tool which can be used to
> >change a Windows service from "manual" startup to
"Automatic"?
> >
> >Config:
> >Windows 2000 (SP2)
> >ActivePerl 631
> >PDK 4.01


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


The information in this email is confidential and may be legally privileged. It is 
intended solely for the addressee. Access to this email by anyone else is 
unauthorised.if you are not the intended recipient, any disclosure, copying, 
distribution, or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. Please note that any views, opinions or advice 
contained in this email are those of the sending individual and not necessarily those 
of the firm. It is possible for data transmitted by e-mail to be deliberately or 
accidentally corrupted or intercepted. For this reason, where the communication is by 
e-mail, J&E Davy does not accept any responsibility for any breach of confidence which 
may arise from the use of this medium. If you have received this e-mail in error 
please notify us immediately at mailto:[EMAIL PROTECTED] and delete this e-mail from 
your system.

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

Reply via email to