Windows Error Reporting (WER) (codenamed Watson) is acrash reporting technology introduced byMicrosoft withWindows XP[1] and included in later Windows versions andWindows Mobile 5.0 and 6.0. Not to be confused with theDr. Watson debugging tool which left the memory dump on the user's local machine, Windows Error Reporting collects and offers to send post-errordebug information (amemory dump) using the Internet toMicrosoft when an application crashes or stops responding on a user's desktop. No data is sent without the user's consent.[2] When a crash dump (or other error signature information) reaches the Microsoft server, it is analyzed, and information about a solution is sent back to the user if available. Solutions are served using Windows Error Reporting Responses. Windows Error Reporting runs as aWindows service.[3]Kinshuman Kinshumann is the original architect of WER. WER was also included in theAssociation for Computing Machinery (ACM) hall of fame for its impact on the computing industry.[4][5]
Microsoft first introduced Windows Error Reporting withWindows XP.[1] It was added during early Beta 1 development in build 2250 as Exception Reporting, and was renamed to Error Reporting in build 2267.
Windows Error Reporting was improved significantly inWindows Vista, when publicAPIs were introduced for reporting failures other than application crashes and hangs.[6] Using the new APIs, as documented on MSDN, developers can create custom reports and customize the reporting user interface. Windows Error Reporting was also revamped with a focus on reliability and user experience. For example, WER can now report errors even from processes in bad states such asstack exhaustions, PEB/TEB corruptions, andheap corruptions, conditions which in releases prior to Windows Vista would have resulted in silent program termination with no error report. A newControl Panel applet, "Problem Reports and Solutions" was also introduced, keeping a record of system and application errors and issues, as well as presenting probable solutions to problems.
The Problem Reports and SolutionsControl Panel applet was replaced by the Maintenance section of theAction Center onWindows 7 andServer 2008 R2.
A new app, Problem Steps Recorder (PSR.exe), is available on all builds of Windows 7 and enables the collection of the actions performed by a user while encountering a crash so that testers and developers can reproduce the situation for analysis and debugging.[7]
WER is adistributed system. Client-side software detects an error condition, generates an error report, labels the bucket, and reports the error to the WER service. The WERservice records the error occurrence and then, depending on information known about the particular error, might request additional data from the client, or direct the client to a solution. Programmers access the WER service to retrieve data for specific error reports and for statistics-based debugging.
Errors collected by WER clients are sent to the WER service. The WER service employs approximately 60 servers connected to a 65TB storage area network that stores the error report database and a 120TB storage area network that stores up to 6 months of raw CAB files. The service is provisioned to receive and process well over 100 million error reports per day, which is sufficient to survive correlated global events such asInternet worms.[8]
It can also provide the service where it considered the object by the directory server. Information is also stored to collect and associated with the object and resource. Sometimes the directory service the user do not have to remember the physical address of a network resources by providing name and locate the resources.
In the Microsoft Windows Error Reporting (WER) system, crash reports are organized according to "buckets". Buckets classify issues by:[9]
Ideally, each bucket contains crash reports that are caused by one and only one root cause. However, there are instances where this ideal one-to-one mapping is not the case. First, the heuristics that group failures can result in a single failure's being attributed to multiple buckets; for instance, each time an application with a failure is recompiled, the application will have a new Module Build Date, and resulting failures will then map to multiple buckets. Second, because only certain information about the failure state is factored into the bucketing algorithm, multiple distinct bugs can be mapped to a single bucket; for instance, if an application calls a single function likestrlen with strings corrupted in different ways by different underlying code defects, the failures could map to the same bucket because they appear to be crashes in the same function from the same application, etc. This occurs because the bucket is generated on the Windows OS client without performing any symbol analysis on the memory dump: The module that is picked by the Windows Error Reporting client is the module at the top of the stack. Investigations of many reports result in a faulting module that is different from the original bucket determination.[14]
Software & hardware manufacturers may access their error reports using Microsoft'sWindows Dev Center Hardware and Desktop Dashboard (formerlyWinqual) program.[15] In order to ensure that error reporting data only goes to the engineers responsible for the product, Microsoft requires that interested vendors obtain aVeriSign Class 3 Digital ID orDigiCert certificate.[16] Digital certificates provided by cheaper providers (such asThawte,Comodo,GlobalSign,GeoTrust,Cybertrust,Entrust,GoDaddy, QuoVadis,Trustwave,SecureTrust,Wells Fargo) are not accepted.[17][18][19][20][21]
Software and hardware manufacturers can also close the loop with their customers by linking error signatures to Windows Error Reporting Responses. This allows distributing solutions as well as collecting extra information from customers (such as reproducing the steps they took before thecrash) and providing them with support links.
Microsoft has reported that data collected from Windows Error Reporting has made a huge difference in the way software is developed internally. For instance, in 2002,Steve Ballmer noted that error reports enabled the Windows team to fix 29% of all Windows XP errors with Windows XP SP1. Over half of allMicrosoft Office XP errors were fixed with Office XP SP2.[22] Success is based in part on the80/20 rule. Error reporting data reveals that there is a small set of bugs that is responsible for the vast majority of the problems users see. Fixing 20% of code defects can eliminate 80% or more of the problems users encounter. An article in theNew York Times confirmed that error reporting data had been instrumental in fixing problems seen in the beta releases of Windows Vista andMicrosoft Office 2007.[23]
Although Microsoft has made privacy assurances, they acknowledge thatpersonally identifiable information could be contained in the memory and application data compiled in the 100-200 KB "minidumps" that Windows Error Reporting compiles and sends back to Microsoft. They insist that in case personal data is sent to Microsoft, it won't be used to identify users, according to Microsoft'sprivacy policy.[24][25] But in reporting issues to Microsoft, users need to trust Microsoft's partners as well. About 450 partners have been granted access to the error reporting database to see records related to theirdevice drivers and apps.[26]
Older versions of WER send data without encryption; only WER fromWindows 8 uses TLS encryption.[27] In March 2014, Microsoft released an update (KB2929733) for Windows Vista, 7 and Server 2008 that encrypts the first stage of WER.[28]
In December 2013, an independent lab found that WER automatically sends information to Microsoft when a new USB device is plugged to the PC.[27]
According toDer Spiegel, the Microsoft crash reporter has been exploited by NSA'sTAO unit to hack into the computers ofMexico's Secretariat of Public Security. According to the same source, Microsoft crash reports are automatically harvested in NSA'sXKeyscore database, in order to facilitate such operations.[29]