When i'm trying to start a DCOM server in a remote machine with CoCreateInstanceEx, it always starts in session 0. This will happen only if DCOM server is configured to run as "As Launching user".
Client that is trying to launch server is running under same user account in session#1 in a different machine.
But if client and server is in same machine, server starts in session#1.
I want the behaviour to be such a way that since client is running under session1, server also needs to be launched in session#1 and not on session#0. Any solution?
Can I Use COAUTHINFO structure to get this behaviour?
Thanks and regards
Minu