I am trying to launch a gui application on a Windows 2008R2 64bit server using your PaExec utility. When I try to use the -d parameter PaExec does not detach from the process and freezes until the application is exited on the server console.
When I put the -d before the server name and application name I get error code 3 C:DownloadComponentsPaExec>paexec.exe -d cloud01 c:AppsTestSuperBeatDefault1.0Test.exe
PAExec v1.5 - Execute Programs Remotely Copyright (c) 2012 Power Admin LLC www.poweradmin.com/PAExec
PAExec starting process as current user: "cloud01" c:AppsTestSuperBeatDefault1.0Test.exe Failed to start "cloud01" c:AppsTestSuperBeatDefault1.0Test.exe. The system cannot find the file specified. [Err= 0x2, 2]
PAExec returning exit code -3
C:DownloadComponentsPaExec>
When I put the -d after the servername and the application name the application runs but PaExec does not exit until the application is exited on the server console.
paexec.exe cloud01 c:AppsTestSuperBeatDefault1.0Test.exe -d
The -i parameter seems to have no affect on the execution of the application at all. With PsExec the application will run in the service process if the -i is not included. With PaExec the application always runs in the console session.