Re: Connected users list

From: Mircea Pleteriu (mpleteriu_at_newsgroup.nospam)
Date: 06/09/05


Date: Thu, 9 Jun 2005 11:15:20 +0300

Hi,

My computer is part of a LAN.
Other users can logon (remotly) my system. I want to detect them.

The WMI on XP has some classes such as LoggedOnUser and LogonSession which
give the currenly loggedon users.
But this classes does not exist in WMI on W2k.

"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:469624632539084547322755@news.microsoft.com...
> Hello Mircea,
>
> again - how are they connected.
>
> if using a file share - it's in computer management -> shared folders ->
> sessions
>
> this information can be obtained via WMI (System.Management)
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
> > How to get the list of the users connected to my system?
> >
>
>
>



Relevant Pages

  • 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: 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)
  • Re: Security Event Logging and remote WMI connection question
    ... Does any one know on what WMI call these entries are added to remote ... box security log? ... User Logoff: ... Successful Network Logon: ...
    (microsoft.public.win32.programmer.wmi)
  • Retrieve Logon Sessions from WMI?
    ... writing a WMI provider that would retrieve information about interactive ... logon sessions from an NT machine - so you could query if someone is ...
    (microsoft.public.win32.programmer.wmi)