http://qs321.pair.com?node_id=301571


in reply to best way to rpc on win32?

You have a Llama in you? Did you eat it?

But seriously... try Win32::Service which can be used to start, stop and get the status of a service running on another host. You will of course need to run your script logged in with the appropriate access rights on the remote host (probably member of the admin group). If you use the psservice route mentioned earlier then you can specify a username and password.

inman