How to create a user-mode process dump file in Windows Server 2008
To create a user-mode process dump file in Windows Server 2008,
use one of the following methods.
Method 1: Use Task Manager
To use Windows Task Manager to create a user-mode process dump
file, follow these steps:
- Start Task Manager. To do this, use one of the following
methods:
- Right-click an empty area of the taskbar, and then
click Task Manager.
- Press CTRL+SHIFT+ESC.
- Click the Processes tab, right-click the name of the process that you want, and then
click Create Dump File. If you are prompted for an
administrator password or for confirmation, type your password, or click
Continue. A
dump file for the process is created in the following folder:
Drive:\Users\UserName\AppData\Local\Temp
- When you receive a message that the dump file
was successfully created, click OK.
Method 2: Use the ADPlus tool
You can use the ADPlus tool to create a user-mode process dump
file. The ADPlus tool is included in Debugging Tools for Windows. For more information
about the Debugging Tools for Windows package and about how to download it, visit the
following Microsoft Web site:
For more
information about how to use the ADPlus tool, click the following article
number to view the article in the Microsoft Knowledge Base:
286350
How to use ADPlus to troubleshoot "hangs" and "crashes"
How to estimate the size of the user-mode process dump file that will be created
You can use Performance Monitor to estimate
the
size of a user-mode process dump file that will be created. To do this, follow
these steps:
- Click Start, type
perfmon in the Start Search box, and
then click perfmon.exe in the Programs
list. If you are prompted for an administrator password or for confirmation,
type your password, or click Continue.
- Expand Monitoring Tools, and then click
Performance Monitor.
- Right-click an empty area of the display pane, and then
click Add Counters.
- Under Available counters in the
Add Counters dialog box, click the down arrow next to the
Process performance object, and then click the Virtual
Bytes counter.
- Under Instances of selected object, click
the name of the process, click Add, and then click
OK.
The value that appears is the approximate size of the dump file.
Note Before
you create a user-mode process dump file, make sure that there is sufficient free space
on the hard disk where the dump file will be stored.