N
NetworkElf
I am trying to write a little utility and it needs to check the startup type
of a given service on a remote machine and, if it is disabled, set it to
manual. I have found out how to do this on the local machine using
ServiceInstaller.StartType, but I cannot seem to find a way to specify the
name of a remote machine to perform this action upon.
I know that ServiceController will allow me to talk to a remote system and
start/stop services, but it lacks the methods and properties I need for
StartupType.
I'm pretty new to .NET, so It's quite likely I'm simply looking in the wrong
place, but a day of Googling has left me without an answer. If someone could
point me in the correct direction to solve this, I would be most grateful.
If this is the wrong group, that would also be helpful info.
If anyone has suggestions on good reference manuals with a strong lean
towards system and networking programming, I'd like to hear about them.
TIA,
ne.
of a given service on a remote machine and, if it is disabled, set it to
manual. I have found out how to do this on the local machine using
ServiceInstaller.StartType, but I cannot seem to find a way to specify the
name of a remote machine to perform this action upon.
I know that ServiceController will allow me to talk to a remote system and
start/stop services, but it lacks the methods and properties I need for
StartupType.
I'm pretty new to .NET, so It's quite likely I'm simply looking in the wrong
place, but a day of Googling has left me without an answer. If someone could
point me in the correct direction to solve this, I would be most grateful.
If this is the wrong group, that would also be helpful info.
If anyone has suggestions on good reference manuals with a strong lean
towards system and networking programming, I'd like to hear about them.
TIA,
ne.