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:
- For 32 bit Servers
- For 64 Servers:
Once these tools are installed, do the following:
- Create a directory called c:\adplus
- Determine the PIDof the process you wish to dump by looking at the "Process" tab in task manager, you will need this later
- 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.
- 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:
- 286350 HOWTO: Use Autodump+ to Troubleshoot "Hangs" and "Crashes": http://support.microsoft.com/?id=286350