Retrieve Logon Sessions from WMI?

From: Stefan Kuhr (kustt110_at_gmx.li)
Date: 05/29/04


Date: Sat, 29 May 2004 11:06:28 +0200

Hello everyone,

I want to get my feet wet with WMI programming and I had the idea of
writing a WMI provider that would retrieve information about interactive
logon sessions from an NT machine - so you could query if someone is
currently interactively logged in to a particular computer and who
this/these person(s) is/are. Is there already some standard
functionality for this purpose or would such a provider actually fill a
gap? I simply don't want to reinvent the wheel if there is already such
functionality built into WMI as it ships with the OS or if there is
already some third-party functionality available for this. As for logon
session retrieval I already have working code for that for NT/W2K/XP.

TIA,

-- 
Stefan


Relevant Pages

  • Re: wmiprvse.exe
    ... > Windows XP, ... > the previous problems in Windows 2000 where the failure of a WMI ... With the new WMIPRVSE model, ... > single WMI provider service affects that service only rather than the ...
    (microsoft.public.windows.server.sbs)
  • Re: How to get current drive mapping
    ... Yes, I also thought of that, but, as you say, without the user's logon ... Willy Denoyette suggests I use WMI. ... drive mapping for that logon session and thus the UNC path. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: PdhCollectQueryData wont collect data on WXP after SP2
    ... I suspect somehow that logon and authentication has changed with SP2, ... various newsgroup postings say that XP Home has been giving trouble to WMI ... >> start the app, and then switch user to other users on the system. ...
    (microsoft.public.win32.programmer.kernel)
  • RE: OSD - HAL type retrieving
    ... > I have a little problem with retrieveng HAL information from WMI in WinPE. ... > Is there another way to retrieve information about HAL type? ...
    (microsoft.public.sms.tools)
  • Re: WMI not working
    ... what does this have to do with WMI? ... Scripting and WMI Filters. ... relating to the use of WMI Filters being applied to Group Policy ... user logon processing hence the link between WMI and logon. ...
    (microsoft.public.win32.programmer.wmi)