Detecting if system has been crashed when starting

Hello everybody.
It will be very useful for me if coredumps could be automatically copied into internal corporate shared folder, so I can analyze them(or automatically analyzed using the windbg script) when testing alpha version.

Have you got any ideas about that, how correctly solve that?
Or how to detect on the start if previos system boot has failed?
May be system log?

What is the best way, ha)?

Thank you guys!
Investigating…

Look in the system event log.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntdev…
> Hello everybody.
> It will be very useful for me if coredumps could be automatically copied
> into internal corporate shared folder, so I can analyze them(or
> automatically analyzed using the windbg script) when testing alpha
> version.
>
> Have you got any ideas about that, how correctly solve that?
> Or how to detect on the start if previos system boot has failed?
> May be system log?
>
> What is the best way, ha)?
>
> Thank you guys!
> Investigating…
>

xxxxx@mail.ru wrote:

Hello everybody.
It will be very useful for me if coredumps could be automatically copied into internal corporate shared folder, so I can analyze them(or automatically analyzed using the windbg script) when testing alpha version.

Have you got any ideas about that, how correctly solve that?
Or how to detect on the start if previos system boot has failed?
May be system log?

What is the best way, ha)?

Core dumps are created in a file called MEMORY.DMP. So, you could add a
batch file in your Start Menu Startup group that does, for example:

if not exist c:\windows\MEMORY.DMP goto :exit
move c:\windows\MEMORY.DMP “m:\Shared\Dumpd%DATE% %TIME% MEMORY.DMP”
:exit


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Thank you guys!