problem in creating a new process(intereactive) in session 1 from session 0 in Vista

Discussion in 'Windows Vista Drivers' started by erajaysharma, Mar 13, 2007.

  1. erajaysharma

    erajaysharma Guest

    i tried to spawn an intereactive process from driver installation
    service in vista but the GUI was not shown on desktop. This is for
    Vista-32 only

    I used the following approach in my driver installer:
    1) Got the duplicate token of the explorer.exe(which always runs in
    session 1) and made it primary.
    2) Passed this to CreateProcessAsUser.
    3) During installation from Found New Hardware Wizard.. I got the
    error "rundll32" host process has stopped working" and could not got
    the GUI on desktop.

    Is it possible to create a new process in session 1 from session 0 if
    Yes then Please tell me an alternative way to create a new
    process(intereactive) in session 1 from session 0 in Vista.

    Thanks and Regards,
    Ajay
     
    erajaysharma, Mar 13, 2007
    #1
    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.