>Is there a way to stop a service and schedule a restart after
>a reboot?  
Yup. Just stop it and set it for automatic start, next time the machine is started the 
service will start.

>I've got to stop a virus checker before installing
>w2ksp4.  After the reboot the virus checker has to again run.
>I really don't want to come back and restart the thing.

>I see the service controls in Win32::Service
>StopService(hostName, serviceName)
>StartService(hostName, serviceName)
>
>I looked for something like schedule but couldn't find anything.
>I have no idea what to look for.
Go directly to the registry and change the service start parameter to auto start. You 
can get all the details off the microsoft website as to what the registry values are 
for the appropriate start type.

Cheers,
John
>
>Thanks
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>_______________________________________________
>Perl-Win32-Admin mailing list
>[EMAIL PROTECTED]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

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

Reply via email to