locked
Programatically reading problem reports. RRS feed

  • Question

  • Is there a way by which i could programatically read problem reports stored in my system ?

    • Moved by Max Wang_1983 Tuesday, April 26, 2011 2:12 AM forum consolidation (From:Windows Error Reporting for ISVs)
    Tuesday, August 11, 2009 1:08 AM

All replies

  • Error information is written to the application event log where you could read information, powershell has a good interface for gathering the information. 

    What is your scenario?  Are you only wanting to get at the error reports that are stored on your system?  Which operating system are you using?


    PM for Windows Error Reporting Developer Portal
    Monday, August 17, 2009 3:34 PM
  • Thanks for the reply.

    I use Windows 7 and Vista.
    My scenario is like i run some tests on my machine and then after the runs i need to gather all problem reports along with their dump files if any and copy them to a network share folder for further analysis. I need to do this after each of my test runs since i clear all the reports before each run.
    Thanks.
    Monday, August 17, 2009 9:44 PM
  • This blog entry talks about where to find information on your PC.
    http://blogs.msdn.com/wer/pages/faq.aspx#weronpc


    In your scenario you should also set some registry values:

    http://msdn.microsoft.com/en-us/library/bb513638(VS.85).aspx

    You can set the ForceQueue registry setting to make all dumps from your machine store locally.  There are other registry settings that can enable all dumps from your machine to go to a central directory listed there as well. 
    PM for Windows Error Reporting Developer Portal
    Tuesday, August 18, 2009 3:27 PM
  • Thanks for the information. It helped a lot.

    Also to add to it - most of the reports and their associated dump files if any can be found at:

    C:\ProgramData\Microsoft\Windows\WER
    besides paths given at http://blogs.msdn.com/wer/pages/faq.aspx#weronpc
    Friday, September 4, 2009 8:51 PM