Link to home
Start Free TrialLog in
Avatar of mustaki
mustaki

asked on

how long it has been since the last boot?

how can i check how long my computer was on since the last restart(boot)
refer to winnt win98 win2000
ASKER CERTIFIED SOLUTION
Avatar of Otta
Otta

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lee W, MVP
For NT, you can use unix like freeware utilities (these may also work with 9x) called "Uptime".  Further, on NT/2000 you can type "Net statistics workstation" or "net statistics server" - this will tell you the last time the Workstation (or server) service started.  If you had to restart the service(s), then this will be inaccurate, but it's rare that you restart these services, so they should suffice.
The suggestion for NT4/2000 will only work if you log in to the computer thus for NT, you are not getting an accurate reading.  Further, it will rewrite the file every time you log in, so if you log in then logout as you go to lunch then come back, the new file info will claim it's been up since you returned from lunch.  Whereas using Net Statistics, you are getting the actual time since the service started