Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: 4 Apr 2006 15:24:14 -0700,    group: microsoft.public.win32.programmer.tools        back       


ACE inherience problem with explorer.exe on winsta0\default   
I am attempting to use the MSDN article "Establishing a Client Context
from a SID in C++"

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/starting_an_interactive_client_process_in_c__.asp

to launch an instance of explorer.exe in the context of another user,
in this case "Administrator". (I have set lpCommandLine to
"explorer.exe".)

Although explorer.exe starts, and appears to draw the desktop normally,
only some of the windows can be accessed by "Administrator". For
instance, when Administrator launches an application, "ToolbarWindow32"
is updated successfully, but any window attempting to add an icon to
"TrayNotifyWnd" will fail. The "Desktop User Pane" (in the Start menu)
is also blank and can't be updated (by drag/drop, e.g.). However, any
application running as SYSTEM can add itself to "ToolbarWindow32", and
the application then runs without a problem.

There appears to be some problem with ACE inherience (possibly with
grandchildren ?). I have tried playing around with the
"NO_PROPAGATE_INHERIT_ACE" flag in the code (which seems important) but
was unable to change the behaviour.

Could anyone please advise ?

Regards

Patrick
date: 4 Apr 2006 15:24:14 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us