How does "runas" work "under the covers"

Discussion in 'Microsoft Dot NET Framework Forms' started by kenstern, Jul 10, 2012.

  1. kenstern

    kenstern

    Joined:
    Jul 10, 2012
    Messages:
    1
    Likes Received:
    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.
     
    kenstern, Jul 10, 2012
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Juan C. Olivares

    Why this does not work?

    Juan C. Olivares, Jul 11, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    2
    Views:
    1,914
    Juan C. Olivares
    Jul 12, 2003
  2. Joe White

    Re: Zero touch deployment does not work

    Joe White, Aug 9, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    7
    Views:
    224
    Sean Kessinger
    Aug 11, 2003
  3. Wayne Gibson

    CreateProcessWithLogonW And RunAS

    Wayne Gibson, Oct 16, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    4
    Views:
    5,370
    Ying-Shen Yu[MSFT]
    Oct 17, 2003
  4. Guest

    Set 'RunAs' property programmatically for WinForms VB.Net applicat

    Guest, Jan 21, 2005, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    508
    Kevin Yu [MSFT]
    Jan 22, 2005
  5. ,netDude

    PictureBox in Mdi Parent covers Mdi child forms

    ,netDude, May 10, 2007, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    882
    ,netDude
    May 10, 2007
Loading...

Share This Page