Discussion:
I need user usage information from Windows Server 2003
(too old to reply)
allen1000
2009-07-30 03:35:04 UTC
Permalink
Is there a "cmd" to get user usage information which could be "piped" to a
file to get information on when a user last logged into the server ? Thanks
in advance for any assistance provided.
Pegasus [MVP]
2009-07-30 05:36:11 UTC
Permalink
Post by allen1000
Is there a "cmd" to get user usage information which could be "piped" to a
file to get information on when a user last logged into the server ?
Thanks
in advance for any assistance provided.
You need to collect this information yourself, e.g. by inserting the
following lines into your logon script:

@echo off
echo %date% %time% %ComputerName% %UserName% >>
\\YourServer\SomeShare\SomeFolder\logon.txt
Al Dunbar
2009-07-30 23:31:21 UTC
Permalink
Post by Pegasus [MVP]
Post by allen1000
Is there a "cmd" to get user usage information which could be "piped" to a
file to get information on when a user last logged into the server ?
Thanks
in advance for any assistance provided.
You need to collect this information yourself, e.g. by inserting the
@echo off
echo %date% %time% %ComputerName% %UserName% >>
\\YourServer\SomeShare\SomeFolder\logon.txt
Or in vbscript:

http://www.rlmueller.net/Logon5.htm

We use this technique, but the log file has the date embedded in the name to
avoid performance issues that would result from appending to a huge log
file.

/Al
jford
2009-07-31 13:08:03 UTC
Permalink
Or there is a utility

www.OptimumX.com

:/>netusers /h

If they are logging in with their own ID's it will show their last logon to
a system.

-J
Post by Al Dunbar
Post by Pegasus [MVP]
Post by allen1000
Is there a "cmd" to get user usage information which could be "piped" to a
file to get information on when a user last logged into the server ?
Thanks
in advance for any assistance provided.
You need to collect this information yourself, e.g. by inserting the
@echo off
echo %date% %time% %ComputerName% %UserName% >>
\\YourServer\SomeShare\SomeFolder\logon.txt
http://www.rlmueller.net/Logon5.htm
We use this technique, but the log file has the date embedded in the name to
avoid performance issues that would result from appending to a huge log
file.
/Al
Loading...