Disable-WindowsErrorReporting

Disables Windows Error Reporting.

Syntax

Disable-WindowsErrorReporting []

Description

The Disable-WindowsErrorReporting cmdlet disables Windows Error Reporting (WER) on the server.

Windows Error Reporting is a flexible feedback infrastructure that gathers information about hardware and software problems, reports the information to Microsoft, and gives users any available solutions. Windows Error Reporting generates reports in response to system events, such as application crashes or kernel faults.

To get the current WER status, use the Get-WindowsErrorReporting cmdlet. If you disable WER, you can use the Enable-WindowsErrorReporting cmdlet to re-enable it. After you run this cmdlet, WER again sends information about application failures to Microsoft. To customize the settings of Windows Error Reporting, use registry keys described in the WER Settings article.

Examples

Example 1: Disable Windows Error Reporting

PS C:\> Disable-WindowsErrorReporting

This command disables Windows Error Reporting.

Outputs

Boolean

The Disable-WindowsErrorReporting cmdlet returns $True if it is successful. Otherwise, it returns $False.