Disable-WindowsErrorReporting

Disable-WindowsErrorReporting

Disables Windows Error Reporting.

Syntax

Disable-WindowsErrorReporting [ <CommonParameters>]

Detailed 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 provides users with 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 once again sends information about application failures to Microsoft.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Boolean

    The Disable-WindowsErrorReporting cmdlet returns $True if successful; otherwise, it returns $False.

Examples

Example 1: Disable Windows Error Reporting

This command disables Windows Error Reporting.

PS C:\> Disable-WindowsErrorReporting

Enable-WindowsErrorReporting

Get-WindowsErrorReporting