Re: Finding out how the machine last rebooted and when.
- From: "Torcaza" <cgrappa@xxxxxxxxx>
- Date: 20 Sep 2006 11:12:36 -0700
You should write some code to check the operating system event log.
On windows 2003 each time you reboot your computer a new entry is added
to the system log with event id 1074, but on XP you may have to enable
this service since it usually comes disabled.
You can find info on how to enable de Shutdown event tracker here...
http://support.microsoft.com/default.aspx?scid=kb;en-us;293814
That would cover a graceful shutdown
And if by a system crash you mean bsod there is an event entry too i'm
not very sure right now but i think its event id 1003
Hope it helps
UJ wrote:
How can I find out when the machine last rebooted and where it was a system
crash or an regular reboot.
This would be on XP.
TIA - Jeff.
.
- Follow-Ups:
- Re: Finding out how the machine last rebooted and when.
- From: Thomas T. Veldhouse
- Re: Finding out how the machine last rebooted and when.
- References:
- Prev by Date: ObjectDataSource Question
- Next by Date: Bytes manipulation
- Previous by thread: Re: Finding out how the machine last rebooted and when.
- Next by thread: Re: Finding out how the machine last rebooted and when.
- Index(es):
Relevant Pages
|