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
30 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
40 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
154 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
26 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
49 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
1k 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
160 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
104 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 ...
0
votes
0answers
164 views

Getting output of command and error code with psexec

I'm trying to run a script remotely. What I want is the output (text & error code) of the script. Instead, I am getting D:\BatchScripts\myscript.bat exited on \\my.test.place with error code 0. I ...
0
votes
0answers
20 views

Delete Remote .bak regedit keys of Remote Users

I want to delete all *.bak regedit keys of remote users (for temp users) in XP and Win 7 machines. Is it posible to do delete them bat file via psexec?
0
votes
0answers
120 views

How can i change a remote system per-application sound volume over LAN with a autoit compiled script executed by using psexec that calls nircmd.exe?

I want to control(mute, indeed) the per-application volume of some windows applications by using an AutoIt script that calls nircmd.exe muteappvolume app.exe 1 in order to mute a list of applications. ...
5
votes
1answer
3k 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
71 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
699 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
46 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
151 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
135 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
115 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
1k 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 ...
1
vote
1answer
2k 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"
2
votes
0answers
3k 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 - ...
0
votes
1answer
462 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 ...
4
votes
1answer
963 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
95 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
504 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
3k 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
204 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
657 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
467 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
145 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
72 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
850 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
1k 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
2k 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
3k 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 ...
1
vote
1answer
1k views

Can't terminate psexec process with either ^C or ^Z

I couldn't terminate a remote process started through psexec, I've tried ^C and ^Z, but that doesn't kill the process. What other choice do I have, other than closing the cmd window?
4
votes
3answers
2k views

Execute Powershell commands remotely

I have a linux server with winexe package installed. It's the same as PSExec, and everything works okay when running simple commands, but when I run it with this command below I get a parsing error! ...
2
votes
2answers
2k views

PSExec cannot find explorer.exe?

I've reached the limit of my knowledge about PSExec; I'm working with a software stack that uses it to kick off some batch files and perl scripts on remote machines, but something's wrong with one of ...
4
votes
3answers
23k views

PsExec Access is denied

I am using psexec.exe to run programs in a different security context. However the programs start but it does not seem to be running in the specified security context. In its minimal form: psexec ...
3
votes
1answer
450 views

Strange behavior with PSEXEC running command prompt on external pc

I discovered this quite by accident, but have since been able to replicate it at will, and I wonder if anyone has any explanation. I also wonder if it might point to a security hole in one of the ...
1
vote
0answers
692 views

Install programs remotely on Windows: psexec + autoit

I want to install a program remotely, for which I understand there are two options:- Group Policy (or using other Windows built-in option): The thing is I'm trying to install a distributed system, ...
1
vote
1answer
1k views

Batch file to configure WSUS in Workgroup

I'd like to create a Batch file that I can then remotely execute on machines in a workgroup in order to point them at a WSUS installation. I understand it is via the use registry keys: ...
3
votes
0answers
307 views

msiexec: Silent deploy website to IIS

I need to silently install an msi that deploys a web application to IIS, but have been getting this error message. Error 1314. The specified path 'Default Web Site/ROOT/someVirtual' is ...
0
votes
1answer
354 views

Executing EXE with wildcard from psexec

I'm writing a few scripts that I am using to integrate with bamboo for some continuous integration improvements and I've run into a bit of a snag. I'm currently trying to run a psexec command that ...
0
votes
3answers
1k views

How to start VMWare machines or any other program remotely on windows by ssh?

I have a nice 8-core Windows 7 machine where I deployed several virtual machines in VMWare Workstation. I want to be able to launch the virtual machine remotely, by executing something like "vmrun -T ...
6
votes
1answer
2k views

Does Psexec execute Remote Procedure Calls?

I've heard of RPCs and that they get executed via TCP port 135. I just executed ipconfig via psexec.exe on a remote PC and wondered if this is a RPC. As I've seen in Wireshark, the whole process is ...
3
votes
1answer
1k views

How can I remotely pass cmd commands which require admin privileges via psexec to a limited account user?

C:\PSEXEC \\mechaflash -u admin -p admin cmd.exe /C "REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v WUServer /t REG_SZ /d http://WSUS_Server:8530 /f && REG ADD ...
1
vote
3answers
3k views

PsExec runs remote GUI as black screen - Windows7

I'm trying to use PsExec from a server to run GUI applications on remote Windows 7 machines on our domain: psexec //remoteMachine -i kioskApp.exe The above is run by an admin user. What we're ...
1
vote
2answers
7k views

Psexec issue when running an application on a Windows Server 2008 R2 machine from a 2003 R2 machine

I am trying to run an application on a Windows Server 2008 R2 machine from a Windows Server 2003 R2 machine using a batch file with the following line of code in a batch file: psexec \\nightmachine ...