Jump to content

cross Session process creation

- - - - -

  • Please log in to reply
No replies to this topic

#1
Firebird_38

Firebird_38

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Hi, Ihave XP Pro and I want to create a process (run a program, that is) on another user's session. With Terminal Services, one can have multiple sessions open at one time (multiple users logged in at the same time), either all but one user disconnected, or using remote desktop (and some tweaks).

Using CreateProcessWithLogonW or CreateProcessAsUser doesn't really work, because even though the user now officially owns this process, it is still running in the current session. Window stations and/or desktops of uther sessions seem to be very much unaccessible. However, with for instance Task Manager, you can see all running programs (given the right priviledges) that other concurrent users are running. So, if I am allowed to have some interaction then why not more?

Does anyone have a solution short of running a rometely controlled program in that user's session (for instance, started during login) ?

Thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users