Questions tagged [pstools]

PsTools is a suite of Windows command-line tools to manage and administer Windows Machine in respect to process management.

You can learn more about PsTools here and Download

102 questions
5
votes
3 answers

How do I launch a command on a remote computer with an invalid domain trust? (using local creds)

I intend to use WMIC to reset the trust of a machine that is remote, and off the network. All of the following variations result in an "access denied": The following works fine: net use \\patterson-e10 /user:patterson-e10\wks.admin xxx All the…
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
5
votes
4 answers

Interactive mode of PSExec not working for console application

I am trying to use PSExec to kick off a console application on a remote computer in an interactive state. When I run something like this: PsExec.exe -s -d -i 1 \\MyServer notepad.exe It launches Notepad just fine. If I then run this: PsExec.exe…
Focker
  • 163
  • 1
  • 1
  • 5
5
votes
3 answers

start exe in a Remote Session with PsExec

I would like to start an application remotely. I am using the following PsExec command: PsExec \\computerOne -u Domain\User1 -p 123456 -x "C:\Windows\System32\calc.exe" I tried to use -i so that the program interacts with the desktop: PsExec…
andreaspfr
  • 203
  • 1
  • 3
  • 7
5
votes
3 answers

psexec Couldn't access \\IP/computername The system cannot find the path specified

Tried psexec \\ip.add.re.ss -accepteula -u local_admin -p cmd.exe psexec \\computername -accepteula -u local_admin -p cmd.exe psexec \\computername.fdqn -accepteula -u local_admin -p cmd.exe where the remote computer(s) have windows xp…
Tathagata
  • 183
  • 1
  • 1
  • 9
5
votes
2 answers

Does psexec support input redirection?

I am trying to control a remote Python script, which reads commands from stdin, via psexec 1.98, but I need to redirect psexec's input since psexec itself will be launched from another program. However, I have no luck making psexec accept redirected…
aknuds1
  • 2,095
  • 3
  • 17
  • 23
4
votes
3 answers

Why is psExec hanging indefinitely and giving no error?

I'm simply attempting to open calculator on a remote machine in order to test the connection before I write a bigger script. I'm no pro with psexec yet, but I have never seen before what is happening and cannot find an answer to this question…
Alamb
  • 201
  • 3
  • 11
4
votes
1 answer

How to restore IE8 Default settings on Windows XP from a remote machine

Here is my goal. This will be run on one Windows XP machine only, for trouble shooting purposes. We need to be able to remotely execute. psexec \\computername -d -e -u domain\administrator -p password cmd /c "RunDll32.exe…
NobleMan
  • 225
  • 3
  • 10
4
votes
1 answer

PsExec will not work due to File and Print Sharing disabled in firewall

We run in a Citrix/Wyse Terminal environment (200+ terminals) All users Wyse terminals are not connected to a Domain and users log in with a local user account with no password (there is another Administrator account password protected which we use…
Daniel
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

How to Block psexec?

I wondered whether anybody knew how to prevent other systems from using psexec to run services on my machine, assuming running the windows firewall is not an option? In addition, I have read that a hacky solution is available whereby you create a…
ljs
  • 163
  • 1
  • 1
  • 6
4
votes
3 answers

Why does my PowerShell script hang when called in PSEXEC via a batch (.cmd) file?

I'm trying to remotely execute a PowerShell script using PSEXEC. The PowerShell script is called via a .cmd batch file. The reason we do this is to change the execution policy, run the powershell script then reset the execution policy again: On the…
Kev
  • 7,877
  • 18
  • 81
  • 108
4
votes
4 answers

How a batch file runs on a remote machine started by PSEXEC

I am having an issue running a Batch file on a remote machine suing PSEXEC. The file runs but does not run like it does when run through remote desktop. The batch runs a file which is a 32 bit application, which opens multiple 16bit applications,…
RisingCascade
  • 41
  • 1
  • 4
3
votes
3 answers

Execute command on remote computer and show UI to logged on user

since I could not find any proper solution online, I'll ask here. I have a bunch of computers where I want to execute a program and show the programs GUI to the currently logged in user. Afaik this is not possible with Powershell (Stop/Start of…
pinas
  • 171
  • 1
  • 1
  • 5
3
votes
2 answers

How to run multiple commands with psexec?

I need to run a command to uninstall forefront on some of our workstations and am having a bit of trouble formatting the command. Here's what needs to happen (in multiple commands) xcopy \\serverpath\Installer.exe C:\Windows Install.exe /u /s Del…
3
votes
1 answer

Use winexe to start a Windows process

When I'm on Windows I use PsExec to start processes on other Windows machines. I now have the case that I want to do that from a Linux machine. Fortunately there is winexe, a small program which should work like PsExec, just for the Linux-World. I…
MOnsDaR
  • 133
  • 1
  • 5
3
votes
4 answers

Psexec: "unknown user name or bad password" in workgroup

I have 2 machines with Windows XP SP2 Professional on the same workgroup; I can ping each of them from the other one; My psexec command(run from machine with ip: 192.168.0.3): psexec \\192.168.0.4 -u Administrator -p adminPass…
ayyob khademi
  • 93
  • 1
  • 1
  • 6