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

0
votes
1answer
15 views

psexec wmic command on Windows Server 2003 R2 machine

I'm trying to execute a simple command to a machine that is running Windows Server 2003 R2. The command is as follows: psexec \\SERVER\ WMIC PRINTER GET PORTNAME The connection seems to hang and ...
1
vote
2answers
973 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
0answers
102 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 ...
1
vote
1answer
88 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 ...
2
votes
1answer
285 views

Is there a way to run PsExec specifying a user name and password (-u -p) when running as Local System?

I have a Windows Service running as Local System on Windows Server 2003 and I'm trying to use PsExec to run a command as another user (using the -u -p parameters) but I keep getting Access is denied. ...
1
vote
1answer
2k views

PsExec :: Access Denied

I am working on PsExec but i get error as "Access Denied " Firewall is disabled on both machine. Ports are also open at both machine. C:\PSTOOLS>PsExec \\192.168.1.232 -u Administrator ...
4
votes
3answers
10k views

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 ...
2
votes
1answer
78 views

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 ...
0
votes
2answers
509 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
111 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 ...
3
votes
3answers
6k views

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 ...
4
votes
3answers
10k views

Why does PsExec hang after successfully running a powershell script?

The script is fairly straight forward. Simply tries to start a bunch of windows services. Execution locally works fine when on the target machine. The script is actually executing fine as well when ...
3
votes
3answers
1k views

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 ...
2
votes
2answers
3k views

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

How to use psexec in Windows XP

I read some related document on above query: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx http://ss64.com/nt/psexec.html I used this command on in my comman d prompt : psexec ...
6
votes
7answers
31k views

How to use psexec to start installation or other task that requires UAC interaction?

I'm trying to remotely start installations and I'd like not to disable UAC. If I start the processes remotely using psexec, the installer will just get stalled waiting for the UAC prompt. Other tasks ...
4
votes
3answers
303 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 ...
0
votes
0answers
713 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 ...
-1
votes
1answer
78 views

PSexec is not starting to machine using supplied username and password [closed]

Hi i am trying to connect windows 7 enterprise to windows server 2008 Enterprise R2 but it fails to start the service and stuck. without prompting any error like access denied etc.. I have ...
1
vote
1answer
276 views

wmic hanging on remote server?

Based on information from my previous question, I'm trying to learn wmic. I'm playing around with trying to look at which processes are using the most resources on a remote server. What I've managed ...
0
votes
2answers
889 views

Cloud Labs, Using PSexec to run bat file on another computer, access is denied error

So here's the deal, I am trying to automate this load test using VM's and WinTask. So I'm writing a script using psexec that will kick off another script on each VM that will kick of WinTask and that ...
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: ...
0
votes
1answer
138 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
2answers
6k views

How to run multiple commands with psexec? [duplicate]

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 ...
5
votes
1answer
13k views

PSexec is not connecting to machine using supplied username and password

I'm trying to connect from a Win 7 machine to a Win2k8R2 machine using the command: psexec \MACHINE_NAME_HERE -u MACHINE_NAME_HERE\Administrator -p PASSWORD_HERE notepad When I try this I get the ...
1
vote
5answers
2k views

Remotely start VNC server on computer with no Admin password

I'm trying to remotely access a particular computer of mine and it seems that VNC has stopped. I can tell that the computer is still running because I can VNC into another machine on the same network ...
0
votes
0answers
412 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 ...
1
vote
4answers
876 views

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 ...
2
votes
1answer
273 views

PsExec hangs intermittently when calling AppCmd

We have an automated deployment process which is primarily managed by a batch file. One of the first steps in that process is to stop an IIS AppPool so the updated files can be safely copied. To do ...
0
votes
4answers
8k views

How do I run a batch file async using PSExec?

I have a batch file I run that, among other things, reset's the NICs in the machine. I have some watchdog software running on another machine that monitors the first one. I'd like to run this batch ...
13
votes
7answers
27k views

How to use psexec without admin privileges on target machine?

Is it possible to use psexec to execute a command on a remote machine without having admin privileges on the remote machine? I tried running psexec \\<machine> -u <username> -p ...
0
votes
1answer
745 views

PsExec - Can't Find Specific Path

I'm trying to install a msi file using PsExec from a network path but I get an error saying The system can't find that path specified. I'm not sure why it's happening - if there's an error in my ...
0
votes
0answers
167 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 ...
5
votes
3answers
8k views

PsExec and Windows 2008 R2: 'Access is Denied'

Here's my scenario: I'm attempting to remotely start & stop IIS 7.0 sites on my server from my local machine, using PsExec. Some important points: Local machine runs Windows Vista. Server runs ...
7
votes
1answer
214 views

PSTools psexec and PCI

I am just wondering if anyone knows of any reason why using psexec would cause the failure of a PCI DSS audit. I have never been able to find information, though have always been told that it can't ...
1
vote
0answers
171 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 ...
2
votes
5answers
19k views

Pop up a message or run a program on remote windows 7 computer so currently logged on user can see it

How can you pop up a message or run a program on remote computer so the currently logged on user can see it. We have done this on WinXP, but these don't work with Win7. at.exe \\computername time ...
0
votes
1answer
197 views

Redirect telnet “interactivity” from host 3 to host 1 through host 2 (proxy?)

My network configuration: host 1 [h1] - User machine connected via VPN to the main host (host 2). (Win 7) host 2 [h2] - The gate through other machines of my network. No firewall, no ip rules. (Win ...
2
votes
1answer
2k views

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 ...
1
vote
2answers
565 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
3answers
6k views

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

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 ...
1
vote
8answers
12k views

PsExec and Remote Environment Variables, Logging, Etc

When I run PsExec on a remote computer, I always fall short of what I want. What I would like ideally in most situations is a) a log on an admin server where each individual log has the name of each ...
0
votes
2answers
542 views

Chkdsk and PSEXEC

I run maintenance for a lot of offices and use chkdsk as a part of the maintenance. I've recently been using PSEXEC to start a batch file that simply runs chkdsk and then pauses to keep the command ...
1
vote
1answer
1k views

PSEXEC Access denined using local account which exists both servers

2 Windows 2012 Server, no firewall, nothing triggered in MS Security Center Endpoint Protection. Server A (GIS Server) utilizes a local account to perform various task; this account must exist on all ...
2
votes
1answer
2k views

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 ...
5
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
2answers
3k views

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?
13
votes
6answers
28k views

Capturing output of remote process from sysinternal's psexec

I'm trying to capture the output of the remote process from psexec (i.e. not psexec's own output). So, for example I could run "ipconfig" and print the output to a log file. I have tried: psexec ...
1
vote
2answers
2k views

PSEXEC from powershell

I have been struggling getting powershell to run Psexec. It works fine for single line commands. but i need to call SCOM to put the server in maintenance mode through Psexec... $output = ...