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

learn more… | top users | synonyms

4
votes
3answers
238 views

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 ...
1
vote
2answers
512 views

Passwordless psexec on windows

I'm looking at deployment options at the moment. I'm using Jenkins on a Windows machine to control deployment to multiple remote Windows servers. The deployment involves executing a batch script on ...
1
vote
2answers
889 views

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. ...
0
votes
2answers
328 views

Enable RDP using WinRM or other alternatives to psexec

I am writing a program that takes a list of servers and enables/disables RDP. Currently I am utilizing psexec and up in till this morning, everything worked. I made no change in ...
2
votes
1answer
74 views

Provide Administrator credentials within script

I am writing a script that runs from a user account. The script needs to execute another script as the Administrator account. Tried AutoIt's RunAs - didn't work. Tried PsExec - the same. Tried ...
1
vote
1answer
47 views

Remote location management copy and install large software updates to 50 LAN

Initially posted to Stack Overflow and was directed here. I'm new to programming and am trying to write a powershell script to manage software updates. I'm in a windows domain environment with over ...
1
vote
1answer
597 views

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 ...
0
votes
1answer
112 views

Pstools or Powershell or Both

I'm having a problem at the moment deploying and managing windows services and I'm looking for advice on the best course of action. Here's what I have working (below) - the problem is it's a bit ...
0
votes
1answer
274 views

psexec with Windows server 2008 directory not valid

I am working with a group of machines that are on the same network. They are all windows 2008 servers. I want to run a bat file on one machine by using psexec. But when I try, I am getting ...
4
votes
0answers
1k views

How to execute bat file remotely using Psexec from team city inside the powershell command

I have a powershell command which runs in TeamCity. When I try to run a batch file remotely using psexec from this .ps file, I see once the remote execution started, nothing happens. I tried several ...
1
vote
0answers
1k views

psexec exits with “<cmd> exited on <target> with error code 128”

We have several Windows 2003 servers that we run utilities on using psexec. Recently, it stopped working on one of them. For those unfamiliar with it, here's how the process normally works: Psexec: ...
1
vote
0answers
145 views

Accurate modeling with the psping -l parameter?

I'm in the process of setting up a psping job to allow me to test the performance of some new network based applications in my environment. I'm a little hung up on the -l argument for specifying the ...
0
votes
0answers
21 views

PsExec - Execute exe with multiple arguments and output the exe's results to a text file

I'm trying to execute Delprof2.exe on multiple computers with multiple arguments and then output its results to a text file. I'm testing on just one machine to start with so I've removed ...
0
votes
0answers
541 views

Access denied using psexec when connect to remote server

I use latest version of PsExec, and execute Command Prompt as Run as Administrator. We use PsExec v2.11 MY_MACHINE is on MY_DOMAIN domain. REMOTE_SERVER is on OTHER_DOMAIN domain. user_partner is on ...
0
votes
0answers
221 views

Handle.exe creates Handle64.exe & hangs thereafter

On windows server 2008 R2 ,In a folder I have handle.exe along with psexec.exe and a batch file name test.bat with following content: psexec -s D:\data\handle.exe -p taskhost.exe > ...
0
votes
0answers
141 views

IIS start remote commands - PsServices | PsExec

I have developed a ASP.NET C# web page which connects to remote conmputer command prompt using PSSERVICES.exe and executes some commands against servers. The execution works fine until I deployed the ...
0
votes
0answers
380 views

is there a way to get PSEXEC to output the results of python

The situation: I am running psexec.exe from one windows machine to another and would like to run a python script on the remote machine and look at the output of the script without having to pipe it ...