Home All Groups Group Topic Archive Search About

Is users logged in to domain and what machine?



Author
12 Aug 2005 7:50 PM
Scott_FH
I have a 2 part question that I am having no luck with. 

1. I am trying to figure out some way to find out if a users is currently
logged in to the domain
2. and if they are what is the workstation(s) (or ip) they are logged in to.
[windows 2000 domain with windows 2000/xp workstations]

I would eventually like to throw this information into a script but I can
not even figure out how to get this information. 

Any information on how to even figure this out would be useful (third party
tools)

thanks.

Author
12 Aug 2005 11:11 PM
Marty List
Show quote
"Scott_FH" <Scot***@discussions.microsoft.com> wrote in message
news:DD892BEA-17DF-4611-9954-74A22CD8809E@microsoft.com...
> I have a 2 part question that I am having no luck with.
>
> 1. I am trying to figure out some way to find out if a users is currently
> logged in to the domain
> 2. and if they are what is the workstation(s) (or ip) they are logged in to.
>  [windows 2000 domain with windows 2000/xp workstations]
>
> I would eventually like to throw this information into a script but I can
> not even figure out how to get this information.
>
> Any information on how to even figure this out would be useful (third party
> tools)
>
> thanks.


Windows server does not track this information.  You would need to track this
information in your logon and logoff scripts, writing the information to some
sort of database.

Otherwise you would need to query every online system and determine who is
logged on.  This can be done through WMI or several freeware tools like my
NetUsers.exe:
http://www.optimumx.com/download/
Author
13 Aug 2005 3:25 PM
Torgeir Bakken (MVP)
Scott_FH wrote:

Show quote
> I have a 2 part question that I am having no luck with. 
>
> 1. I am trying to figure out some way to find out if a users is currently
> logged in to the domain
> 2. and if they are what is the workstation(s) (or ip) they are logged in to.
>  [windows 2000 domain with windows 2000/xp workstations]
>
> I would eventually like to throw this information into a script but I can
> not even figure out how to get this information. 
>
> Any information on how to even figure this out would be useful (third party
> tools)
>
> thanks.
Hi,

Nothing builtin that can help you here I'm afraid.

1)
As Marty, mentioned, create your own logging database, using logon
/logoff script.


2)
You might want to look into the LimitLogin tool:

A while ago, Microsoft released a new tool designed to limit
concurrent logons, called LimitLogin. To use it just as a logging
tool, set a high limit on concurrent logons.

Limit Login Attempts With LimitLogin
http://www.microsoft.com/technet/technetmag/issues/2005/05/UtilitySpotlight/default.aspx

LimitLogin FAQ
http://bink.nu/files/limitlogonfaq.htm

Limitlogin first impressions
http://www.thepersonunderthestairs.com/?p=23


3)
The UserLock product in the link below is an option:
http://www.softwareshelf.com/files/products.asp?type=cat&ID=42



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

AddThis Social Bookmark Button