Psexec is a free powerfull "runas" utility by microsoft. It's special features are e.g. the possibilities to start processes on remote machines, as system system user or to run them in the console 0 session.

learn more… | top users | synonyms

0
votes
0answers
26 views

Could not start PSEXESVC service on Target Machine

I want to run batch file into remote machine and i was using psexec cmd for that but i got error like "The remote procedure call failed." My command is, E:\user>psexec -i -s -d \\192.168.1.41 -u ...
0
votes
1answer
31 views

Running command on remote windows server and add results to a text file

I am trying to find the installed version of a piece of software on a lot of servers (800+). The command is: "dsmqver -f 2" which returns output like "Version: 7.5.0.2" I have been trying to ...
2
votes
3answers
133 views

Run command in background within PSEXEC

Command below works fine and releasing, renewing remote IP address. PsExec.exe \\10.10.1.12 -accepteula -u Administrator -p 1 cmd /c "ipconfig /release && ipconfig /renew" However, since ...
0
votes
0answers
99 views

Using PsExec to connect to remote machine via SSH tunnel

I want to access remote (not within local subnet) Windows Server machine using PsExec. I don't quite know which ports are actually used whether it's :139 or :445 or :135 or even :41955 as those four ...
0
votes
0answers
13 views

Is there anyway to pre-install PsExec so as to remove the time delay of spinning up the PsExeSvc service?

Is there anyway to pre-install the PsExeSvc, so as to remove the time delay of spinning up the PsExeSvc service?
3
votes
1answer
959 views

PSExec “cannot find the file specified” on local machine

As you can see from the screenshot below, C:\Windows\system32\cmd.exe exists (since the command prompt itself is using that path), and I try referencing it both with the short cmd.exe name and the ...
0
votes
0answers
32 views

Copy & Execute program on remote client machine

Say I have 3 client machines A,B,C which are connected to Internet and are having Microsoft OS. And I have a server X which has Windows Server 2008 R2. I want to create an architecture where all 3 ...
1
vote
0answers
70 views

PsExec to open a program that interacts via the Desktop and reports messages to CMD

I want to run a script on a remote machine. The script needs to be aware of the desktop, so cannot be run as a background process. To do this, I've been using the following command: psexec ...
1
vote
1answer
111 views

Batch script to ping an ip range?

I'm trying to write a batch script (psexec is also an option) to scan a range of IPs 192.168.1.1-255 and as output, would like a csv file, something like this: column A column B ...
-1
votes
1answer
1k views

How can I use PsExec to install software on a remote computer

Here are some details Remote PC may not have an admin user. Software is located on a network share that is accessible to all users. PsExec is on the Admin machine I've tried doing this but I get ...
0
votes
0answers
226 views

Run as different domain user without password with domain administrator account under windows 7

I sometimes use psexec to connect to our windows domain users' computers from remote. What I want to do is to run some programs with non-admin domain user's account (e.g. currently logged in user) and ...
0
votes
0answers
31 views

Which program to use to enable SMB for PsExec?

I want to use a netsh command to enable SMB for the use with PSExec. So far I have (all in one line, but formatted for readbility here) netsh AdvFirewall firewall add rule name=PsExec dir=in ...
1
vote
0answers
877 views

PsExec: Handle is invalid | Error deriving session key

While running some automated scripts I get the following error: Handle is invalid. Connecting to local system... Starting PSEXESVC service on local system... Connecting with PsExec service on XXX... ...
0
votes
0answers
127 views

Remote access share in psexec

Remoting into remote computer with: psexec \\computername cmd -u -p -s Then I try to run pushd \\uncpath in order to setup temp drive letter to run program from unc path on remote computer. I get: ...
1
vote
0answers
1k views

PSEXEC remote to Win 10 - No process is on the other end of the pipe

I tried to use PSEXEC from a Windows 7 to Windows 10 PRO (not the preview). PsExec.exe -i 1 -u myuser -p mypass \\xxx.xxx.xxx.xxx cmd Output Error communicating with PsExec service on ...
1
vote
1answer
96 views

PsExec: Access is denied

I am trying to run a VBS script on many PC on my network at the same time. I am admin on all of them, but the instruction needs to run under SYSTEM account. I have opted to use PsExec (v.2.11) from ...
0
votes
0answers
129 views

