views:

742

answers:

2

i would like create new window station & windows desktop and attach my process to it. how can i do that

i need to know

  1. Creating Window station and attach my desktop

  2. Creating & switching between Desktop effectively

  3. how do i attaching process to winlogon desktop(if it is possible )

  4. Destroy created desktop and return back to windows desktop

A: 

Although Windows supports multiple "window stations", the documentation states that:

The interactive window station, Winsta0, is the only window station that can display a user interface or receive user input. It is assigned to the logon session of the interactive user, and contains the keyboard, mouse, and display device. All other window stations are noninteractive, which means they cannot display a user interface or receive user input.

This indicates that the ability to switch between window stations in the way you are proposing is not possible.

Greg Hewgill
A: 
watsonmw