Solved

Windows uptime and user login history

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

10 Experts available now in Live!

Get 1:1 Help Now