473,503 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running Exe's on another PC

I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on the
pc - is this possible ?

Thanks for your help.
Jul 21 '05 #1
5 2689
no, you need a server or agent on the NT4 box in order to start something
there.

"Duncan Allen" <dx*****@baxglobal.com> wrote in message
news:04****************************@phx.gbl...
I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on the
pc - is this possible ?

Thanks for your help.

Jul 21 '05 #2
Would something like psexec.exe from Sysinternals.com work?
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
--
William Stacey, DNS MVP

"Duncan Allen" <dx*****@baxglobal.com> wrote in message
news:04****************************@phx.gbl...
I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on the
pc - is this possible ?

Thanks for your help.

Jul 21 '05 #3
Hi Duncan,

You may also try to use the AT command to run a task at certain time.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Duncan Allen" <dx*****@baxglobal.com>
Sender: "Duncan Allen" <dx*****@baxglobal.com>
Subject: Running Exe's on another PC
Date: Thu, 18 Sep 2003 07:08:01 -0700
Lines: 6
Message-ID: <04****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcN97kVXa//0NtV2QrKkDAlaT0wyVA==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109031
NNTP-Posting-Host: TK2MSFTNGXA05 10.40.1.49
X-Tomcat-NG: microsoft.public.dotnet.general

I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on the
pc - is this possible ?

Thanks for your help.


Jul 21 '05 #4
Thanks for your help.

I've tried the psexec freeware and that seems to do the
job (except we can't get the microsoft patch files to run
unattended!).

I would really like to know how psexec works - I think it
remotely installs a service which then allows it to
connect to the pc, but I'd really like to know how to do
this, so I could
replicate it in vb.net.

:-)

-----Original Message-----
Hi Duncan,

You may also try to use the AT command to run a task at certain time.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Duncan Allen" <dx*****@baxglobal.com>
Sender: "Duncan Allen" <dx*****@baxglobal.com>
Subject: Running Exe's on another PC
Date: Thu, 18 Sep 2003 07:08:01 -0700
Lines: 6
Message-ID: <04****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcN97kVXa//0NtV2QrKkDAlaT0wyVA==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109031NNTP-Posting-Host: TK2MSFTNGXA05 10.40.1.49
X-Tomcat-NG: microsoft.public.dotnet.general

I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on thepc - is this possible ?

Thanks for your help.


.

Jul 21 '05 #5
You can do it, but it takes a bunch of pinvoke stuff. The guy who wrote
psexec gave me some ideas, but no details. However, it is all stuff you can
do with win32. I'll try to find the email - If I can. Cheers!

--
William Stacey, DNS MVP

"Duncan Allen" <dx*****@baxglobal.com> wrote in message
news:84****************************@phx.gbl...
Thanks for your help.

I've tried the psexec freeware and that seems to do the
job (except we can't get the microsoft patch files to run
unattended!).

I would really like to know how psexec works - I think it
remotely installs a service which then allows it to
connect to the pc, but I'd really like to know how to do
this, so I could
replicate it in vb.net.

:-)

-----Original Message-----
Hi Duncan,

You may also try to use the AT command to run a task at

certain time.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and

confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Duncan Allen" <dx*****@baxglobal.com>
Sender: "Duncan Allen" <dx*****@baxglobal.com>
Subject: Running Exe's on another PC
Date: Thu, 18 Sep 2003 07:08:01 -0700
Lines: 6
Message-ID: <04****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcN97kVXa//0NtV2QrKkDAlaT0wyVA==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109031NNTP-Posting-Host: TK2MSFTNGXA05 10.40.1.49
X-Tomcat-NG: microsoft.public.dotnet.general

I have a vb.net service running on a server (under a
domain account) which downloads patches onto NT4 pc's. I
would like the server app to also run those patches on thepc - is this possible ?

Thanks for your help.


.

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2842
by: Michael Williams | last post by:
Hi, I am trying to create a VB6 application which can act as a 'connection broker' for other applications being run on the same machine. Essentially, the broker app will setup a number of...
6
6288
by: Jim | last post by:
I've just bought a new Windows Server 2003 and I am trying to move an exiting FrontPage website to this new machine. I can't get ASP pages to run. IIS 6.0 has been installed. From the snap-in,...
6
9029
by: Reinhard Lehner | last post by:
Hi there! I spent the last week trying to fix this problem - I am always getting an error when trying to run an application (WinForms or PPC) out of Visual Studio IDE: 'Error while trying to...
7
6902
by: Ross Presser | last post by:
OK, I've been researching this problem and can't find a definitive answer yet. The situation is one that seems to have come up a few times to different folks. I am writing an application that...
2
7451
by: bbxrider | last post by:
for win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple parameters, see following set shell = server.createobject("wscript.shell") shell.Run...
10
3803
by: Mandy | last post by:
I have a command line tool that I would like to run from my .NET web application using System.Diagnostics.ProcessStartInfo. I run cmd.exe with this and then pass the command to run the tool as an...
5
1654
by: plmanikandan | last post by:
Hi, I have written a win32 console application(exname1.exe) which runs for ten minutes.I am calling this exname1.exe from another exe named exname.exe using shellexecuteex.Now from exname.exe...
1
4836
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
7
4834
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
I have a windows application with multiple forms & another web application. Now I need a parent EXE or Application which need to act as a container to these application. Example : My existing Web...
1
8118
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
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
6970
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...
1
4987
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
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
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
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.