Hello, I'm trying to use paexec command in order to run some batch file as another user. i use this command: paexec.exe -u username -p password -i file.bat if the user (username) is member of the administrator group it works fine, if he doesn't i get this message: "PAExec v1.25 - Execute Programs Remotely Copyright (c) 2012-2013 Power Admin LLC www.poweradmin.com/PAExec Using SessionID 8 (interactive session) Failed to set interactive token A required privilege is not held by the client. [Err=0x522, 1314] PAExec starting process ["file.bat"] as <username> PAExec returning exit code -1073741502 " It also happens even if i'm trying to run notepad.exe or anything else. is there any chance to avoid granting the user administrative permissions? BTW- if i do not use -i flag it works good from cmd (even if the user do not have administrator's permissions), but when i run it from process it fails. I'll really appriciate your help! Thanks. asked 18 Mar '15, 03:54 Yarden |