To configure the target to generate a crash dump, use the System applet in the Control Panel. Click on the Recovery button and then select the option that enables writing debugging information to a file when a STOP occurs. That file is the crash dump file. Its default name is memory.dmp.
Specify the name of the crash dump file in the Kernel Debugger Options dialog box or use the -z command-line option to specify the name of the crash dump file.
Two utilities, DUMPCHK and DUMPREF shipped with the DDK are useful in debugging crash dumps:
DUMPCHK [options] CrashDumpFile
DUMPCHK is used to check the validity of a crash dump file.
DUMPREF [options] SourceDumpFile ShareName SymbolPath
DUMPREF is used to create a reference file to point to a dump check file in another location.
This utility creates a small reference file that points to the actual crash dump file. You can use the reference file as though it were the crash dump file; WinDbg KD will find the actual crash dump file out on the network. This lets you send the reference file, which is only a few bytes long, to someone for debugging, rather than sending the actual crash dump file, which may be many megabytes long.