?
Solved

Windows uptime and user login history

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
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, …
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

801 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