Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows uptime and user login history

Posted on 2004-09-30
3
Medium Priority
?
1,451 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 400 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
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, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

609 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