mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Merge pull request #5055 from MicrosoftDocs/v-gmoor-fix-troubleshoot-stop-errors.md
Corrections to layout and presentation in troubleshoot-stop-errors.md
This commit is contained in:
commit
d6113d2f5b
@ -43,24 +43,26 @@ Our analysis of the root causes of crashes indicates the following:
|
||||
To troubleshoot Stop error messages, follow these general steps:
|
||||
|
||||
1. Review the Stop error code that you find in the event logs. Search online for the specific Stop error codes to see whether there are any known issues, resolutions, or workarounds for the problem.
|
||||
|
||||
2. As a best practice, we recommend that you do the following:
|
||||
|
||||
a. Make sure that you install the latest Windows updates, cumulative updates, and rollup updates. To verify the update status, refer to the appropriate update history for your system:
|
||||
- [Windows 10, version 2004](https://support.microsoft.com/help/4555932)
|
||||
- [Windows 10, version 1909](https://support.microsoft.com/help/4529964)
|
||||
- [Windows 10, version 1903](https://support.microsoft.com/help/4498140)
|
||||
- [Windows 10, version 1809](https://support.microsoft.com/help/4464619)
|
||||
- [Windows 10, version 1803](https://support.microsoft.com/help/4099479)
|
||||
- [Windows 10, version 1709](https://support.microsoft.com/help/4043454)
|
||||
- [Windows 10, version 1703](https://support.microsoft.com/help/4018124)
|
||||
- [Windows Server 2016 and Windows 10, version 1607](https://support.microsoft.com/help/4000825)
|
||||
- [Windows 10, version 1511](https://support.microsoft.com/help/4000824)
|
||||
- [Windows Server 2012 R2 and Windows 8.1](https://support.microsoft.com/help/4009470)
|
||||
- [Windows Server 2008 R2 and Windows 7 SP1](https://support.microsoft.com/help/4009469)
|
||||
1. Make sure that you install the latest Windows updates, cumulative updates, and rollup updates. To verify the update status, refer to the appropriate update history for your system:
|
||||
|
||||
b. Make sure that the BIOS and firmware are up-to-date.
|
||||
- [Windows 10, version 2004](https://support.microsoft.com/help/4555932)
|
||||
- [Windows 10, version 1909](https://support.microsoft.com/help/4529964)
|
||||
- [Windows 10, version 1903](https://support.microsoft.com/help/4498140)
|
||||
- [Windows 10, version 1809](https://support.microsoft.com/help/4464619)
|
||||
- [Windows 10, version 1803](https://support.microsoft.com/help/4099479)
|
||||
- [Windows 10, version 1709](https://support.microsoft.com/help/4043454)
|
||||
- [Windows 10, version 1703](https://support.microsoft.com/help/4018124)
|
||||
- [Windows Server 2016 and Windows 10, version 1607](https://support.microsoft.com/help/4000825)
|
||||
- [Windows 10, version 1511](https://support.microsoft.com/help/4000824)
|
||||
- [Windows Server 2012 R2 and Windows 8.1](https://support.microsoft.com/help/4009470)
|
||||
- [Windows Server 2008 R2 and Windows 7 SP1](https://support.microsoft.com/help/4009469)
|
||||
|
||||
c. Run any relevant hardware and memory tests.
|
||||
1. Make sure that the BIOS and firmware are up-to-date.
|
||||
|
||||
1. Run any relevant hardware and memory tests.
|
||||
|
||||
3. Run the [Machine Memory Dump Collector](https://home.diagnostics.support.microsoft.com/selfhelp?knowledgebasearticlefilter=2027760&wa=wsignin1.0) Windows diagnostic package. This diagnostic tool is used to collect machine memory dump files and check for known solutions.
|
||||
|
||||
@ -77,7 +79,7 @@ To troubleshoot Stop error messages, follow these general steps:
|
||||
>[!NOTE]
|
||||
>If there are no updates available from a specific manufacturer, it is recommended that you disable the related service.
|
||||
>
|
||||
>To do this, see [How to perform a clean boot in Windows](https://support.microsoft.com/help/929135)
|
||||
>To do this, see [How to perform a clean boot in Windows](https://support.microsoft.com/help/929135).
|
||||
>
|
||||
>You can disable a driver by following the steps in [How to temporarily deactivate the kernel mode filter driver in Windows](https://support.microsoft.com/help/816071).
|
||||
>
|
||||
@ -88,12 +90,18 @@ To troubleshoot Stop error messages, follow these general steps:
|
||||
To configure the system for memory dump files, follow these steps:
|
||||
|
||||
1. [Download DumpConfigurator tool](https://codeplexarchive.blob.core.windows.net/archive/projects/WinPlatTools/WinPlatTools.zip).
|
||||
|
||||
2. Extract the .zip file and navigate to **Source Code** folder.
|
||||
|
||||
3. Run the tool DumpConfigurator.hta, and then select **Elevate this HTA**.
|
||||
3. Select **Auto Config Kernel**.
|
||||
4. Restart the computer for the setting to take effect.
|
||||
5. Stop and disable Automatic System Restart Services (ASR) to prevent dump files from being written.
|
||||
6. If the server is virtualized, disable auto reboot after the memory dump file is created. This lets you take a snapshot of the server in-state and also if the problem recurs.
|
||||
|
||||
4. Select **Auto Config Kernel**.
|
||||
|
||||
5. Restart the computer for the setting to take effect.
|
||||
|
||||
6. Stop and disable Automatic System Restart Services (ASR) to prevent dump files from being written.
|
||||
|
||||
7. If the server is virtualized, disable auto reboot after the memory dump file is created. This lets you take a snapshot of the server in-state and also if the problem recurs.
|
||||
|
||||
The memory dump file is saved at the following locations:
|
||||
|
||||
@ -106,7 +114,7 @@ The memory dump file is saved at the following locations:
|
||||
| Automatic memory dump file | %SystemRoot%\MEMORY.DMP |
|
||||
| Active memory dump file | %SystemRoot%\MEMORY.DMP |
|
||||
|
||||
You can use the Microsoft DumpChk (Crash Dump File Checker) tool to verify that the memory dump files are not corrupted or invalid. For more information, see the following video:
|
||||
You can use the Microsoft DumpChk (Crash Dump File Checker) tool to verify that the memory dump files are not corrupted or invalid. For more information, see the following video:<br/><br/>
|
||||
|
||||
>[!video https://www.youtube.com/embed/xN7tOfgNKag]
|
||||
|
||||
@ -136,31 +144,44 @@ You can use the tools such as Windows Software Development KIT (SDK) and Symbols
|
||||
|
||||
### Advanced debugging references
|
||||
|
||||
[Advanced Windows Debugging](https://www.amazon.com/Advanced-Windows-Debugging-Mario-Hewardt/dp/0321374460)<br>
|
||||
[Debugging Tools for Windows (WinDbg, KD, CDB, NTSD)](/windows-hardware/drivers/debugger/index)
|
||||
- [Advanced Windows Debugging](https://www.amazon.com/Advanced-Windows-Debugging-Mario-Hewardt/dp/0321374460)
|
||||
- [Debugging Tools for Windows (WinDbg, KD, CDB, NTSD)](/windows-hardware/drivers/debugger/index)
|
||||
|
||||
### Debugging steps
|
||||
|
||||
1. Verify that the computer is set up to generate a complete memory dump file when a crash occurs. See the steps [here](troubleshoot-windows-freeze.md#method-1-memory-dump) for more information.
|
||||
|
||||
2. Locate the memory.dmp file in your Windows directory on the computer that is crashing, and copy that file to another computer.
|
||||
|
||||
3. On the other computer, download the [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk).
|
||||
|
||||
4. Start the install and choose **Debugging Tools for Windows**. This installs the WinDbg tool.
|
||||
5. Open the WinDbg tool and set the symbol path by clicking **File** and then clicking **Symbol File Path**.<br>
|
||||
a. If the computer is connected to the Internet, enter the [Microsoft public symbol server](/windows-hardware/drivers/debugger/microsoft-public-symbols) (https://msdl.microsoft.com/download/symbols) and click **OK**. This is the recommended method.<br>
|
||||
b. If the computer is not connected to the Internet, you must specify a local [symbol path](/windows-hardware/drivers/debugger/symbol-path).
|
||||
|
||||
5. Open the WinDbg tool and set the symbol path by clicking **File** and then clicking **Symbol File Path**.
|
||||
|
||||
1. If the computer is connected to the Internet, enter the [Microsoft public symbol server](/windows-hardware/drivers/debugger/microsoft-public-symbols) (https://msdl.microsoft.com/download/symbols) and click **OK**. This is the recommended method.
|
||||
|
||||
1. If the computer is not connected to the Internet, you must specify a local [symbol path](/windows-hardware/drivers/debugger/symbol-path).
|
||||
|
||||
6. Click on **Open Crash Dump**, and then open the memory.dmp file that you copied. See the example below.
|
||||
|
||||

|
||||
|
||||
7. There should be a link that says **!analyze -v** under **Bugcheck Analysis**. Click that link. This will enter the command !analyze -v in the prompt at the bottom of the page.
|
||||
|
||||
8. A detailed bugcheck analysis will appear. See the example below.
|
||||
|
||||

|
||||
|
||||
9. Scroll down to the section where it says **STACK_TEXT**. There will be rows of numbers with each row followed by a colon and some text. That text should tell you what DLL is causing the crash and if applicable what service is crashing the DLL.
|
||||
|
||||
10. See [Using the !analyze Extension](/windows-hardware/drivers/debugger/using-the--analyze-extension) for details about how to interpret the STACK_TEXT output.
|
||||
|
||||
There are many possible causes of a bugcheck and each case is unique. In the example provided above, the important lines that can be identified from the STACK_TEXT are 20, 21, and 22:
|
||||
|
||||
(HEX data is removed here and lines are numbered for clarity)
|
||||
|
||||
```
|
||||
```console
|
||||
1 : nt!KeBugCheckEx
|
||||
2 : nt!PspCatchCriticalBreak+0xff
|
||||
3 : nt!PspTerminateAllThreads+0x1134cf
|
||||
@ -217,8 +238,11 @@ We estimate that about 75 percent of all Stop errors are caused by faulty driver
|
||||
Use the following guidelines when you use Driver Verifier:
|
||||
|
||||
- Test any “suspicious” drivers (drivers that were recently updated or that are known to be problematic).
|
||||
|
||||
- If you continue to experience non-analyzable crashes, try enabling verification on all third-party and unsigned drivers.
|
||||
|
||||
- Enable concurrent verification on groups of 10–20 drivers.
|
||||
|
||||
- Additionally, if the computer cannot boot into the desktop because of Driver Verifier, you can disable the tool by starting in Safe mode. This is because the tool cannot run in Safe mode.
|
||||
|
||||
For more information, see [Driver Verifier](/windows-hardware/drivers/devtest/driver-verifier).
|
||||
@ -246,7 +270,7 @@ USER_MODE_HEALTH_MONITOR <br>Stop error code 0x0000009E | This Stop error indic
|
||||
|
||||
This bugcheck is caused by a driver hang during upgrade, resulting in a bugcheck D1 in NDIS.sys (a Microsoft driver). The **IMAGE_NAME** tells you the faulting driver, but since this is Microsoft driver it cannot be replaced or removed. The resolution method is to disable the network device in device manager and try the upgrade again.
|
||||
|
||||
```
|
||||
```console
|
||||
2: kd> !analyze -v
|
||||
*******************************************************************************
|
||||
* *
|
||||
@ -400,12 +424,12 @@ FAILURE_ID_REPORT_LINK: https://go.microsoft.com/fwlink/?LinkID=397724&FailureHa
|
||||
Followup: ndiscore
|
||||
---------
|
||||
```
|
||||
|
||||
### Example 2
|
||||
|
||||
In this example, a non-Microsoft driver caused page fault, so we don’t have symbols for this driver. However, looking at **IMAGE_NAME** and or **MODULE_NAME** indicates it’s **WwanUsbMP.sys** that caused the issue. Disconnecting the device and retrying the upgrade is a possible solution.
|
||||
|
||||
```
|
||||
|
||||
```console
|
||||
1: kd> !analyze -v
|
||||
*******************************************************************************
|
||||
* *
|
||||
|
Loading…
x
Reference in New Issue
Block a user