W
whoopes
Subject pretty much spells it out. The service is running as
localsystem. Here's what I've tried and the results:
1. WMI - Win32_ComputerSystem class - The issue here is that on some
workstations this class is restricted or doesn't return data.
2. WMI - Win32_Process class - Seems to be reliable in regards to
returning data but only good to determin if someone is logged on not
who.
3. Win32::Lanman::NetWkstaUserEnum - Seems to cache logons until the
system is restarted.
Win32::LoggedonUser is not an option. Will only work with interactive
scripts such as a logon script.
Any ideas???
localsystem. Here's what I've tried and the results:
1. WMI - Win32_ComputerSystem class - The issue here is that on some
workstations this class is restricted or doesn't return data.
2. WMI - Win32_Process class - Seems to be reliable in regards to
returning data but only good to determin if someone is logged on not
who.
3. Win32::Lanman::NetWkstaUserEnum - Seems to cache logons until the
system is restarted.
Win32::LoggedonUser is not an option. Will only work with interactive
scripts such as a logon script.
Any ideas???