MSFN Forum: On which computer is the user logged on - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

On which computer is the user logged on Rate Topic: -----

#1 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 01 June 2005 - 02:12 AM

He peoples,

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 User is offline   CrescendoBEAt 

  • Fun Member!!!
  • Group: Members
  • Posts: 47
  • Joined: 30-May 05

Posted 01 June 2005 - 02:26 AM

hello,
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 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 01 June 2005 - 03:37 AM

Yes, Iīm using a domain controller windows 2003 active directory around 2000 users. I tried several tools but with all tools I can see the computer and which user is logged on. I want to see the user and then I want to see which computer he logged on.

#4 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 01 June 2005 - 05:33 AM

Psloggedon from www.sysinternals.com (part of pstools)

#5 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 01 June 2005 - 06:16 AM

I downloaded pstools it works good, but not very fast. Yes I know I want to much :D

#6 User is offline   tarquel 

  • The Well-wisher
  • PipPipPipPipPip
  • Group: Members
  • Posts: 838
  • Joined: 03-March 04

Posted 01 June 2005 - 07:48 AM

are you refering to finding what computer a certain user logged on throughout the day?

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 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 03 June 2005 - 12:53 AM

it_ybd, on Jun 1 2005, 02:48 PM, said:

are you refering to finding what computer a certain user logged on throughout the day?

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 User is offline   At0mic 

  • Enthusiast
  • PipPip
  • Group: Members
  • Posts: 288
  • Joined: 10-February 05

Posted 03 June 2005 - 01:32 AM

bebbus, on Jun 1 2005, 08:12 AM, said:

He peoples,

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 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 06 June 2005 - 05:43 AM

Iīm trying to change the logon script, I donīt know if itīs going to work we will see soon.
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 User is offline   Richard Slater 

  • Group: Members
  • Posts: 6
  • Joined: 13-December 04

Posted 08 June 2005 - 08:28 AM

bebbus, on Jun 6 2005, 05:43 AM, said:

Iīm trying to change the logon script, I donīt know if itīs going to work we will see soon.
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 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 13 June 2005 - 05:06 AM

Ok, so if netsend use broadcast why canīt I use a command such as netsend with the parameter %username% or something like that.
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 User is offline   Shane_pug 

  • Group: Members
  • Posts: 1
  • Joined: 13-June 05

Posted 13 June 2005 - 10:47 PM

net config server /srvcomment:%username%

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 User is offline   CrescendoBEAt 

  • Fun Member!!!
  • Group: Members
  • Posts: 47
  • Joined: 30-May 05

Posted 14 June 2005 - 05:02 AM

if u use DHCP just go to the DHCP console and on subtree of the scope u can see the users which is logged in and the computer name of them in detail. by the way try compmgmt.msc in Run and check the Session tree in console.

#14 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 17 June 2005 - 07:30 AM

I canīt find in the dhcp. I donīt think itīs standing there.
Iīm now ttying to use %username%.

#15 User is offline   eggie 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 21-April 05

Posted 17 June 2005 - 07:33 AM

If you use Citrix at all you can find out from the management console

#16 User is offline   bebbus 

  • Group: Members
  • Posts: 8
  • Joined: 21-March 05

Posted 20 June 2005 - 01:55 AM

We ain't using citrix, just for a small part of the compagny.
I thought it was a simple question but now I think something else :D

#17 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 20 June 2005 - 02:09 AM

BTW easiest method to find out who is logged in computer is to use svrmgr (Server Manager).

#18 User is offline   stonex 

  • Group: Members
  • Posts: 3
  • Joined: 08-December 04

Posted 23 June 2005 - 03:32 AM

edit

This post has been edited by stonex: 19 July 2005 - 07:15 AM


#19 User is offline   olof.sanner 

  • Group: Members
  • Posts: 1
  • Joined: 05-January 09

  Posted 05 January 2009 - 12:26 PM

I was looking for this information, and found it in this thread, now I have made this:

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 User is offline   Idontwantspam 

  • Nerd-in-Chief
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,063
  • Joined: 25-February 07

Posted 06 January 2009 - 06:42 PM

View PostAt0mic, on Jun 2 2005, 11:32 PM, said:

bebbus, on Jun 1 2005, 08:12 AM, said:

He peoples,

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy