Run explorer.exe as another user in Vista ?

Discussion in 'Windows Vista Administration' started by Vilius Mockûnas, Jul 3, 2009.

  1. Hello,

    I have trouble trying to run explorer.exe as another user in windows Vista
    os.
    In XP things worked like that -
    1. check "Launch folder windows in a separate process" check box in folder
    options for the target account.
    2. use runas.exe to launch explorer.exe as another user.

    I can launch other applications as another user with no problems in Vista
    (like notepad.exe) using runas.exe or "run as administrator" context menu
    command. I'm interested only to launch explorer.exe in different user
    context - so it doesn't matter to me if users are regular or administrators,
    it doesn't matter if UAC is on or off. (I tried with UAC off but it should
    be the same result with UAC on). So:
    1. I selected "Launch folder windows in a separate process" for user
    administrator.
    2. I logged on interactively using user1.
    3. I launched explorer.exe using "runas explorer.exe /u:administrator" -
    explorer.exe started - but I checked context - and it was user1 not
    administrator !!!
    (I got the same result using "run as administrator" context menu command)

    What am I doing wrong ? - It should be possible to launch explorer.exe as
    another user.

    thanks
    Vilius
     
    Vilius Mockûnas, Jul 3, 2009
    #1
    1. Advertisements

  2. Vilius Mockûnas

    Malke Guest

    You can't normally elevate explorer.exe. This is by design for security
    purposes. Here are two very good articles about this by Aaron Margosis:

    http://blogs.msdn.com/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx
    http://blogs.msdn.com/aaron_margosi...eanly-stop-explorer-exe-on-windows-vista.aspx

    Malke
     
    Malke, Jul 3, 2009
    #2
    1. 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 (here). After that, you can post your question and our members will help you out.