I'm calling PAExec as follows:

psexec \10.0.0.1 -u "username" -p "password" -i 0 -s "C:Program FilesNotepad++notepad++.exe"

notepad++.exe is executed on the remote PC. I can see the application window come up. As soon as I type any characters into notepad++ it hangs.

notepad++.exe does not hang if I execute it locally and type characters into it.

PAExec returns exit code 1. Anybody experience this before?

Both systems are running Windows XP SP3.

Any help would be appreciated. Thanks!

As a side note, psexec works as it should for about 30 minutes. Then it stops working. If I create a new Windows XP user account, it works on that account again for about 30 minutes and then stops working. Neither one of PCs is connected to the internet. They are connected to each other via a cross-over cable.

asked 11 Feb '14, 13:17

powerhard's gravatar image

powerhard
112
accept rate: 0%

edited 11 Feb '14, 20:24

Has anybody tested PAExec using the -i option on a Windows XP machine? I can't be the only one encountering this error!

(11 Feb '14, 16:30) powerhard

Has anybody tested PAExec using the -i option on a Windows XP machine? I can't be the only one encountering this error!

link

answered 11 Feb '14, 16:30

powerhard's gravatar image

powerhard
112
accept rate: 0%

After several days I FINALLY figured out the issue. This command, executed in Windows Powershell, hoses PAExec and PSExec:

Set-Item WSMan:\localhost\Client\TrustedHosts -value *

I had executed this command to create Remote Powershell Sessions (like SSH). I created a new user account on Windows XP and bam, PSExec and PAExec now work again!

link

answered 11 Feb '14, 17:11

powerhard's gravatar image

powerhard
112
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×52
×2

Asked: 11 Feb '14, 13:17

Seen: 4,178 times

Last updated: 11 Feb '14, 20:24