PsExec: batch file cannot create a file in remote server

I'm facing on a crazy problem. Using PsExec to run batch file remotely on server. When I use the same command argument in command line, all is fine. Here is my batch file: @ECHO OFF ECHO %USER% ...
0
votes
0answers
231 views

PsExec returning “the system cannot find the file specified”

I am trying to open a program remotely from another pc. I am using this command for psexec: psexec.exe -accepteula -s -d -i 2 -w C:\Tools \\192.168.1.1 -u Login -p Pass C:\Tools\program.exe If I ...
0
votes
0answers
84 views

Running PsExec via WebService in IIS 7 not working properly

I created a Web Service that will run a Psexec to execute a command to DHCP server (netsh dhcp server DHCP-IP-address show scope). It is running perfectly when I test/run it via Visual Studio in the ...
1
vote
1answer
105 views

Why does PSEXEC -i -s work in Windows 7 as services can no longer interact with the desktop?

According to this MSDN article: Important Services cannot directly interact with a user as of Windows Vista. Therefore, the techniques mentioned in the section titled Using an Interactive Service ...
-2
votes
2answers
4k views

Using PSexec to launch PowerShell session as system with specific window attributes

I'm trying to launch a PowerShell session via PSexec with alternate colors and some window attributes. The reason why I would need to run PowerShell through PSExec is so that I can have a ready-made ...
0
votes
1answer
77 views

Can I use PsExec or similar tool to determine if a remote PC is already logged in?

I'm writing a utility which lets you remotely run a test application on network PCs. I plan to use PsExec to remotely launch the application on each PC but I need to check The PC is reachable The PC ...
2
votes
1answer
93 views

Is pesexec only useful with administrative credentials?

I am an apprentice penetration tester, and I am trying to read as many tutorials and practice as much as I can. Something I continually see reference to is using psexec to execute commands remotely. ...
2
votes
1answer
6k views

Could not start PSEXESVC service on [MachineName]: Access is denied

I'm trying to use PsExec to start a process on a remote machine. I posted this question on SO, but I realized it's probably better suited here. I also have spent a few hours trying to figure this out, ...
1
vote
1answer
398 views

Windows 7: Script to automatically log into network account using PsExec

As happens often where I work (At a help desk for a school campus), a new policy with very tedious and/or wasteful requirements comes into effect and I am usually the only one to try to create a ...
0
votes
0answers
10 views

Attempting to add an existing group to a group remotely using psexec [duplicate]

Basically want to remotely configure the Administrator groups for one of our devices remotely through the command prompt. I figured psexec would be the tool for the job, however the only thing I can ...
0
votes
4answers
296 views

Is there any way to run an application as another currently logged user without needing its password?

I'd like to use 'psexec' over a lan to run a command as another user that is logged on the system at the same time. In other words: I want to use 'psexec' with the built-in Administrator account ...
7
votes
1answer
13k views

How to run a local bat file on a remote computer

Is it possible to use psexec to run a local bat file on a remote computer (windows 7)? or would I have to first copy it over to the remote location and then run it?
1
vote
1answer
104 views

Windows 7 hide *.lnk target

I'm attempting to have a program run with administrative privileges for regular users.(The actual software throws an error about needing the admin account, I can bypass windows through the registry). ...
0
votes
1answer
1k views

PSExec to open interactive program with no user logged in

I'm using PSExec to open certain server program that has some tiny gui, in another computer. Both local and target are Win7 64bit. I open it using psexec \myothercomputer -u Me -p mypass -i -d -h ...
0
votes
1answer
51 views

psExec processus no window

When I execute psExec -d -i -s \host -u "user" -p "password" "path", my application is launched but in the process (service task manager) and there is no window. Is that normal? Am I missing ...
0
votes
0answers
259 views

How do I execute a remote pc's cmd?

I have a computer at home, connected to a router with a fix internal IP (192.168.0.101). I forwarded a UDP port to it (:995), and placed the entire network under a dynamic DNS (no-ip), so I can access ...
0
votes
0answers
177 views

How to run batch script on server which exists in different domain of your PC?

I am trying to execute a batch file residing on some server which lie in different domain w.r.t my pc. I tried: PSExec -> but its persistently giving error: Couldn't access 192.168.238.74: The ...
0
votes
1answer
2k views

