PsExec is a light-weight telnet-replacement that lets you
execute processes on other systems, complete with full
interactivity for console applications, without having to
manually install client software on the remote system. With
PsExec, you can launch interactive command-prompts on remote
systems and remote-enabling tools like Ipconfig that otherwise
do not have the ability to show information about remote
systems.
PsExec works on Windows NT 4, 2000, 2003, 2008, XP and Vista.
usage: psexec [\\computer[,computer2[,...] | @file][-u user [-p
psswd]][-n s][-l][-s|-e][-x][-i [session]][-c [-f|-v]][-w
directory][-d][-<priority>][-a n,n,... ] cmd [arguments]
Example:
The following command launches an interactive command prompt
on \\marklap:
psexec \\marklap cmd
This command executes IpConfig on the remote system with the
/all switch, and displays the resulting output locally:
psexec \\marklap ipconfig /all
This command copies the program test.exe to the remote system
and executes it interactively:
psexec \\marklap -c test.exe
Specify the full path to a program that is already installed
on a remote system if its not on the system's path:
psexec \\marklap c:\bin\test.exe
Run Regedit interactively in the System account to view the
contents of the SAM and SECURITY keys::
psexec -i -d -s c:\windows\regedit.exe
To run Internet Explorer as with limited-user privileges use
this command:
psexec -l -d "c:\program
files\internet explorer\iexplore.exe"
Download PsTools