Re: Kernel / user mode shared events and remote desktop



Ok Don, that works fine! Thank you very much.
Maybe that will help some others...:
I had to create my event as "\\BaseNamedObjects\Global\EVENT_NAME" in kernel
mode.
Then OpenEvent it with "Global\EVENT_NAME" and it works.
With DevView.exe (something like WinObj.exe), I can see that then event is
created in BaseNamedObjects\Global and it is not duplicatd in the Session.
Have a nice day all,
Francois.

"Don Burn" wrote:

> Well this is because the remote desktop runs in a different session and the
> event names you are creating are in the main session. The problem is that
> BaseNamedObjects is unique for each session. You are going to have to
> create the events in Global and modify all the applicaitons to use things
> this way. Note on Vista thsi will occur for all users, see
> http://www.microsoft.com/whdc/system/vista/services.mspx
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> "Francois Champs" <FrancoisChamps@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:E7A26890-58BD-4BEA-A152-6EA9FD32C57B@xxxxxxxxxxxxxxxx
> > Dear All,
> > My architecture uses named events that I create in kernel mode. They are
> > created in the BaseNamedObjects "directory".
> > A user mode app then asks the kmode device the name of such events through
> > an IOCT and the open it.
> > This used to work very well till one of our customer started to use it on
> > a
> > server (W2K3) from another client computer through the remote desktop:
> > In such context, the OpenEvent in the application fails with a
> > ERROR_FILE_NOT_FOUND.
> > I'm really surprised of that (because the app is supposed to execute on
> > the
> > server, not on the client...) but I guess that there is something like the
> > event name should refer to an absolute name including the server
> > name...????
> > I tried things like "//BaseNamedObjects/EVENT_NAME" and
> > "//SERVER_NAME/EVENT_NAME" but it still doesn't work...
> > Any hint about that????
> > Many thanks in advance,
> > Francois.
>
>
>
.



Relevant Pages

  • NFS problems with through 2.5.x to 2.6.0-test9
    ... When the server is running the ... kernel, as a client the 2.6 series seem to work perfectly, excluding ... Interesting problem arose when I attempted switch the server's kernel to ... with and without nfsv4 support compiled in (was considering testing it at ...
    (Linux-Kernel)
  • Re: RWW Timing
    ... I understand that you want to monitor when and how ... > to an internal Windows XP or Terminal Server computer. ... SBS creates a connection to the internal client on port 3389 which is ... But it can not tell which one session from the RWW, ...
    (microsoft.public.windows.server.sbs)
  • Re: Restricting TS USers
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... Terminal Services and Microsoft Windows Server 2003 Service Pack ... the remote session does not end immediately. ...
    (microsoft.public.windows.terminal_services)
  • [Summary] SunRay server failure
    ... SunRay Server Software 1.3 ... Kernel: panic: AutoRenewDHCP: IPA lease expired -- must restart ...
    (SunManagers)
  • Re: ASP sessionstate
    ... :>: so it is a clientside issue. ... ASP doesn't know or care what browser it ... but then it is not a new session. ... :> How can a Response.Write write to the server screen? ...
    (microsoft.public.inetserver.asp.general)