Yashy
asked on
How can I tell how long somebody has been logged on for on a server 2003
Hi guys
If somebody logs onto the server through AD, how can I tell for how long that user stayed logged on for? Is this something that can be enabled via auditing?
Many thanks
Yash
If somebody logs onto the server through AD, how can I tell for how long that user stayed logged on for? Is this something that can be enabled via auditing?
Many thanks
Yash
just try extract all the logon log ...filter his name and count his time
You cannot do that simply. AD does not store that information. You need for that some scrpt which checks user logon and logoff date and time.
However, if you have enabled Directory Services auditing (by default enabled) you can look in Security event log user logon and logoff events and evaluate it by yourself ;)
Regards,
Krzysztof
However, if you have enabled Directory Services auditing (by default enabled) you can look in Security event log user logon and logoff events and evaluate it by yourself ;)
Regards,
Krzysztof
You could check the modified date on the users profile on the terminal server (in c:\documents and settings\user).
For the last logon with the account, this value is stored in AD and can usually be viewed with a simple VBS script.
http://www.rlmueller.net/Last%20Logon.htm
For the last logon with the account, this value is stored in AD and can usually be viewed with a simple VBS script.
http://www.rlmueller.net/Last%20Logon.htm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.