windows 如何记录每次登录和注销Windows XP的时间?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/234251/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I record the time every time I log on and log off of Windows XP?
提问by Haoest
I notice that Windows XP Event Viewer show a list of typical actions under System logs every time I start or shutdown Windows, and I can tell when my day starts and ends.
我注意到每次启动或关闭 Windows 时,Windows XP 事件查看器都会在系统日志下显示典型操作的列表,并且我可以知道我的一天何时开始和结束。
Is there anyways I can record the time every time I lock my screen and every time I re-login? There maybe a way to fool System Event Logger into submission, but a free third party tool would be good too if not.
无论如何,我可以记录每次锁定屏幕和每次重新登录的时间吗?也许有一种方法可以欺骗系统事件记录器提交,但如果没有,免费的第三方工具也会很好。
回答by Nick
You can definitely schedule a task to run when you log on or off. Just write a little script to append a file with the system time and schedule it to run when you log on or off.
您绝对可以在登录或注销时安排要运行的任务。只需编写一个小脚本,将系统时间附加到一个文件中,并安排它在您登录或注销时运行。
回答by itsmatt
回答by Kev
Your Security Event Log records account logon and logoff events. Not sure if screensaver locking then logging on again counts as a loggable event though.
您的安全事件日志记录帐户登录和注销事件。不确定屏幕保护程序锁定然后再次登录是否算作可记录事件。
Timesnapper might be the thing you're looking for:
Timesnapper 可能是您正在寻找的东西:
Keep track of your day, even tracks when you're not using the computer.
跟踪您的一天,甚至在您不使用计算机时进行跟踪。
Not free but at $24 hardly breaking the bank either.
不是免费的,但 24 美元也几乎不会破产。