The tag has no wiki summary.

learn more… | top users | synonyms

13
votes
6answers
20k 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 ...
9
votes
7answers
16k 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 ...
8
votes
9answers
52k 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 ...
7
votes
1answer
131 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 ...
6
votes
9answers
20k views

How can I restart a windows service remotely using a script?

I have a Python web application running in a CherryPy server, which is running as a windows service. I have a batch file to deploy this application, but I'm still having to remote desktop in to the ...
6
votes
6answers
29k 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 ...
5
votes
2answers
1k views

psexec Windows Server 2008 Firewall

I am trying to use psexec to run a program on my windows server 2008 boxes. It returns with the message "Can't access myserver: The network path was not found." If I turn off Windows Server ...
5
votes
3answers
7k 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 ...
4
votes
2answers
7k 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 ...
4
votes
3answers
7k views

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

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

PsExec Alternative

Is there any alternative utility to replace PsExec? If I mostly use batch script for automation work. Due to instability of psexec, like hanging/ not responding, I may need another solution. Can the ...
3
votes
1answer
2k views

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

Why does PSEXEC work if I don't specify a password?

When I run SysInternals PSEXEC to launch a process on a remote machine, if I specify the password in the command line it fails with: PsExec could not start cmd.exe on web1928: Logon failure: unknown ...
2
votes
5answers
8k 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 ...
2
votes
4answers
4k views

Remote installing programs by scripts or batch files

Firstly, I can't use Group Policy as our team doesn't manage that. The company is a massive FTSE company with a team for every aspect of IT you can think of. Our team needs a way of installing ...
2
votes
1answer
555 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 ...
2
votes
1answer
3k 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 ...
2
votes
3answers
13k views

How to Run multiple command remotely using PSEXEC?

I am try to use multiple command with psexec tools but i am only remotely entered in that computer but it won't be perform another command psexec -i \\192.168.30.135 -u username -p password cmd ...
2
votes
2answers
5k 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 ...
2
votes
1answer
3k 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 ...
2
votes
2answers
4k views

Passing CMD via PSEXEC to a remote computer via .BAT file

Using PSEXEC to call CMD for a DEL command on a remote computer through a batch script. PSEXEC \\hostname -u username -p password CMD /C DEL /Q /F C:\Folder\File.txt The script pauses with a new ...
2
votes
1answer
343 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 ...
2
votes
1answer
1k 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 ...
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 ...
2
votes
1answer
621 views

How to install MS hotfixes for XP on remote machines?

How might I install a hotfix obtained from Microsoft to machines on the network? The hotfix in question comes packaged as an .exe file. I tried using psexec but the process never completes...I ...
2
votes
1answer
98 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 ...
2
votes
1answer
416 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
5answers
234 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 ...
1
vote
5answers
8k views

Running psexec against Window 7?

I can't seem to get psexec commands to work on Windows 7 Enterprise. I'm trying to execute a command like this: psexec.exe \\172.16.165.157 -u jc -p testing123 -c -f -i cmd.exe But, I keep getting ...
1
vote
3answers
3k 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
3k views

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 ...
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 ...
1
vote
1answer
809 views

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

PsExec on Windows Server 2008

Trying to psexec to win2k8 server but get "Access denied" eventhough I'm local administrator - works fine on win2k3 - anyone? I have tried doing "net use * /del". I have tried using the ip, and the ...
1
vote
2answers
185 views

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

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?
1
vote
1answer
725 views

Problem using psexec to remotely GAC a file

As part of a deployment process I am trying to GAC a series of files. The actual build process occurs on a build server, and I am trying to use psexec to GAC the files on whichever machine has ...
1
vote
3answers
3k views

PSExec on Windows 2008 R2 Failing “Network name cannot be found”

We've got a bunch of remote admin scripts which rely on psexec and they do not appear to be working over the network on our new 2008 hosts. An error dump is below: ...
1
vote
1answer
412 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 ...
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 = ...
1
vote
2answers
142 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 ...
1
vote
2answers
1k 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
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?