Or you can simply check the remote NetBIOS name cache: nbtstat -a computername

If a user is logged on the account name will be cached.
_________________________
Home page: http://www.kixhelp.com/hb/