Is there any way to figure otu what computer a user is logged onto via thier username

coolred

Diamond Member
Nov 12, 2001
4,911
0
0
Say you have a network with 50 stations on the domain. You know the computer names of all workstations. But is there somethign in windows or a program out there that will allow you to search by user name(user logged into the machine) and have it tell you what computer they are using by computer name?
 

joshharrington

Senior member
Apr 17, 2005
784
0
0
that is a nifty tool, but how do I make it so it will skip certain computers if access isn't there, or how can I specify a username and password
 

GreyMittens

Member
Nov 1, 2005
174
0
0
Originally posted by: joshharrington
that is a nifty tool, but how do I make it so it will skip certain computers if access isn't there, or how can I specify a username and password

You could write a script that steps through the ip addresses I suppose, something like (please be aware I just made this up for example only... it won't actually do anything)

set ip=1
set n=255
:loop
psloggedon \\192.168.0.ip
if ip=n goto end
ip=ip+1
goto loop
:end

Using whatever scripting language / program you like. It's not so easy in dos batch files as (iirc) you can't do arithmetic using it. (ip=ip+1)

As for specifying a user name and password, that you can't do - just a limitation of the program.


 

TG2

Banned
Nov 14, 2005
774
0
0
There was a GUI app, I forget the name, but I have it at home, that lets you search the domain for a username and tells you the PC its logged onto.

The other way to find it possibly is if the user has a hoem drive mapping on there profile, you can go into that server (that the mapping is too) and then under shared folders/sessions it should show you the persons ID logged in, and I think the computer name