Complete Booting of a system

Hi all,
How should I know that the system has completed booted, i.e. it has either
come to the login screen or has loged on properly.
Thanks
Lalit.

Have a user-mode application with an entry in the registry ‘Run’ key
call into your driver with an IOCTL. Or if you want to block the login
process while you notify your driver, install a Winlogon notification
package (2k+) or credential manager (NT4+).

  • Nick Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lalit S. Rana
Sent: Thursday, June 12, 2003 7:41 AM
To: File Systems Developers
Subject: [ntfsd] Complete Booting of a system

Hi all,
How should I know that the system has completed booted, i.e.
it has either come to the login screen or has loged on
properly. Thanks Lalit.


You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I wish to do it in the driver only. In my driver I want a particular code
segment(in dispatch routine) to be working only when the user has booted the
terminal. Is there a RtlXXX or ZwXXX to tell whether a user has booted up
the terminal.

Regards,

Lalit

That is he has logged on the machine. Is there a way of doing it.

“Nick Ryan” wrote in message news:xxxxx@ntfsd…
>
> Have a user-mode application with an entry in the registry ‘Run’ key
> call into your driver with an IOCTL. Or if you want to block the login
> process while you notify your driver, install a Winlogon notification
> package (2k+) or credential manager (NT4+).
>
> - Nick Ryan
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Lalit S. Rana
> > Sent: Thursday, June 12, 2003 7:41 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Complete Booting of a system
> >
> >
> > Hi all,
> > How should I know that the system has completed booted, i.e.
> > it has either come to the login screen or has loged on
> > properly. Thanks Lalit.
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
>
>

There isn’t such an API, as far as I know. You’ll have to rely on
heuristic techniques (filtering file opens and examining the token
specified in the security context, inspecting the tokens of newly
created processes, etc.).

  • Nick Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lalit S. Rana
Sent: Thursday, June 12, 2003 10:41 PM
To: File Systems Developers
Subject: [ntfsd] Re: Complete Booting of a system

I wish to do it in the driver only. In my driver I want a
particular code segment(in dispatch routine) to be working
only when the user has booted the terminal. Is there a RtlXXX
or ZwXXX to tell whether a user has booted up the terminal.

Regards,

Lalit

That is he has logged on the machine. Is there a way of doing it.

“Nick Ryan” wrote in message news:xxxxx@ntfsd…
> >
> > Have a user-mode application with an entry in the registry
> ‘Run’ key
> > call into your driver with an IOCTL. Or if you want to
> block the login
> > process while you notify your driver, install a Winlogon
> notification
> > package (2k+) or credential manager (NT4+).
> >
> > - Nick Ryan
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of
> Lalit S. Rana
> > > Sent: Thursday, June 12, 2003 7:41 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] Complete Booting of a system
> > >
> > >
> > > Hi all,
> > > How should I know that the system has completed booted,
> i.e. it has
> > > either come to the login screen or has loged on properly. Thanks
> > > Lalit.
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@nryan.com To
> > > unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

It’s not a meaningful concept. There can be multiple users, via terminal
services.