H
Hugh Janus
Hi all.
I am using the ServiceController class to interface with a service on a
Windows 2003 Server. However, I cannot work out how to disable the
service or set it to manual. Starting it and stopping it works fine
but of course, after rebooting, the service restarts because it is set
to Auto.
Any ideas on how to do this? I would rather not use WMI unless there
is not alternative simply because I can do everything else without it!
Thanks.
I am using the ServiceController class to interface with a service on a
Windows 2003 Server. However, I cannot work out how to disable the
service or set it to manual. Starting it and stopping it works fine
but of course, after rebooting, the service restarts because it is set
to Auto.
Any ideas on how to do this? I would rather not use WMI unless there
is not alternative simply because I can do everything else without it!
Thanks.