473,480 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1823
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6673
by: Shankar | last post by:
Platform: Windows 2000 machine with SP4 I use MSINFO to find system information on the remote machines on our local network. I am able to run MSINFO successfully on other Windows 2000 machines...
8
2435
by: Julia | last post by:
Hi, My client uses a remote object when I host the remote object inside a windows application all seem to work fine but when I host the same object inside a windows service I get the following...
5
2671
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
1
2595
by: Jim Bayers | last post by:
Our network nazi doesn't want us running a webserver on the server that has a connection to the campus database so we created a remote object that runs as a windows service. The windows service...
7
2656
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
1
295
by: LP | last post by:
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. ...
11
30074
by: Hoku | last post by:
I am using dual monitors on a dual head ATI AGP4x video card. I installed the Nov 11 2005 release of ATI's catalyst control center with Hydravision to manage the dual monitor setup. I recently...
15
7040
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
7
10749
by: AG | last post by:
I am using a ReportViewer control in an ASP.NET 2.0 WAP aspx page in remote processing mode. The report server is on a shared web host. Can anyone tell me or point me to an example of how to...
0
7044
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7084
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6739
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6929
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4779
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.