Detect Blue screen occurrence
How to detect whether blue screen occurred or not on windows 7 32bit OS. One way is to check for \windows\memroy.dmp and \windows\Minidmp*.dmp files. Is there any other place we can check to see if blue screen occurred. Event viewer logs doesn't seems to record all the blue screens occurrence. Any thoughts on this?
EDIT: The OS is win7 32bit (OS customized to 900MB size by removing the most of the components). The languages supported are C++ without using the .NET framework and VB script/java script.
I need to extend this to Win 7 64bit and Vista 32 bit also.
EDIT2: If system comes b开发者_运维知识库ack event viewer logs the BSOD irrespective of the BSOD type? If yes, is there any list of event ID I can look in event viewer logs?
It depends whether you can configure by yourself how blue screens are recorded.
If you can, the event viewer seems the best way. If it's configured, there should be an entry for each BSOD.
Here is some detailed information on How to configure system failure and recovery options in Windows
Search backwards in the log for the most recent startup event and the secondmost recent startup event. If there's no shutdown event in between them, then you know.
精彩评论