|
-
Feb 25th, 2009, 04:29 AM
#1
Thread Starter
PowerPoster
PC restart time
Hi all,
If I restart the PC, is time log in event viewer or somewhere locally in the PC?
Thanks.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Feb 25th, 2009, 05:18 AM
#2
Re: PC restart time
There is a Windows commandline application called uptime.exe that shows you how long the pc has been on.
More info here:
http://www.winxptutor.com/uptime.htm
I code C#....

-
Feb 25th, 2009, 06:59 AM
#3
Re: PC restart time
Don't know if this is what you want...
If you are using XP
click Start, point to Settings, and then click Control Panel. Double-click Administrative Tools, and then double-click Event Viewer.
Click on system node under Event Viewer (local)
Click on menu View=>Find and type say "shutdown"
It will take you to the last entry of shutdown..
You can read more about it in the windows help file...
Hope this is what you wanted?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Feb 26th, 2009, 02:50 AM
#4
Thread Starter
PowerPoster
Re: PC restart time
 Originally Posted by koolsid
Don't know if this is what you want...
If you are using XP
click Start, point to Settings, and then click Control Panel. Double-click Administrative Tools, and then double-click Event Viewer.
Click on system node under Event Viewer (local)
Click on menu View=>Find and type say "shutdown"
It will take you to the last entry of shutdown..
You can read more about it in the windows help file...
Hope this is what you wanted?
Actually I've already check on EventViewer. As you said I search like shutdown, restart. But it not give any correct infor. Once I search for shutdown I only found one instance with the source name as USER32. But it's wrong dated. Not the correct one.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Feb 26th, 2009, 02:53 AM
#5
Thread Starter
PowerPoster
Re: PC restart time
 Originally Posted by vbcode1980
Yep, this is what I'm looking.
I wonder on this. If that exe can find those details, anyhow should recorded those details locally in somewhere. Do you have any idea about that. That link doesn't provide more details about that.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Feb 26th, 2009, 03:19 AM
#6
Re: PC restart time
 Originally Posted by eranga262154
Yep, this is what I'm looking.
I wonder on this. If that exe can find those details, anyhow should recorded those details locally in somewhere. Do you have any idea about that. That link doesn't provide more details about that.
http://www.microsoft.com/technet/scr...5/hey0802.mspx
I code C#....

-
Mar 2nd, 2009, 10:57 AM
#7
Re: PC restart time
It is true that it is a bit odd that a shutdown is not logged clearly in the event log... but usually the last event logged whenever a shutdown is initiated is the "The event log service was stopped" entry. The event log service cannot be stopped manually and if it crashes then the machine will restart anyway, so you know that whenever you see that event then the machine has started to shut down.
Hope that helps.
-
Mar 4th, 2009, 02:13 PM
#8
Re: PC restart time
as far as i am aware, the event log only stores shutdown info on server systems (2003, 2008, 2000 server)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|