Re: Desktop Creation



Restate your problem. Include minor details such as compiler used, SDK
version, OS (including 32 or 64 bit), and how the process is created.

"BT" <BT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:71ACD29C-0EB1-43A2-8193-2DD42890DF74@xxxxxxxxxxxxxxxx
Thanks for you response, but it just works when a process A start another
process B in another desktop but in the same session. If session is
different, it is impossible to create a desktop in the WinSta0 of the
other
session. The OpenWindowStation() does not work to open station on another
session, event if object manager namespace like name '<depend on
system>\Session 1\WinSta0' is used.

Sorry, but this response dos not answer to my question.
Thanks very much for your response.

"Kellie Fitton" wrote:

On Sep 13, 9:58 am, BT <B...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
From a processus running in SYSTEM security context and Session 0, how
can I
create a desktop on another Session. It seems that API like
OpenWindowStation() and CreateDekstop() apply always on the processus
session
even if a duplicated secuirty token with other session number is used
as
impersonation. For instance, I use a security token with session 1 but
desktop creation continue to apply on session 0. Create a new deskop
and ACL
it from session 0 to another session is not a potential security risk.

If this question is out of subject here, could you tell me where I can
post
this question.

Thanks.


Hi,

The following weblink should give you some pointers:

http://msdn2.microsoft.com/en-us/library/Aa379608.aspx

Kellie.





.



Relevant Pages

  • Re: Bypass Login Screen then load Initial Menu
    ... If you bypass signon and auto reconnect are flagged on your session ... configuration, it opens a potential security risk to the AS/400. ...
    (comp.sys.ibm.as400.misc)
  • Re: Object in session question
    ... > install. ... and I have the .Net SDK installed. ... I don't ask for opinions. ... You said "isn't he putting a page into a session ...
    (microsoft.public.dotnet.framework.aspnet)