Determine logged on user on Windows computer from Linux

Posted by Justin on Server Fault See other posts from Server Fault or by Justin
Published on 2010-10-27T20:16:47Z Indexed on 2012/04/04 5:31 UTC
Read the original article Hit count: 337

Filed under:
|
|
|

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.

© Server Fault or respective owner

Related posts about linux

Related posts about Windows