0
votes
1answer
64 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 ...
1
vote
2answers
154 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 ...
0
votes
2answers
237 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 ...
2
votes
1answer
407 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 ...
0
votes
0answers
181 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 ...
2
votes
1answer
994 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
1answer
556 views

Psexec failing to connect the remote VM

I have got two machines (machine1 & machine2). My task is to execute few commands remotely via PSEXEC from machine1 to machine2. Sadly these machines are from different network domains. Admin ...
0
votes
0answers
445 views

psexec Connection Lag

I am attempting to execute commands on remote machines in our network. I have successfully used psexec for this task, but I am running into an odd performance issue. psexec takes a long time to ...
2
votes
1answer
400 views

What is “php exited with error code 1”?

I'm running a php script through the webserver to execute psexec which in turns executes another php script. When I run this from the command line normally, everything works fine and there are no ...
1
vote
1answer
145 views

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

How to set env variables and run multiple commands with PsExec?

How can I run multiple commands with PsExec, and how can I export environment variables? I can run two commands by doing the below, but when I try to export an environment variable the second command ...
8
votes
7answers
14k 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 ...
1
vote
2answers
129 views

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

Imposible to login with psexec

I'm using psexec and I cannot execute a simple cmd into a machine. The same response it's always the same "incorrect username or incorrect password" (also returning error code 6). This is the command ...
1
vote
3answers
5k views

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

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

PsExec hangs. Error launching installer

On certain remote computers when I use PsExec to run installers (.exe files), PsExec just hangs there. When I try running the installer, that PsExec transferred, directly from the remote computer ...
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?
1
vote
4answers
2k views

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 ...
0
votes
4answers
662 views

How do I login as a SYSTEM on a Windows XP computer?

I need to login as SYSTEM because my Apache runs a process as a SYSTEM (that's what I see in Task Manager) and I need to run that process from the command-line (psexec.exe) to accept the EULA popup, ...
2
votes
1answer
2k views

PsExec will copy the .exe but won't let me pass arguments to it

This command copies the program test.exe to the remote system and executes it interactively: psexec \\marklap -c test.exe However I need to pass some arguments to the text.exe program. This ...
1
vote
4answers
3k views

PsExec Couldn't access Windows cannot find the network path

Using PsExec v1.96 and given the below command: psexec -u ADMIN_USER_NAME -p ADMIN_PWD I get the below error: Couldn't access Windows cannot find the network path. Verify that the ...
0
votes
2answers
523 views

start application as administrator using psxec

I use psexec to run a batch script on remote machines.The batch script is used to setup my web application and starts and stops IIS during setup. The script works fine but it fails while stopping and ...
1
vote
8answers
8k 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 ...
8
votes
9answers
50k views

psexec: “Access is Denied”?

Inspired by my previous question here, I've been experimenting with PSExec. The goal is to trip off some fairly simple scripts / programs on one WindowsXP machine from another, and as PowerShell 2 ...