Hi Chris,

I tried your suggestion of using CreateProcessAsUser. It seems that it works perfectly fine to launch an interactive process on the remote desktop from the SYSTEM account but as soon as I try re-directing the standard output and input, etc, the process starts and then ends fairly quick with a startup code of 0 and an exit code of 0. The redirection of the output works perfectly fine use CreateProcess. Any ideas? I want to be able to launch the process interactive for use on the remote system and non-interactive, in which it re-directs the output to my named pipe back to the client. Very strange.