Windows Troubleshooting: Using ADPlus to get a memory dump from a process

ADPlus is a tool that will allow us to get a memory dump from a process that is causing trouble.

To get this tool, please install the “Debugging Tools for Windows" from the below URL:

Once these tools are installed, do the following:

  1. Create a directory called c:\adplus
  2. Determine the PIDof the process you wish to dump by looking at the "Process" tab in task manager, you will need this later
  3. Open a command prompt and change to the directory where you installed the debugging tools. By default, this is c:\Program Files\Debugging Tools for Windows.
  4. Type the following:
cscript adplus.vbs -hang -p PID -o c:\adplus

(where PID is the number you determined in step 2).

If we want to capture the dump of process which is crashing please use the below command

cscript adplus.vbs -hang -pn Process_name -o c:\adplus

For more information

Please see refer to this Knowledge Base article: