Windows often reports problems using unfamiliar technical codes: a string like 0x80070005, a stop code in capital letters, or a friendly “Something went wrong.”
The good news is that these codes are not random. Many common codes can be identified using built-in Windows tools and Microsoft documentation. This guide shows you where Windows records its error codes, how to read them, and how to turn a cryptic number into your next troubleshooting step.
What a Windows error code really is
An error code is a short label that a program, driver or Windows component attaches to a failure. Think of it as a case number at a repair shop. It doesn’t fix anything, but it tells you which drawer to open.
That is also why searching for a code beats searching for “my PC is broken”. The code helps identify the type of failure, but the application, event source and surrounding circumstances are needed to narrow down its cause.
Three types of diagnostic identifiers
- Hex error codes such as
0x80070005. These appear in Windows Update, the Microsoft Store, installers and many apps. “Hex” is just a number system that uses the letters A to F as extra digits. - Stop codes such as
VIDEO_TDR_FAILURE. These appear when Windows itself crashes and restarts. Each one also has a hexadecimal representation, for example0x116. - Event IDs such as
41or1001. These are numbers in the Windows logs that describe something that happened. They are not always errors, and the same ID can have different meanings depending on its event provider.
How to read a hex code
Take 0x80070005, an HRESULT. The prefix 0x indicates hexadecimal notation. The high bit indicates failure, and facility 7 (FACILITY_WIN32) identifies a mapped Win32 error. The low 16 bits, 0005, correspond to system error 5, meaning “Access is denied”. This method applies to mapped Win32 HRESULTs, not arbitrary hexadecimal codes. See Microsoft’s HRESULT_FROM_WIN32 reference.
For mapped Win32 HRESULTs, the low four digits are hexadecimal, while net helpmsg expects a decimal number. So 0x80070070 ends in 0070, which is 112 in decimal, and error 112 means “There is not enough space on the disk.” Windows Calculator in Programmer mode converts hex to decimal in one click.
Crash screens: how to read a stop code
When Windows encounters an unrecoverable kernel-level problem, it stops to limit further damage and may restart automatically. Unsaved work can be lost. Updated Windows 11 releases from version 24H2 onward may display a simplified black stop screen; older builds can still show a blue screen.
Record the stop code exactly as shown. A hexadecimal value or a file name may also be displayed, depending on the failure and Windows build. A blank black screen without a stop message is a different troubleshooting scenario. See Microsoft’s stop error guide.
What failed: nvlddmkm.sys
What the “What failed” line tells you
A file ending in .sys is often a driver or another system component. Search for the file name and you will quickly learn which device it belongs to. In the example above, nvlddmkm.sys is part of the NVIDIA graphics driver, so the graphics subsystem is a reasonable starting point, not proof of a defective GPU or driver.
If it names ntoskrnl.exe, that is the Windows kernel itself. Its presence alone does not establish the root cause. A crash dump may be needed to distinguish a driver fault, hardware instability or another problem.
Common stop codes in plain English
| Stop code | Hex | What it usually points to |
|---|---|---|
| VIDEO_TDR_FAILURE | 0x116 | Windows could not recover the graphics subsystem after a timeout. Possible causes include drivers, GPU instability, heat or power issues. |
| DRIVER_IRQL_NOT_LESS_OR_EQUAL | 0xD1 | A driver touched memory it should not. Often a network, Wi-Fi or graphics driver. |
| PAGE_FAULT_IN_NONPAGED_AREA | 0x50 | Kernel-mode code referenced invalid memory. Faulty RAM, a driver or security software. |
| CRITICAL_PROCESS_DIED | 0xEF | A process Windows cannot live without stopped. Damaged system files, a bad update or a failing drive. |
| INACCESSIBLE_BOOT_DEVICE | 0x7B | Windows lost access to the drive it starts from. Storage drivers, drive settings or a failing disk. |
| KERNEL_SECURITY_CHECK_FAILURE | 0x139 | The kernel detected corruption of a critical data structure. Drivers or faulty RAM. |
| WHEA_UNCORRECTABLE_ERROR | 0x124 | Windows received a fatal hardware error report through WHEA. Overheating, overclocking or failing hardware. |
An isolated crash does not necessarily indicate failing hardware. Repeated crashes, data loss or failure to boot warrant investigation and a backup of important files.
If the PC restarts before you can read the screen, take a quick phone photo next time. And if you missed it completely, don’t worry: Windows may have recorded the code in its logs, provided the system could save the information.
Event Viewer: the logbook Windows keeps for you
Event Viewer is the black box of your PC. Windows records many system events there, although an abrupt failure can prevent some information from being saved. It looks busy, but you only need one small corner of it.
How to find the crash in Event Viewer
- Right-click the Start button and choose Event Viewer.
- In the left pane, open Windows Logs and click System.
- In the right pane, click Filter Current Log…, type
41, 1001, 6008, 1074into the Event IDs box and press OK. - Find the entries that match the time of your problem and click one to read its description.
What the key event IDs mean
- 41 (Kernel-Power): Windows restarted without a clean shutdown. It says that something went wrong, not why. In Details, inspect BugcheckCode. A nonzero value is decimal: for example, 278 converts to 0x116. A zero value does not rule out a crash. See Microsoft’s Event ID 41 guide.
- 1001 (BugCheck / WER-SystemErrorReporting): when a system bug check is recorded, the description can include its hexadecimal stop code, parameters and dump path. Confirm the provider and message rather than relying on the ID alone.
- 6008 (EventLog): confirms that the previous shutdown was unexpected, and tells you the time.
- 1074 (User32): records a requested shutdown or restart and the initiating process or user. It does not prove that no crash occurred.
For an app that keeps closing, open the Application log instead and look for Event ID 1000 (Application Error). It can identify the faulting application, module and exception code. The module is not necessarily the root cause.
Don’t be alarmed by the red icons. Even functioning PCs can log warnings and errors. Start with entries near the failure and recurring events from the same provider; investigate persistent storage, hardware or security errors even if no crash has occurred.
Reliability Monitor: the easy timeline
Reliability Monitor offers a more accessible timeline than Event Viewer. It plots a stability score for each day and marks failures, warnings and installs on a timeline.
To open it, press Win + R, type perfmon /rel and press Enter. You can also search the Start menu for “reliability history”.
A drop in the blue line means something failed that day. Click the column and the details appear below. The most useful trick is to compare what happened just before the first red cross. An installation shortly before a failure is a useful lead, but timing alone does not prove causation. Select View technical details to inspect the available report.
Review your computer’s reliability and problem history
Stability Index
Turning a code into plain English
Once you have a code, use the appropriate lookup method. Two built-in commands and Microsoft documentation cover many common cases.
1. net helpmsg, for plain Windows error numbers
Open Command Prompt, or select a Command Prompt or PowerShell tab in Windows Terminal. Type net helpmsg followed by a decimal Win32 error number. Administrator rights are not normally required. For 0x80070005, the number is 5.
First, enter this command and press Enter:
net helpmsg 5
Expected result on English-language Windows: Access is denied.
For a second example, enter the following command separately and press Enter:
net helpmsg 112
Expected result: There is not enough space on the disk. This is the decimal Win32 error number mapped by 0x80070070.
These commands display descriptions only; they do not repair an error. Messages may be localized. See Microsoft’s error lookup guidance.
2. certutil, for the full hex code
In Command Prompt or PowerShell, run certutil -error 0x80070005. It can resolve many HRESULT and system error values without manual conversion, but not every code has a recognized message. Administrator rights are not normally needed for this lookup.
certutil -error 0x80070005
Press Enter. The expected error description is Access is denied. (ERROR_ACCESS_DENIED). The exact output depends on the Windows version and language. This lookup does not modify certificates or system settings. See the certutil command reference.
Microsoft Windows (c) Microsoft Corporation. All rights reserved. C:\Users\Alex>net helpmsg 5 Access is denied. C:\Users\Alex>net helpmsg 112 There is not enough space on the disk. C:\Users\Alex>certutil -error 0x80070005 0x80070005 (WIN32: 5 ERROR_ACCESS_DENIED) -- 2147942405 (-2147024891) Error message text: Access is denied. CertUtil: -error command completed successfully. C:\Users\Alex>_
3. Microsoft’s own documentation
For stop codes, search for the name followed by “bug check” on Microsoft Learn. Microsoft keeps a Bug Check Code Reference with a page for each stop code, including what it means and what to check. Numbers from the Windows error list are covered by the System Error Codes pages on the same site.
A shortcut for crash hunters
Open Windows PowerShell from Start, or select a PowerShell tab in Windows Terminal (not Command Prompt). Copy the entire command below as a single line and press Enter. If access is denied, reopen PowerShell as administrator. The command retrieves up to 20 recent matching system events; verify the provider and message. If no matching events are found, that does not prove that no crash occurred.
Get-WinEvent -FilterHashtable @{LogName="System"; Id=41,1001,6008,1074} -MaxEvents 20 | Format-List TimeCreated, ProviderName, Id, LevelDisplayName, Message
See Microsoft’s Get-WinEvent reference.
Update and installer errors
Windows Update is one common source of error codes. To see them, go to Settings → Windows Update → Update history. A failed update may be listed with its code, often starting with 0x8007, 0x800f or 0x8024.
Only use the low-digit conversion for mapped Win32 HRESULTs such as 0x80070005. For servicing, update-agent and setup errors such as 0x800f0922 or 0x8024 codes, look up the complete value.
| Error code | Meaning | Good first step |
|---|---|---|
| 0x80070005 | Access is denied | Check which operation lacks access. For trusted installers, use elevation only when required; do not disable security protection as a routine fix. |
| 0x80070002 | File not found | Run the Windows Update troubleshooter, then retry; missing update files may need additional investigation. |
| 0x80070057 | Invalid parameter | Check the operation and its settings; investigate system corruption only if there are supporting symptoms. |
| 0x80070070 | Not enough disk space | Free up space on drive C: and try again. Space requirements vary by update; check Settings → System → Storage. |
| 0x80073712 | Windows component store is damaged | Run DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt or PowerShell. |
| 0x800f0922 | Servicing installation failure (context dependent) | Check update-specific guidance, including connectivity or system partition space where relevant. Do not resize partitions blindly. |
| 0xC1900101 | Upgrade rollback, often driver-related | Check upgrade logs, update relevant drivers and disconnect unnecessary peripherals before retrying. |
If the code is not in this list, don’t give up. Paste the whole code into a search engine with the word “Windows” and read the result from Microsoft or a trusted forum first. Then confirm that the explanation matches what you saw in the logs.
Windows also has built-in help for updates: open Settings → System → Troubleshoot → Other troubleshooters and run the Windows Update troubleshooter. On current Windows 11 builds this may launch Get Help. Follow the recommendations and retry the update; a fix is not guaranteed. See Windows Update Troubleshooter and upgrade error guidance.
From error code to fix: a simple routine
Use these five steps as a structured starting point. Choose repairs according to the evidence rather than running every tool for every error.
- Write down the code and the time. A phone photo is fine. Without the time, you can’t match it to the logs.
- Check what changed just before. Open Reliability Monitor and look for a new driver, update or program installed shortly before the first failure.
- Repair Windows files. If system corruption is suspected, open Command Prompt or PowerShell as administrator. Run the following command first:
DISM /Online /Cleanup-Image /RestoreHealth
Wait for DISM to complete successfully before running the next command:
sfc /scannow
Wait for the scan to finish. If DISM fails, investigate its error before continuing with this repair sequence. See Microsoft’s repair instructions.
- Deal with the driver named on the crash screen. If evidence points to a recent driver change, open Device Manager, locate the relevant device and choose Properties → Driver → Roll Back Driver if available. Otherwise, obtain a compatible driver from Windows Update or the PC/device manufacturer. Back up important files first.
- Test the hardware if nothing else fits. For memory-related codes, search the Start menu for “Windows Memory Diagnostic”, and keep an eye on temperatures. Save your work before restarting for a memory test. A successful test does not rule out every hardware problem.
Make the next crash easier to read
Press Win + R, enter sysdm.cpl and open the Advanced tab. Under Startup and Recovery, select Settings. Set “Write debugging information” to Automatic memory dump or Small memory dump (256 KB). You can clear Automatically restart if you need more time to read a stop screen. Dump creation depends on page-file configuration, disk space and the nature of the failure. Small dumps are normally stored in %SystemRoot%\Minidump; automatic dumps normally use %SystemRoot%\MEMORY.DMP. Dumps can contain sensitive data, so share them only with trusted support personnel.
Be careful with “error fixer” tools. Websites love to offer a one-click tool that “repairs all errors”. A code is only a clue, and no tool can fix every cause. Many of these programs are scareware that nag you into a subscription. Stick to the tools built into Windows and obtain drivers through Windows Update or the PC/device manufacturer.
💬 Comments