469,926 Members | 2,288 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

Control a remote windows service

LP
Hello All,

I have a windows service on several remote machines that gather data and
load it to SQL 2000. The service on the remote machine runs at a desirable
frequency and gathers the data.

I'm using DTS on a central server to bring the data back. The DTS package
has it's own schedule and all works well.

But now I want to "on demand" runs the service on a particular machine to
collect up to the minute information. From the DTS package I’m planning to
use an Execute Process Task to restart the remote service so it. I know how
to start and stop a Windows service on a local machine but have not done it
remotely. Anybody ever done this before?

Thanks,

LP
Oct 27 '05 #1
1 1651
WMI can be used to start and stop services on a remote machine.

You can use WMI from .NET code or VBSCRIPT.

Steve

"LP" <LP@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Hello All,

I have a windows service on several remote machines that gather data and
load it to SQL 2000. The service on the remote machine runs at a
desirable
frequency and gathers the data.

I'm using DTS on a central server to bring the data back. The DTS package
has it's own schedule and all works well.

But now I want to "on demand" runs the service on a particular machine to
collect up to the minute information. From the DTS package I'm planning
to
use an Execute Process Task to restart the remote service so it. I know
how
to start and stop a Windows service on a local machine but have not done
it
remotely. Anybody ever done this before?

Thanks,

LP

Oct 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Shankar | last post: by
1 post views Thread by Jim Bayers | last post: by
7 posts views Thread by Chuck Hartman | last post: by
1 post views Thread by LP | last post: by
7 posts views Thread by AG | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.