PsTools is a suite of Windows command-line tools to manage and administer Windows Machine in respect to process management.
Questions tagged [pstools]
102 questions
1
vote
1 answer
PsExec and xCmd
I've recently come into a bit of confusion regarding PsExec and xCmd. It would be great if someone here could help clear this up, preferably with some form of external reference to given for validation.
I understand that PsExec and xCmd are tools…

Iszi
- 2,376
- 8
- 25
- 33
1
vote
2 answers
Psexec renaming multiple workstations
I'm trying to add a local admin user to about 35 workstations on a AD.
I am logged into a domain admin account.
When I run
psexec @wks.txt "net user UserName1 Password1 /add"
I get:
"psexec could not start net user ... on workstation1. The system…

tzvi
- 15
- 5
1
vote
1 answer
psexec on Windows Server 2008 with -s flag: login failure
I'm trying to use psexec.exe to run batch scripts on Windows Server 2008. I cannot use plaintext passwords, so I'm using the "-s" flag, and not providing a username/password. I get the following error:
Logon failure: unknown user name or bad…

DashRantic
- 143
- 1
- 5
1
vote
1 answer
Why is my application hanging when ran from the webserver?
I'm using PsExec to run a command line program without having to wait for it to finish to report back to the script that ran it. I'm using a PHP script to run it. When I run the PHP script manually on the server, everything runs fine and works as…

Rob
- 2,393
- 9
- 33
- 52
1
vote
1 answer
How to send a pipe with psexec?
I'm trying to execute a pipe on a remote server by using psexec.
The command that I'm trying to execute is
psexec \\servername DSQUERY USER -name *userpart* | DSGET USER -samid -display
Currently, the | pipe symbol get executed locally which is not…

Pierre-Alain Vigeant
- 263
- 1
- 4
- 14
1
vote
1 answer
Unable to issue commands to a remote server when using IP address
I know this is going to sound crazy and I hope that I may just be missing something simple. I am trying to use psexec to restart IIS on a cluster of remote servers. The dept that actually uses the scripts only know the servers by IP address and not…

DvideBy0
- 121
- 3
1
vote
2 answers
Work Around to use Psexec on Windows Server 2003 64-bit
local OS: Windows Server 2003
remote OS: Windows Server 2003 64-bit
I have a management server (32-bit) which has many scheduled batch scripts running on. One of the script is to use psexec to launch
process on remote host(64-bit).
My script just…

Stan
- 1,387
- 6
- 24
- 40
1
vote
4 answers
Running remotely an app from a shared folder with PsExec
I am actually not sure that this is possible. let's see:
I have a script that runs on a Build server. Let's name this server A.
It drops the bins to a shared folder on server B.
And I want to run the program on server C.
So using caspol I can allow…

Stephane
- 111
- 1
- 1
- 4
1
vote
2 answers
What's the best way to telnet from a remote Windows PC without using RDP?
Three Networks:
10.1.1.0 - Mine
172.1.1.0 - My Branch Office
172.2.2.0 - My Branch Office's VOIP VLAN.
My PC is on 10.1.1.0. I need to telnet into a Cisco router on 172.2.2.0. The 10.1.1.0 network has no routes to 172.2.2.0, but a VPN connects…

Rob D.
- 233
- 1
- 3
- 10
1
vote
4 answers
psloggedon timeout
I have a list of machine names from my network that I have put in a batchfile to run through the list and show me who is logged onto each.
psloggedon \\machineA
psloggedon \\machineB
psloggedon \\machineC
psloggedon \\machineD
psloggedon…

user60707
- 19
- 2
1
vote
3 answers
running vbscript with psexec?
Is it possible to run a vbscript remotely with psexec? Normally the field of psexec calls for an exe file, so can this be changed or manipulated to deal with a vbs file?

Ben
- 33
- 1
- 2
- 9
1
vote
3 answers
Send a batch file to a Windows machine, and execute it
I know PsExec is perfect for sending files over a computer on a network and then execute it on that remote computer, however I can't use PsExec because I'm developing a piece of software and I can't have PsExec as a dependency (for legal reasons…

Luca Matteis
- 548
- 4
- 11
- 21
1
vote
2 answers
PsExec not working on 64bit computers
When copying the .exe to a 64bit Windows computer using the -c flag with PsExec, there's an error executing it, PsExec just stalls there.
Anyone else experiencing this?

Luca Matteis
- 548
- 4
- 11
- 21
1
vote
4 answers
PsExec - what if the .exe you run remotely requires user interaction?
I use PsExec to deploy small .exe files to my workstations. Sometimes the .exe, for some reason, is incompatible with the system and opens a popup window with an error or some other message.
Is there any way to know when the executable is 'stuck'…

Luca Matteis
- 548
- 4
- 11
- 21
1
vote
5 answers
Running psexec on a remote Windows 7 Enterprise workstation
I can't seem to get psexec commands to work on a remote Windows 7 Enterprise workstation.
I'm trying to execute the following command:
psexec.exe \\172.16.165.157 -u jc -p testing123 -c -f -i cmd.exe
But I keep getting the error:
PsExec v1.94 -…

Jimmy Collins
- 113
- 1
- 1
- 4