Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: reΐ]: [ActiveDir] Getting computer name from a username
Prev Next
You are not authorized to post a reply.

AuthorMessages
AD000001349User is Offline

Posts:0

12/01/2005 11:10 AM  
> nt\currentversion\winlogon" /v defaultusername <

Thats not exactly what I was looking for. I have no idea what the computer name the user has logged onto. Can you get this from his username?

--
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard +44 (0)845 456 1022
==
www.intergage.co.uk
sdejager@xxxxxxxxxxxxxxx

Are you aware of our referral scheme? Learn how you could profit personally from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
FreddyHARTONOUser is Offline

Posts:19

12/01/2005 2:24 AM  
Hi Shane

Ah you are looking the other way round, sorry not aware of anything is
stored in the ad on this info.

You could though on a stupid workaround method, create a simple batch file -
attach it to all users via gpo logonscript - things like below

@echo off
Echo [%date% %time%]: %username%@%computername% logged on >>
\\yourdomain.com\netlogon\pclist.txt

Run it in a week and you have that list of users..again this isnt something
fun to be done..
Thank you and have a splendid day!

Kind Regards,

Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail: freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65) 6330-9785

-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Shane De Jager
Sent: Thursday, December 01, 2005 12:08 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: reΐ]: [ActiveDir] Getting computer name from a username

> nt\currentversion\winlogon" /v defaultusername <

Thats not exactly what I was looking for. I have no idea what the computer
name the user has logged onto. Can you get this from his username?

--
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard +44 (0)845 456 1022
==
www.intergage.co.uk
sdejager@xxxxxxxxxxxxxxx

Are you aware of our referral scheme? Learn how you could profit personally
from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
AD00000334User is Offline

Posts:0

12/01/2005 11:57 AM  
Hi Shane

Have a look at PsLoggedOn from Sysinternals. It may be what your looking
for.

Cheers

Danny
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Shane De Jager
Sent: 01 December 2005 11:08
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: reΐ]: [ActiveDir] Getting computer name from a username
> nt\currentversion\winlogon" /v defaultusername <

Thats not exactly what I was looking for. I have no idea what the
computer name the user has logged onto. Can you get this from his
username?

--
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard +44 (0)845 456 1022
==
www.intergage.co.uk
sdejager@xxxxxxxxxxxxxxx

Are you aware of our referral scheme? Learn how you could profit
personally from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

Email has been scanned for viruses by Altman Technologies' email
management service - www.altman.co.uk/emailsystems
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
TJenszUser is Offline

Posts:0

12/02/2005 8:29 AM  
This is a bit of an old way of doing things, but if the client machines are
running the messenger service and they're registering with WINS, it'll
register the userid into the WINS database with the IP address of the
machine they've logged onto.

If not, I'd do the scripting thing - but send it to a database

Travis

-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Freddy HARTONO
Sent: 01 December 2005 14:17
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: reΐ]: [ActiveDir] Getting computer name from a username
Importance: Low

Hi Shane

Ah you are looking the other way round, sorry not aware of anything is
stored in the ad on this info.

You could though on a stupid workaround method, create a simple batch file -
attach it to all users via gpo logonscript - things like below

@echo off
Echo [%date% %time%]: %username%@%computername% logged on >>
\\yourdomain.com\netlogon\pclist.txt

Run it in a week and you have that list of users..again this isnt something
fun to be done..
Thank you and have a splendid day!

Kind Regards,

Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail: freddy.hartono@xxxxxxxxxxxxxxxxxxxx
phone: (+65) 6330-9785

-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Shane De Jager
Sent: Thursday, December 01, 2005 12:08 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: reΐ]: [ActiveDir] Getting computer name from a username

> nt\currentversion\winlogon" /v defaultusername <

Thats not exactly what I was looking for. I have no idea what the computer
name the user has logged onto. Can you get this from his username?

--
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard +44 (0)845 456 1022
==
www.intergage.co.uk
sdejager@xxxxxxxxxxxxxxx

Are you aware of our referral scheme? Learn how you could profit personally
from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
This message has been scanned for viruses by MailControl - (see
http://bluepages.wsatkins.co.uk/?4318150)
This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > reΐ]: [ActiveDir] Getting computer name from a username



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:kosciesza69
New TodayNew Today:3
New YesterdayNew Yesterday:1
User CountOverall:4319

People OnlinePeople Online:
VisitorsVisitors:134
MembersMembers:0
TotalTotal:134

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use