This VBS script will use the registry to disable the PC health Error reporting on the local machine from which the script is executed on.
VBS Script:
strKey = "HKLM\Software\Microsoft\PCHealth\ErrorReporting\DoReport"
strType = "REG_DWORD"
strValue = "0"
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.RegWrite strKey, strValue, strType
MsgBox "Error Reporting Is Disabled"
No Comments