How to Launch an App in an Existing Session

When a scheduled task runs I would like to open a Powershell window on my desktop to tail the log file and watch the progress. Specifically I would like the task to open the window on my desktop and ...
3
votes
1answer
4k views

PSEXEC error establishing communication with psexec service

I'm trying to run a program in system mode, but this error appears error establishing communication with psexec service computername psexec \\kerjaTA -s "C:\Program Files\GOM\GOM.exe"
4
votes
0answers
6k views

PsExec, Error establishing communication with PsExec service

I am getting the following error if I try to use PsExec (psexec \\MyServer cmd, nothing fancy) PsExec v2.1 - Execute processes remotely Copyright (C) 2001-2013 Mark Russinovich Sysinternals - ...
1
vote
1answer
688 views

Should we be using SSH or psexec? What are the benefits of each? [closed]

Our development operations team currently builds source and deploys that source to target boxes - the typical setup. Currently we use psexec to issue commands to remote hosts (i.e., shut down the ...
5
votes
1answer
1k views

How to open a GUI with PsExec?

I have two computers A and B. On both computers there are two administrator accounts, 1 and 2, with their own passwords. While user 1 is logged on computer A, is it possible for user 2 on computer B ...
0
votes
0answers
114 views

How can I get the Windows command line to ignore the “set” reserved word?

I'm running an IIS command on a remote server via PSEXEC. the command I'm running has the "set" keyword, which is a command-line reserved keyword. My command looks like this and throws an error. ...
0
votes
1answer
816 views

How to call and launch EXE from linux \unix side?

I have a build process that runs on Linux and UNIX hosts. It's script -based, and at the end of the process I'd like to run an EXE file (that can run on Windows only... yes I know it's quite weird but ...
1
vote
1answer
6k views

Redirect output of process started locally with PSExec

I'm using PSExec in a test machine environment to start the setup package of the application to be tested as administrator, and then run tests as administrator where needed. PSExec is only used for ...
0
votes
1answer
257 views

psexec on XP - Can't use switches…?

All I'm trying to do is execute this command: psexec –sid c:\sysint\procexp.exe On a machine running XP SP3 (Trying to find out why domain login takes 5 mins). But no matter how I arrange them, as ...
1
vote
1answer
926 views

Psexec say batch file started but on remote server it didn't

I have an issue trying to execute a batch file using Psexec. For testing purposes, i have an batch file located at the remote server. The batch file will just do an hello world Echo HelloWorld pause. ...
0
votes
2answers
610 views

Psexec and perl script with multiple arguements

I 'm trying to remotely execute a perl script that needs to run with some arguments/switches, but I 'm failing miserably :p What I 'm currently doing is: psexec \\computer -u my_username ...
0
votes
1answer
192 views

Why do I get no output from programs executed locally through PsExec?

I am running .\PsExec.exe \\$env:COMPUTERNAME ping www.google.com All I get is "ping exited with error code 0." What do I need to do to actually view the output from ping? I am running this through ...
0
votes
0answers
81 views

Rremote setup of cygwin's sshd

OK.. This is a catch 22.. you want to get cygwin's ssh server up and running so that you can get remote access to a machine.. In my case, lots of machines. However, now you have to remote install ...
0
votes
2answers
1k views

PSExec can not connect from Windows XP to Windows 7

I am currently trying to use Remote Desktop on a Windows 7 Pro PC whose screen is currently broken from my old Windows XP laptop. However, before the screen broke, remote connection was turned off on ...
3
votes
3answers
3k views

Run powershell through winexe/psexec

I'm trying to connect to a Windows 2012 server from Ubuntu. winexe --user <USER> --password <SERVER> //SERVER cmd.exe works just fine. However, winexe --user <USER> --password ...
-1
votes
1answer
3k views

pstools on Windows 7 (64 bit)

Is it possible to use pstools, especially psshutdown.exe, on Windows 7 (64 bit)? It seems it doesn't work, at least if UAC is enabled. Is there any alternative solution?
5
votes
3answers
6k views

́╗┐' is not recognized as an internal or external command

When executing certain files (mainly batch) using PsExec I get these weird ́╗┐' symbols before my command. My initial thought was, that I were using wrong encoding, but after checking, I realized that ...