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

1
vote
1answer
53 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
9 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
66 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
80 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
10 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
39 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. ...
4
votes
1answer
142 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
61 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
391 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
44 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
125 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
85 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
95 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
675 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 ...
0
votes
1answer
1k 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
2k 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
0answers
202 views

PsExec and invalid handles

I am trying to use a windows batch script that uses PsExec to execute commands on a remote machine. Periodically it has "invalid handle" and the script then fails. The script has not altered or ...
0
votes
1answer
334 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
666 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
84 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
278 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
161 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
470 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
381 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
120 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
60 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
731 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 ...
2
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
829 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
19k 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
417 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
623 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
244 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
308 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
2k 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 ...
8
votes
3answers
14k views

psexec logon failure: “unknown user name or bad password.”

i'm trying to run an interactive commandline on a remote PC in my LAN using psexec \\192.168.1.103 -u user2 -p pass1234 -c cmd and I get Logon failure: unknown user name or bad password. is ...
3
votes
2answers
13k views

PsExec “The handle is invalid”

When I try to PsExec to a remote machine using PsExec \\machine -u domain\user -p pass PsExec shows the following error message: The handle is invalid. Couldn't access machine: Completed in 0.426s ...
2
votes
4answers
15k views

Run Explorer in SYSTEM account on Windows Vista or 7 using Sysinternal’s psexec tool?

Has anyone been successful at launching an instance of Windows Explorer in the SYSTEM account on Windows Vista or 7? It is possible to do this on XP, but I haven't been able to get it to completely ...
0
votes
1answer
5k views

How do I use psexec and robocopy together in order to copy a directory over to a remote machine?

Hi I'm trying to form a psexec (or perhaps robocopy?) command which will allow me to use given account credentials to copy a directory over to a remote machine. I'd prefer to use robocopy, but the ...
4
votes
5answers
12k views

Can I find the session ID for a user logged on to another machine?

I want to open an application on another computer on the same network via the command line. The scenario here is that the user is in a room surrounded by about 20 computers and wants to be able to ...