Thank you very much for PAExec.

Local Machine:
Windows 7 Enterprise 64-bit SP1
Joined to a domain
Logged in as domain user "domain\firstname.lastname"

Remote Machine (IP Address =
Windows 7 Enterprise 32-bit
Joined to a workgroup
UAC Disabled
Administrator is logged into the desktop

Elevated command prompt command line:
paexec.exe /AcceptEula \\ -u\Administrator -p password -c "C:\path to\file.exe"

PAExec v1.21 - Execute Programs Remotely
Copyright (c) 2012-2013 Power Admin LLC

Connecting to
Starting PAExec service on
Copying C:\path to\file.exe remotely...

PAExec returning exit code -8

I noticed that during the time "Starting PAExec service on" is displayed, a new file was created on the remote machine, C:WindowsPAExec-18408-LOCALMACHINE.exe for example, where LOCALMACHINE is the machine name of where PAExec was run.
After PAExec fails, that exe no longer exists but the following new file remains on the remote machine: C:WindowsPAExec_Move0.dat

The contents of PAExec_Move0.dat is the same as "c:path tofile.exe" but it just has a different name.

I ran ProcMon on the remote machine and noticed that the remote PAExec process is trying to call CreateFile on "C:path tofile.exe" but fails with PATH NOT FOUND.

Using PsExec with the same command line works as expected.

However, when I run the following command, it works:
paexec.exe /AcceptEula \\ -u\Administrator -p password -c -csrc "C:\path to\file.exe" file.exe

I did not expect to have to:

  1. pass the -csrc paramter; this should be the default when specifying -c
  2. pass the name of the exe again; this should be the default

Thank you very much.

asked 02 Aug '13, 16:57

rami's gravatar image

accept rate: 0%

edited 08 Aug '13, 00:07

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 02 Aug '13, 16:57

Seen: 198,104 times

Last updated: 08 Aug '13, 00:07