|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Is users logged in to domain and what machine?
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.
Show quote
"Scott_FH" <Scot***@discussions.microsoft.com> wrote in message Windows server does not track this information. You would need to track thisnews: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. 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/ Scott_FH wrote:
Show quote > I have a 2 part question that I am having no luck with. Nothing builtin that can help you here I'm afraid.> > 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, 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 |
|||||||||||||||||||||||