Windows 7:正常运行时间,最后一个用户登录的时间和日期,最后一次重新启动


Answers:



13

转到命令提示符(输入cmd开始菜单),然后输入quser。它显示所有[当前]用户登录的日期。administrator将显示计算机上次启动的时间。

即使工作站的屏幕在会话期间已被锁定,这仍将显示正确的登录时间。

然后,您可以使用网络日期计算器计算它们(或计算机)已经开启了多长时间


1
不适合我。'quser' is not recognized as an internal or external command, operable program or batch file.
phuclv 2014年

阅读此内容后,您似乎可以键入query user一个等效的替代方法。尽管您的Windows版本可能不包含它。我在x64 win7上
Hashbrown

1
query user也不起作用。我使用的是
Win8

刚刚在平板电脑上尝试过;仍然有效(8.1 Pro)。也许您有基本的知识,对不起,我不知道您为什么没有它
Hashbrown 2014年


5

使用“ Net user”命令,我们可以找到用户的最后登录时间。确切的命令在下面给出。

**net user  **username** | findstr /B /C:"Last logon"**

用您的PC的用户名更改用户名。

示例: 查找计算机管理员的上次登录时间

**C:\> net user administrator | findstr /B /C:"Last logon"
Last logon                   6/30/2010 10:02 AM
C:>**

这将是有帮助的

net user username


与管理员,它什么也没显示,但是我的用户名显示为“找不到用户名”
Tom Stickel 2013年

这仅适用于本地帐户(例如,管理员,来宾),不适用于网络登录
Samuel O'Malley 2014年

4
  1. 启动命令提示符
  2. 输入cd C:\Windows\system32并按Enter
  3. 然后写quser并按Enter

3

任务管理器将在“性能”选项卡下显示时间


1

这是您寻找的所有要点:
您可以下载脚本和GUI。
您需要用作管理员级别。
您还需要在C:\下创建computers.txt文件,
这就是他的脚本所说的内容,并保存要查询的任何PC /服务器。

我发现这绝对有用,完全归功于Gandalf50。链接在这里>>> ScriptCentre Gurus


欢迎使用超级用户,您从哪里下载gui?脚本说什么?请花几分钟的时间,并宣读: - superuser.com/help .Answering:superuser.com/help/how-to-answer,再次欢迎superuser.Thankyou
mic84

单击我上面提到的“ ScriptCentre Gurus”链接。有每一个细节的解释。
Zayar Wai Lin


0

尝试系统启动时间监控器5.5

This program will display the system started Date & Time , how long the pc is running now etc. You can ask the program to shutdown the pc, restart, hibernate etc when a perticuler time reached.
Note: The program can monitor up to 49days.
Supports Windows 200 / XP/ vista. 

应该可以在Windows 7上使用。但是尚未经过测试。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.