Using WinDBG to provide a dump under Windows

Document ID : KB000051698
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

How to use WinDBG in order to create a DUMP file for the Policy Server under Windows?

Solution:

You can use Windbg to create a dump for the SiteMinder smpolicysrv.exe process.

  1. In order to use WinDBG, the Debugging Tools for Windows must be downloaded and installed.

    This is a free download from Microsoft using the following URL: http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx

  2. When Windbg is installed, Launch Windbg. Click File->Attach to a Process... (F6).

  3. Select smpolicysrv.exe from the list of running processes and then hit "OK".

  4. Once WinDbg has been attached to the process, then on the command input window at the bottom of the WinDbg window enter a command .dump to generate the dump.

    For E.g:- .dump /mfh c:\temp.dmp

For help on using the .dump command he can type .dump /?
Or also check the help file for Windbg. You can also refer to this url for help http://wiki.zimbra.com/index.php?title=Creating_a_Core_Dump_from_a_Running_P rocess_using_WinDbg

IMPORTANT: Please note that you should generate a full dump and not mini dump.