On which computer is the user logged on
#1
Posted 01 June 2005 - 02:12 AM
I have a small problem / question, I want to see on which computer(name) a user logged on.
Iīve searched every where but I didnīt find a thing. The only thing that I found was: nbtstat but thatīs reverse. with this commando you search on computername and then you see the user, thatīs not what I want.
Hopefully can someone here help me out.
greetz
bebbus
#2
Posted 01 June 2005 - 02:26 AM
explain more what u want to see and where? i mean do u used domain controller or not? the server which the users login, is stand alone or not?
#3
Posted 01 June 2005 - 03:37 AM
#4
Posted 01 June 2005 - 05:33 AM
#5
Posted 01 June 2005 - 06:16 AM
#6
Posted 01 June 2005 - 07:48 AM
You can use Event Viewer for that and use the filter of it to narrow down the search results really easy.
You can use File Server Management to display useful stuff like all the shares on the server, the current seesions active, and the users currently logged on and on what machine/IP they are logged on to.
Regards,
Nath.
#7
Posted 03 June 2005 - 12:53 AM
it_ybd, on Jun 1 2005, 02:48 PM, said:
You can use Event Viewer for that and use the filter of it to narrow down the search results really easy.
You can use File Server Management to display useful stuff like all the shares on the server, the current seesions active, and the users currently logged on and on what machine/IP they are logged on to.
Regards,
Nath.
<{POST_SNAPBACK}>
I donīt exactly know what you mean, but what I want is very easy (I think).
I want a tool I fill the userid in, the tool is searching the network and when he found the user and displays on which computer heīs logged on.
#8
Posted 03 June 2005 - 01:32 AM
bebbus, on Jun 1 2005, 08:12 AM, said:
I have a small problem / question, I want to see on which computer(name) a user logged on.
Iīve searched every where but I didnīt find a thing. The only thing that I found was: nbtstat but thatīs reverse. with this commando you search on computername and then you see the user, thatīs not what I want.
Hopefully can someone here help me out.
greetz
bebbus
<{POST_SNAPBACK}>
Put the following code into a batch file. You can add it to your logon script if you like. It will create a txt file named after the user. Inside it will be a list of every computer that person has logged onto since the script was first executed. If you like you could add a time command which will tell you what time each user logged onto each computer. This example will create a document for every user but you can have every user in the same document if you like.
echo %computername% >> %username%.txt
#9
Posted 06 June 2005 - 05:43 AM
The strange thing is when I use "net send" and a username it will appeare on the users screen.
This means that there is some kind of database that holds usernames and computernames. Or is this stupid thinking?
#10
Posted 08 June 2005 - 08:28 AM
bebbus, on Jun 6 2005, 05:43 AM, said:
The strange thing is when I use "net send" and a username it will appeare on the users screen.
This means that there is some kind of database that holds usernames and computernames. Or is this stupid thinking?
<{POST_SNAPBACK}>
Net send messages are broadcasted to all computers, they are only shown, however, on computers where one of the parameters match... i.e. Domain Name, User Name, Computer Name
#11
Posted 13 June 2005 - 05:06 AM
Pstools uses the registry to find the username. but if there are 2000 computers this will take along time. and netsend works very fast.
#12
Posted 13 June 2005 - 10:47 PM
If you add this to the logon script, this will add the username to the comments field when you browse the computers in My Network Places, entire network
This post has been edited by Shane_pug: 13 June 2005 - 10:48 PM
#13
Posted 14 June 2005 - 05:02 AM
#14
Posted 17 June 2005 - 07:30 AM
Iīm now ttying to use %username%.
#15
Posted 17 June 2005 - 07:33 AM
#16
Posted 20 June 2005 - 01:55 AM
I thought it was a simple question but now I think something else
#17
Posted 20 June 2005 - 02:09 AM
#18
Posted 23 June 2005 - 03:32 AM
This post has been edited by stonex: 19 July 2005 - 07:15 AM
#19
Posted 05 January 2009 - 12:26 PM
QUICKGUIDE to connect or find the computer a user is logged on to:
1) Create a share with read/write-permissions for authenticated users
2) add following 2 lines to logon.bat (or whatever you call your logonfile)
del \\Server\AdminLogPath$\RemoteUser\%username%@*.*
echo mstsc /v:%computername% >> \\Server\AdminLogPath$\RemoteUser\%username%@%computername%-RemoteDesktop.bat
OR you can change line 2 to whatever you like, or even add more lines like:
del \\Server\AdminLogPath$\RemoteUser\%username%@*.*
echo %username%īs last logon was at %computername %date% %time% etc.etc.>> \\Server\AdminLogPath$\RemoteUser\%username%@%computername%-lastlogon.log
echo vncviewer %computername% >> \\Server\AdminLogPath$\RemoteUser\%username%@%computername%-VNC-viewer.bat
echo mstsc /v:%computername% >> \\Server\AdminLogPath$\RemoteUser\%username%@%computername%-RemoteDesktop.bat
echo \\%computername% >> \\Server\AdminLogPath$\RemoteUser\%username%@%computername%-Browser.bat
3) create a shortcut to \\Server\AdminLogPath$\RemoteUser\ at your desktop
4) Whenever you need access to a users computer, just open the shortcut and sort or search in the folder after your needs.
example: doubleclick JohnDoe@PC123456-VNC-viewer.bat to give som remotesupport (of course you need VNC-viewer on both sides first)
ENJOY!
#20
Posted 06 January 2009 - 06:42 PM
At0mic, on Jun 2 2005, 11:32 PM, said:
bebbus, on Jun 1 2005, 08:12 AM, said:
I have a small problem / question, I want to see on which computer(name) a user logged on.
Iīve searched every where but I didnīt find a thing. The only thing that I found was: nbtstat but thatīs reverse. with this commando you search on computername and then you see the user, thatīs not what I want.
Hopefully can someone here help me out.
greetz
bebbus
<{POST_SNAPBACK}>
Put the following code into a batch file. You can add it to your logon script if you like. It will create a txt file named after the user. Inside it will be a list of every computer that person has logged onto since the script was first executed. If you like you could add a time command which will tell you what time each user logged onto each computer. This example will create a document for every user but you can have every user in the same document if you like.
echo %computername% >> %username%.txt
That's pretty much what the event viewer does, and it does it automatically and includes other information as well...
You can view the logs by opening eventvwr.exe and opening the security log
- ← Block all chatting software mIRC, MSN, Yahoo, etc
- Windows NT4/2000/2003
- Password must meet complexity requirements →



Help
Back to top









