-
Network Problem
:cool: I am trying to see who is currently logged on to which computer in my network. I try to connect as administrator to each computer and get the username property of Win32_ComputerSystem using WMI. But this property only returns NULL. I can get other Info from Win32_ComputerSystem but not the username. Is there any way to fix this?
Or is there anyway else I can get the username info remotely from my computer?
The username property works fine when I logon to any of the computers as an Administrator but not when someone else is logged on.
All the computers in my network use Win2k and we use Win2k Advanced server as the domain server.
Thank you
-
This is interesting. I'm on a W2K Domain as well, but it only seems to return the username if a member of the Domain Admins group is logged in. I wonder if this is do to security, or is some kind of bug.
Anyway, you can probably do it via the more traditional Net* API calls. See www.mvps.org/vbnet or MSDN or your favorite API site for more info.