Merge pull request #3702 from j0rt3g4/Issue#909

Fixing format of the article #909
This commit is contained in:
Liza Poggemeyer
2019-05-15 14:15:56 -07:00
committed by GitHub

View File

@ -12,21 +12,24 @@ ms.localizationpriority: medium
ms.topic: article ms.topic: article
--- ---
# Windows error reporting # Windows Error Reporting
**Applies to** **Applies to**
- Windows 10 - Windows 10
>[!NOTE] >[!NOTE]
>This is a 300 level topic (moderately advanced).<br> > This is a 300 level topic (moderately advanced).
>See [Resolve Windows 10 upgrade errors](resolve-windows-10-upgrade-errors.md) for a full list of topics in this article. > See [Resolve Windows 10 upgrade errors](resolve-windows-10-upgrade-errors.md) for a full list of topics in this article.
When Windows Setup fails, the result and extend code are recorded as an informational event in the Application log by Windows Error Reporting as event 1001. The event name is **WinSetupDiag02**. You can use Event Viewer to review this event, or you can use Windows PowerShell. When Windows Setup fails, the result and extend code are recorded as an informational event in the Application log by Windows Error Reporting as event 1001. The event name is **WinSetupDiag02**. You can use Event Viewer to review this event, or you can use Windows PowerShell.
To use Windows PowerShell, type the following commands from an elevated Windows PowerShell prompt: To use Windows PowerShell, type the following commands from an elevated Windows PowerShell prompt:
``` >[!IMPORTANT]
>}The following source will be available only if you have updated from a previous version of Windows 10 to a new version. If you installed the current version and have not updated, the source named **WinSetupDiag02** will be unavailable.
```Powershell
$events = Get-WinEvent -FilterHashtable @{LogName="Application";ID="1001";Data="WinSetupDiag02"} $events = Get-WinEvent -FilterHashtable @{LogName="Application";ID="1001";Data="WinSetupDiag02"}
$event = [xml]$events[0].ToXml() $event = [xml]$events[0].ToXml()
$event.Event.EventData.Data $event.Event.EventData.Data
@ -40,19 +43,20 @@ To use Event Viewer:
Note: For legacy operating systems, the Event Name was WinSetupDiag01. Note: For legacy operating systems, the Event Name was WinSetupDiag01.
Ten parameters are listed in the event: Ten parameters are listed in the event:
<br>
<table border="0"> | Parameters |
<tr><td>P1: The Setup Scenario (1=Media,5=WindowsUpdate,7=Media Creation Tool)</td></tr> | ------------- |
<tr><td>P2: Setup Mode (x=default,1=Downlevel,5=Rollback)</td></tr> |P1: The Setup Scenario (1=Media,5=WindowsUpdate,7=Media Creation Tool) |
<tr><td>P3: New OS Architecture (x=default,0=X86,9=AMD64)</td></tr> |P2: Setup Mode (x=default,1=Downlevel,5=Rollback) |
<tr><td>P4: Install Result (x=default,0=Success,1=Failure,2=Cancel,3=Blocked)</td></tr> |P3: New OS Architecture (x=default,0=X86,9=AMD64) |
<tr><td><b>P5: Result Error Code</b> (Ex: 0xc1900101)</td></tr> |P4: Install Result (x=default,0=Success,1=Failure,2=Cancel,3=Blocked) |
<tr><td><b>P6: Extend Error Code</b> (Ex: 0x20017)</td></tr> |**P5: Result Error Code** (Ex: 0xc1900101) |
<tr><td>P7: Source OS build (Ex: 9600)</td></tr> |**P6: Extend Error Code** (Ex: 0x20017) |
<tr><td>P8: Source OS branch (not typically available)</td></tr> |P7: Source OS build (Ex: 9600) |
<tr><td>P9: New OS build (Ex: 16299}</td></tr> |P8: Source OS branch (not typically available) |
<tr><td>P10: New OS branch (Ex: rs3_release}</td></tr> |P9: New OS build (Ex: 16299} |
</table> |P10: New OS branch (Ex: rs3_release} |
The event will also contain links to log files that can be used to perform a detailed diagnosis of the error. An example of this event from a successful upgrade is shown below. The event will also contain links to log files that can be used to perform a detailed diagnosis of the error. An example of this event from a successful upgrade is shown below.
@ -60,8 +64,8 @@ The event will also contain links to log files that can be used to perform a det
## Related topics ## Related topics
[Windows 10 FAQ for IT professionals](https://technet.microsoft.com/windows/dn798755.aspx) [Windows 10 FAQ for IT professionals](https://technet.microsoft.com/windows/dn798755.aspx)
<br>[Windows 10 Enterprise system requirements](https://technet.microsoft.com/windows/dn798752.aspx) [Windows 10 Enterprise system requirements](https://technet.microsoft.com/windows/dn798752.aspx)
<br>[Windows 10 Specifications](https://www.microsoft.com/en-us/windows/Windows-10-specifications) [Windows 10 Specifications](https://www.microsoft.com/en-us/windows/Windows-10-specifications)
<br>[Windows 10 IT pro forums](https://social.technet.microsoft.com/Forums/en-US/home?category=Windows10ITPro) [Windows 10 IT pro forums](https://social.technet.microsoft.com/Forums/en-US/home?category=Windows10ITPro)
<br>[Fix Windows Update errors by using the DISM or System Update Readiness tool](https://support.microsoft.com/kb/947821) [Fix Windows Update errors by using the DISM or System Update Readiness tool](https://support.microsoft.com/kb/947821)