How does "runas" work "under the covers"


Joined
Jul 10, 2012
Messages
1
Reaction score
0
I have an application that needs to start a process as a different user. I use CreateProcessWithLogonW to accomplish this, but I've run into a system configuration where this does not work (we've been trying for weeks to diagnose WHY this particular system is causing problems with no luck so far). On the other hand, doing a "runas" from the command line works fine. So, I was wondering, does anyone know what system calls "runas" is making? Perhaps that will give me a clue as to how to solve my problem.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top