WER will actively (visually) inform the user of a crashed application only if the application has at least one visible/interactive window; otherwise, the crash will be logged, but the user will have to manually visit the Action Center to view it. This behavior attempts to avoid user confusion by not displaying a WER dialog box about an invisible crashed process the user might not be aware of, such as a background service.
In environments where systems are not connected to the Internet or where the administrator wants to control which error reports are submitted to Microsoft, the destination for the error report can be configured to be an internal file server. Microsoft System Center Desktop Error Monitoring understands the directory structure created by Windows Error Reporting and provides the administrator with the option to take selective error reports and submit them to Microsoft.
If all the operations we’ve described had to occur within the crashing thread’s context—that is, as part of the unhandled exception filter that was initially set up—these complex steps would sometimes become impossible for a badly damaged thread to perform, and the unhandled exception filter itself would crash. This “silent process death” would be impossible to log, making it hard to debug and also resulting in invisible crashes in cases where no user was present on the machine. To avoid such issues, Windows’ WER mechanism performs this work externally from the crashed thread if the unhandled exception filter itself crashes, which allows any kind of process or thread crash to be logged and for the user to be notified.
WER contains many customizable settings that can be configured by the user through the Group Policy editor or by manually making changes to the registry. Table 3-7 lists the WER registry configuration options, their use, and possible values. These values are located under the HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting subkey for computer configuration and in the equivalent path under HKEY_CURRENT_USER for per-user configuration.
Setting
Meaning
Values
Contents of archived data
1 for parameters, 2 for all data
What kind of data should require consent
1 for any data, 2 for parameters only, 3 for parameters and safe data, 4 for all data.
Whether the
1 to enable override
Consent value for a specific WER plug-in
Same as
Directory for a corporate WER store
String containing the path
Port to use for a corporate WER store
Port number
Name to use for a corporate WER store
String containing the name
Use Windows Integrated Authentication for corporate WER store
1 to enable built-in authentication
Use Secure Sockets Layer (SSL) for corporate WER store
1 to enable SSL
List of applications that require the user to choose between Debug and Continue
1 to require the user to choose
Whether the archive is enabled
1 to disable archive
Whether WER is disabled
1 to disable WER
Determines whether reports are to be queued
1 to disable queue
Disables or enables the WER UI
1 to disable UI
Prevents additional crash data from being sent
1 not to send
List of applications excluded from WER
String containing the application list
Whether reports should be sent to the user queue
1 to send reports to the queue
Path at which to store the dump files
String containing the path
Maximum number of dump files in the path
Count
Type of dump to generate during a crash
0 for a custom dump, 1 for a minidump, 2 for a full dump
For custom dumps, specifies custom options
Values defined in MINIDUMP_TYPE (see Chapter 13, “Startup and Shutdown,” in Part 2 for more information)
Enables or disables logging
1 to disable logging
Maximum size of the archive (in files)
Value between 1–5000
Maximum size of the queue
Value between 1–500
Days between requests to have the user check for solutions
Number of days
Note
Вильям Л Саймон , Вильям Саймон , Наталья Владимировна Макеева , Нора Робертс , Юрий Викторович Щербатых
Зарубежная компьютерная, околокомпьютерная литература / ОС и Сети, интернет / Короткие любовные романы / Психология / Прочая справочная литература / Образование и наука / Книги по IT / Словари и Энциклопедии