Finding what user is logged in.

From: peeldog (peeldog_at_discussions.microsoft.com)
Date: 08/11/05

  • Next message: Narendra: "RE: Finding what user is logged in."
    Date: Wed, 10 Aug 2005 16:16:08 -0700
    
    

    I am trying to write an NT Service that will start a task 5 mins after a user
    logs out, and terminate it as soon as they log back in again. Should I be
    using the console Handler routine to catch the logoff event? Or should I
    poll OpenWindowStation?

    Any pointers would be appreciated.


  • Next message: Narendra: "RE: Finding what user is logged in."

    Relevant Pages

    • Re: [SLE] bash: /dev/null: Is a directory
      ... > When ever one logs in from console, ssh, anything, following gets printed ... > Any pointers to sort out whats wrong? ...
      (SuSE)
    • Re: 6680 call/message log question ?
      ... > OK, I may be missing something here, but can anyone tell me where to find ... > how many text's and how many mins of calling I've done? ... > On the old 6600 it was in logs, on the 6680 it tell me who I've ...
      (uk.telecom.mobile)
    • Re: Tracking FSMO role changes
      ... However we don't see any event id 566 in the logs. ... Would there be any other logs or pointers outside of the Eventlgs that ... tell us when a master role was changed.? ...
      (microsoft.public.windows.server.active_directory)
    • Re: log shipping
      ... Once there is a backlog of logs you'll ... need to manually restore some logs before the automatic ... more frequent load than copy. ... every 5 mins but a copy every 15 mins. ...
      (microsoft.public.sqlserver.replication)
    • Windows Logon Hangs for long time
      ... mins and then logs my personal settings. ... minute to login the same domain. ...
      (microsoft.public.windowsxp.perform_maintain)