Discussion Locked

List of user IDs logged onto NT machines

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I was wondering if anyone knows of a way to find out which machines are being logged onto by a specific user ID. Instead of doing an nbtstat on a computer name, I would like to be able to input a username and then get a listing of all the computersthat the username is logged onto.

Unfortunately we don't have succesful logon auditing turned on so I can't find out from the event logs.

Any help would be greatly appreciated :)

Kris.

4 replies

by thevikingprince

Since you already mentioned the obvious... Logging ?Success/Failures Logins" (Auditing) aren't enabled. The only other way I've been able to catch people doing similar things on my network is to write a script (BAT File) that does an "If exist" statement on the profile directories of all the machines in my network (or a particular location/site) where there is a problem. For example:
.
If exist "\\Wkst\C$\Winnt\Profiles\UserID" goto RecordUsage"
:RecordUsage
dir \\wkst\c$\winnt\profiles\userid\somefile > local-log
.
You can substitute the profile path based on your Windows OS (98, NT, etc). You can then write a subroutine that does a "DIR" on a file in the directory and pipe that into a Master Log so you can get a date/time stamp of when the activity occurred. It?s a lot more work, but I?ve done it to track people going to inappropriate websites.

FYI: A ?Net View /Dom:YourDomain? will give you a quick listing of all the workstations on a given domain, but there are lots of ways of obtaining that info.

Good Luck,
Vik

by lordinfidel

You can use Server Mgr to look at who is connected to each machine.

Simply launch Server Manager from your machine, make sure that you are a domain admin, and from the view list select all. This will show all workstations and servers.

From there simply double click on the wkstn/server you want to look at.

From there it is pretty self explanatory.

It's not pretty, but it will work.

by bremmerz

Thanks for the replies guys. I'll go with the scripting idea as unfortunately I have too many machines to manually go through each one with srvmgr.

Thanks again, most appreciated :o)

Kris.

This discussion is closed to new replies.