RE: run app remotely?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 02/22/05


Date: Tue, 22 Feb 2005 05:36:37 GMT

Hi David,

I agree with Gregory's suggestion.

Also here is a freeware tool which will need administrative privilege, you
may take a look.

PsExec
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

Inside PsExec
PsExec starts an executable on a remote system and controls the input and
output streams of the executable's process so that you can interact with
the executable from the local system. PsExec does so by extracting from its
executable image an embedded Windows service named Psexesvc and copying it
to the Admin$ share of the remote system. PsExec then uses the Windows
Service Control Manager API, which has a remote interface, to start the
Psexesvc service on the remote system.

The Psexesvc service creates a named pipe, psexecsvc, to which PsExec
connects and sends commands that tell the service on the remote system
which executable to launch and which options you've specified. If you
specify the -d (don't wait) switch, the service exits after starting the
executable; otherwise, the service waits for the executable to terminate,
then sends the exit code back to PsExec for it to print on the local
console.

http://www.windowsitpro.com/Windows/Article/ArticleID/42919/42919.html

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



Relevant Pages

  • RE: Rolling out patches
    ... FYI to all considering implementing the psexec method - Be aware that psexec ... account on the remote system, but will not have access to network ... PSINFO replicates a lot of the functionality of REG and FILEVER, ...
    (Focus-Microsoft)
  • Re: Windows 2003 FSRM command options dont work
    ... I have used PsExec for some things in the past. ... I suppose you could use instant messaging, ... interacts with the desktop on the remote system". ...
    (microsoft.public.windows.server.general)
  • Emulate PSEXEC/RunAS with the CreateScript method?
    ... I'd like to execute a VB script on a remote system with credentials ... different from the one launching the script- currently, ... using SysInternal's PSEXEC to do this, but, I would rather not call an ...
    (microsoft.public.scripting.vbscript)
  • RE: [Full-Disclosure] Psexec on *NIX
    ... > time, yes, I know exactly what psexec does. ... > network in Florida from my laptop and for some strange reason I need the ... > MAC address of a desktop in Ohio. ... > command on the remote system. ...
    (Full-Disclosure)