Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-i 0 argument wrongly parsed #5

Open
irony-iron opened this issue Apr 13, 2015 · 1 comment
Open

-i 0 argument wrongly parsed #5

irony-iron opened this issue Apr 13, 2015 · 1 comment

Comments

@irony-iron
Copy link

Hi, i have trouble to run paexec in current session in windows server 2003 x64:
C:\TestPlayer>paexec.exe -u administrator -p 1 -i 0 cmd.exe

PAExec v1.26 - Execute Programs Remotely
Copyright (c) 2012-2013 Power Admin LLC
www.poweradmin.com/PAExec

Using SessionID 0 (interactive session)
Failed to set interactive token A required privilege is not held by the client.
[Err=0x522, 1314]
PAExec starting process ["0" cmd.exe] as administrator
Failed to start "0" cmd.exe. The system cannot find the file specified. [Err=0x2
, 2]

PAExec returning exit code -3

Current session is zero:
C:\TestPlayer>quser.exe
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
administrator console 0 Active . 27.03.2015 17:41

transistor1 added a commit to transistor1/PAExec that referenced this issue Jul 28, 2015
This is a kludge for poweradminllc#5... the wtodw() command sees ' ' and '0' both as 0, so the correct solution is probably to fix that, but I don't know if that will affect anything else in the program, so I just check for a literal 0 as an argument.
@NevRA
Copy link

NevRA commented Oct 8, 2015

Does it will be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants