Solved

Windows uptime and user login history

Posted on 2004-09-30
3
1,433 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
  • 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How does easy transfer work with Domain users? 2 111
Decrypting the Zepto Virus 21 614
windows seems to be corrupt 10 71
How to Force Windows XP to Scan for driver update 14 93
Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now