Pre requisite
Machine should have 'Debugging tools for Windows' installed.If not download and install from this location : http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
Note:The above package will install windbg.Note the path of windbg.exe.we will use this to capture the crash dump
Steps
1]Open the Registry using Regedit
2]Open the following key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug"
3]Take the backup of the AeDebug regisrty key.This is to restore the original settings once the crash dump is captured.
4]To take backup, right click on 'AeDebug' and select 'Export' option.Specify the name and location to store this.
5]Now set AeDebug\Auto key to 1
6]Set AeDebug\Debugger key to
"" -p%ld -e%ld -g -c ".dump /mfa C:\\dump %ld.dump:q"
7]Try to reproduce the issue.On crash windbg will start and generate the crash dump file at C:\ location.
8]Restore the original settings by double clicking the file exported earlier in step 4