Determine logged on user on Windows computer from Linux
- by Justin
How can I determine who is logged on to a remote Windows XP computer from Linux? I do not have administrator access on the domain or on the remote computer.
I can do it from a separate Windows computer using PsLoggedOn -L \\computer from PsTools
I've tried using nmblookup -A remotecomputer, but I only see entries for the
computer and the domain, not a <03> entry for the user.
I've also tried running PsLoggedOn under wine; I get an error:
Connecting to Registry of \\computer.company.com...
fixme:reg:RegConnectRegistryW Connect to L"computer.company.com" is not supported.
I started looking into winexe, but it looks like I would need administrative rights on the remote computer to get it working.