Guest Matthias Marx Posted April 18, 2008 Posted April 18, 2008 Hello is it possible to find out - on witch worksation some one logged in? Example: i am user marx and I work an Workstation ws9999 - so i will have a lookup lu marx = result is: marx is at ws9999 - is there a way? regards. Matthias
Guest Pegasus \(MVP\) Posted April 18, 2008 Posted April 18, 2008 Re: Whois User "Matthias Marx" <MatthiasMarx@discussions.microsoft.com> wrote in message news:FDE075BF-6D88-483E-B4D2-5B9C8611B144@microsoft.com... > Hello > > is it possible to find out - on witch worksation some one logged in? > > Example: i am user marx and I work an Workstation ws9999 - so i will have > a > lookup lu marx = result is: marx is at ws9999 - > > is there a way? > > regards. > > Matthias AFAIK, Windows does not keep such a record. An easy way would be for you to insert this line into your logon script: echo %date% %time% %ComputerName% %UserName% >> \\YourServer\SomeShare\logon.log This would enable you to track every successful logon event.
Guest Matthias Marx Posted April 18, 2008 Posted April 18, 2008 Re: Whois User but if i send a net send message, i could send via computername and username. so some mapping is there net send marx or net send ws9999 works in the same way so i thing there is mapping between this "Pegasus (MVP)" wrote: > > "Matthias Marx" <MatthiasMarx@discussions.microsoft.com> wrote in message > news:FDE075BF-6D88-483E-B4D2-5B9C8611B144@microsoft.com... > > Hello > > > > is it possible to find out - on witch worksation some one logged in? > > > > Example: i am user marx and I work an Workstation ws9999 - so i will have > > a > > lookup lu marx = result is: marx is at ws9999 - > > > > is there a way? > > > > regards. > > > > Matthias > > AFAIK, Windows does not keep such a record. An easy way > would be for you to insert this line into your logon script: > > echo %date% %time% %ComputerName% %UserName% >> > \\YourServer\SomeShare\logon.log > > This would enable you to track every successful logon event. > > >
Guest hmuslman Posted April 18, 2008 Posted April 18, 2008 Re: Whois User download psloggedon script. very handy tool (plus other network tools that come with the package). google it, i believe microsoft own it now. Matthias Marx wrote: >but if i send a net send message, i could send via computername and username. >so some mapping is there > >net send marx or net send ws9999 works in the same way >so i thing there is mapping between this > >> > Hello >> > > >> >> This would enable you to track every successful logon event.
Guest Richard Mueller [MVP] Posted April 18, 2008 Posted April 18, 2008 Re: Whois User If you send a message to a workstation, it is seen by whomever is logged into the workstation. If you send a message to a user it is seen by the user on whatever workstation they are logged into. AD does not know if any particular user is currently logged in. AD has no idea what workstation a user has logged into. Each server keeps track of "sessions", but only for awhile when there is activity. You can enumerate sessions on a server and sometimes tell which user is logged into which workstation, but only if the user is currently using resources on the server. Worse, if the user logs off the session will show up for awhile afterwards. And of course you would need to query every server the user might access. It might be that the mapping you refer to is maintained in a WINS server. I have never seen code to extract it. -- Richard Mueller Microsoft MVP Scripting and ADSI Hilltop Lab - http://www.rlmueller.net -- "Matthias Marx" <MatthiasMarx@discussions.microsoft.com> wrote in message news:D5133A6F-E233-4AF9-A6B8-59AE0CDB0AD8@microsoft.com... > but if i send a net send message, i could send via computername and > username. > so some mapping is there > > net send marx or net send ws9999 works in the same way > so i thing there is mapping between this > > > "Pegasus (MVP)" wrote: > >> >> "Matthias Marx" <MatthiasMarx@discussions.microsoft.com> wrote in message >> news:FDE075BF-6D88-483E-B4D2-5B9C8611B144@microsoft.com... >> > Hello >> > >> > is it possible to find out - on witch worksation some one logged in? >> > >> > Example: i am user marx and I work an Workstation ws9999 - so i will >> > have >> > a >> > lookup lu marx = result is: marx is at ws9999 - >> > >> > is there a way? >> > >> > regards. >> > >> > Matthias >> >> AFAIK, Windows does not keep such a record. An easy way >> would be for you to insert this line into your logon script: >> >> echo %date% %time% %ComputerName% %UserName% >> >> \\YourServer\SomeShare\logon.log >> >> This would enable you to track every successful logon event. >> >> >>
Guest Pegasus \(MVP\) Posted April 18, 2008 Posted April 18, 2008 Re: Whois User "Matthias Marx" <MatthiasMarx@discussions.microsoft.com> wrote in message news:D5133A6F-E233-4AF9-A6B8-59AE0CDB0AD8@microsoft.com... > but if i send a net send message, i could send via computername and > username. > so some mapping is there > > net send marx or net send ws9999 works in the same way > so i thing there is mapping between this > Maybe, maybe not. Time to get stuck into the messenger service and analyse it in detail!
Recommended Posts