How to enumerate the logon, shutdown and duration times for a user

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello,
I found some softwares can enumerate all the logon, shutdown and duration
times of a user, is it possible to do using VB.NET, maybe using WMI? can
anyone give some tips or sample? thank you
.



Relevant Pages

  • Re: Windows service shutdown
    ... Rather than worrying about that specific duration, ... you feel it necessary for it to sleep "for about 10-20 minutes" is hard to ... variable that indicates that the service is in its "sleeping" state. ... etc. as appropriate but you would still respond appropriately to shutdown ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to force a logoff in a logon script?
    ... the requirements were to display a user aggrement message once users have entered their hey network credentials. ... I'm not sure if user logon scripts will fire at that stage but cached credentials certainly won't be an issue. ... as the logon script runs *after* they ... If they were to cancel it before it got to the shutdown ...
    (microsoft.public.windows.server.scripting)
  • Re: Cant remote shutdown
    ... Check the local secutity policy if it enables shutdown without ... Microsoft MVP, MCSD ... > logon state (i.e. haven't logged in yet, and the login screen saver is not ... until I logon at the remote machine. ...
    (microsoft.public.win32.programmer.ole)
  • Re: How to force a logoff in a logon script?
    ... That will certainly cause the XP system to shutdown when someone attempts to ... as the logon script runs *after* they logon. ... cancel it before it got to the shutdown command, ... Windows XP computers, that would test for certain group memberships. ...
    (microsoft.public.windows.server.scripting)
  • Re: Shutdown failing with WMI
    ... Hopefully someone in the WMI group has a better ... power off, don't use: ... instead of the Shutdown method, ... The script is below. ...
    (microsoft.public.win32.programmer.wmi)