I believe this is the best forum for this, we have a php-cgi script that launches a power shell command, which in turn submits a job to a queuing system.
We are running php on IIS7 x64. I believe that somewhere this is a permissions issue, but have not been able to crack the code yet. Only when I run our application pool with the account of a system administrator will the job submit to the queue. I have tried to run the application pool with either NetworkService and a domain guest account. Normal php pages execute, but page that launches powershell will time out and a hanging powershell.exe is left running on the web server doing nothing.
if i run a powershell command window on the web server directly as the same domain guest account, then the job will complete. We just can not seem to get php to submit a powershell command that completes.
Any advice or ideas? I have been chasing this as a security issue, I don't want to run this site as a system admin!
TIA