In my Win32 application I have the ability to run child processes with redirected input and output to anonymous pipes that I create and manage - this all works with the Crea
It should be possible to set the environment variable __COMPAT_LAYER to RunAsAdmin before the CreateProcess call which tells windows to just force the run as admin via the compatibility flags. The environment variable can be deleted once the process is started.