PDA

Click to See Complete Forum and Search --> : Service Controller


dolemite
Jun 18th, 2002, 10:19 AM
I'm having a bit of trouble finding the help docs I need. Here's what I'm doing:

I create ServiceControllers for a remote machine defined in a config file. Basically I want to be able to stop, start, monitor, etc the services on another server. If I were just running this app on my dev machine, I could use the Server Explorer, add the server, supply any username and password, and monitor as necessary. This works fine.

However, I cannot find out how to make this connection to the server (specifying user, pass, and server ip or hostname) programmatically. Without the admin status, I can't properly monitor the service.

I've got a feeling that even mapping a drive to the machine as an admin would give me the context to do what I need to do. Does anyone know the proper way to do this OR know of any way to connect to a machine as an admin?