Solved

Windows uptime and user login history

Posted on 2004-09-30
3
1,444 Views
Last Modified: 2009-12-16
Could someone please tell me an easy way to show system uptime on a Windows XP platform? I'm thinking of something simple like the Unix uptime command. I'd also like to be able to view a login history the way Unix handles the "last" command. I've looked at event viewer output but I don't see what I'm realy looking for. Any help? Thanks! Marty Meadows
0
Comment
Question by:pzxkys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:davexnet
ID: 12196059
Hello, to see uptime in XP PRO, use the systeminfo command from a CMD box.
For XP all flavors, there's Doug Knox's utility:
http://www.dougknox.com/xp/utils/xp_uptime.htm

For a history, as far as I know, the event viewer is the only way.
System/ source enventlog,
Event 6005 for system start
Event 6006 for system shutdown.

Dave
0
 

Author Comment

by:pzxkys
ID: 12198986
Thanks Dave. Events 6005 & 6006 in event viewer just tell us when the event logging app was started and stopped don't they? Is there any way to see what users have logged in and out?
0
 
LVL 6

Accepted Solution

by:
davexnet earned 100 total points
ID: 12201640
Hello, events 6005 and 6006 are as you say, but you can also use them
reliably as an indicator of when the system was booted and shutdown, since that's the
only time 6005 and 6006 are generated.
Regarding LOGON events, if you're using XP home, the info S/B already collected in the
security tab of the event viewer.
For Xp PRO,  you would use GPEDIT.MSC and navigate to computer config/windows settings/
security settings/local policy/audit/audit account logon events.
Once that is set, you'll get security tab entries.
Dave
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question