Wednesday, 18 November 2009

Disable the Microsoft Application Error Reporting (DW20.exe)

Hi

We have a web application that writes to a network path, and to cut a long story short that path changed because of a hardware failure. This however brought up some strange behaviour...

On the machine that hosts the web application that is trying to write to the network share, we noticed it started to run very slowly. After looking at the task manager we found a few instances of DW20.exe hogging the memory.

Google told me that DW20.exe was actually Microsofts error reporting process. I then found this very useful link which tells you how to disable it.

After killing the DW20.exe processes however the machine had then run out of disk space??? I ran windirstat on the machine to see where all the space had gone. Turns out it had been used by some .dmp files in windows\temp directory. These files were generated also by DW20.exe.

So in summary I'm not so sure why Microsoft's error reporting tool would use so much memory and create dump files that big, however my solution was to disable the error reporting, and kill all the DW20.exe processes and delete the .dmp files.

No comments: