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.
.