sodcalculator

10 Tech How-To

Fix Unknown Hard Error in Windows

Guide 10-42670 · Updated · Step by step

An “unknown hard error” in Windows is a stop error that occurs when the system cannot identify the cause of a critical failure, often related to memory, drivers, or corrupted system files. The most reliable fix is to boot into Safe Mode and run the System File Checker (sfc /scannow) followed by the Deployment Imaging Service and Management Tool (DISM), then check your RAM with Windows Memory Diagnostic. This article explains what causes this error, how to diagnose it step by step, and what to do when the basic fixes don’t work.

What Does “Unknown Hard Error” Mean?

An “unknown hard error” is a generic Windows error message that appears when the operating system encounters a problem it cannot classify. Unlike a Blue Screen of Death (BSOD) with a specific stop code like MEMORY_MANAGEMENT or IRQL_NOT_LESS_OR_EQUAL, this error gives no further detail. It can appear as a dialog box, a blue screen, or a system freeze. The term “hard” here refers to a hardware-level or low-level software failure, not a hard drive issue specifically.

Common triggers include faulty RAM, outdated or corrupt device drivers, a failing hard drive, or a corrupted Windows system file. The error can also be caused by third-party software that hooks deep into the system, such as antivirus tools or system utilities. Because the error is generic, the fix requires a systematic approach to isolate the root cause.

Initial Steps: Boot into Safe Mode

Safe Mode loads Windows with a minimal set of drivers and services, bypassing most third-party software. If the error does not appear in Safe Mode, the cause is likely a driver or startup program. To enter Safe Mode:

  1. Restart your PC and press F8 repeatedly before the Windows logo appears (on older systems) or use Shift + Restart from the login screen.
  2. Select Troubleshoot > Advanced options > Startup Settings > Restart.
  3. After the restart, press 4 or 5 to enable Safe Mode (with or without networking).

If you cannot boot into Safe Mode at all, you may need to use Windows Recovery Environment (WinRE) from a bootable USB drive. Create one on another PC using the Media Creation Tool, then boot from it and select “Repair your computer”.

Run System File Checker and DISM

Corrupted system files are a leading cause of unknown hard errors. The System File Checker (SFC) scans protected system files and replaces corrupted ones. DISM repairs the Windows system image that SFC relies on. Run these in order:

  1. Open Command Prompt as administrator (in Safe Mode, search for “cmd”, right-click, and select “Run as administrator”).
  2. Type sfc /scannow and press Enter. Wait for the scan to complete. If it finds issues but cannot fix them, proceed to DISM.
  3. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This may take 15-30 minutes.
  4. After DISM completes, run sfc /scannow again to fix any remaining corruption.

If SFC reports that it found corrupted files but was unable to fix some, you may need to use the findstr command to view the log file at %windir%\Logs\CBS\CBS.log for details. In many cases, running DISM first resolves the underlying image issues so SFC can do its job.

Test Your RAM and Hard Drive

Memory errors often manifest as unknown hard errors because Windows cannot read or write data correctly. Windows Memory Diagnostic is a built-in tool that tests your RAM:

  1. Press Win + R, type mdsched.exe, and press Enter.
  2. Choose “Restart now and check for problems” or “Check for problems the next time I start my computer”.
  3. After the restart, the test runs automatically. It may take 20-30 minutes. The results appear after Windows loads.

If the test finds errors, replace the faulty RAM module. If it passes, check your hard drive. In Command Prompt (admin), run chkdsk /f /r on your system drive (usually C:). This will schedule a check on the next restart. The /r flag locates bad sectors and recovers readable information. A failing drive can cause random errors, including unknown hard errors.

Update or Roll Back Drivers

Outdated, incompatible, or corrupt drivers are a common trigger. Focus on chipset, storage, and graphics drivers, as these interact most with hardware. To update:

  1. Right-click the Start button and select Device Manager.
  2. Expand categories like “Display adapters”, “Storage controllers”, and “System devices”.
  3. Right-click a device and select “Update driver”. Choose “Search automatically for drivers”.

If the error started after a recent driver update, roll back the driver instead. In Device Manager, right-click the device, select “Properties”, go to the “Driver” tab, and click “Roll Back Driver”. If that option is grayed out, you may need to reinstall the previous driver from the manufacturer’s website. Avoid using third-party driver updater tools, as they can install incorrect versions.

Check for Malware and Third-Party Conflicts

Malware can cause low-level system instability. Run a full scan with Windows Defender (now called Microsoft Defender) or another reputable antivirus. In Windows Security, go to “Virus & threat protection” and select “Scan options” to run a full scan. If you suspect a specific program, perform a clean boot to isolate it:

  1. Press Win + R, type msconfig, and press Enter.
  2. On the “Services” tab, check “Hide all Microsoft services” and click “Disable all”.
  3. On the “Startup” tab, click “Open Task Manager” and disable all startup items.
  4. Restart your PC. If the error disappears, re-enable services and startup items one by one to find the culprit.

Remember to reverse the clean boot after testing by re-enabling all services and startup items.

Advanced Options: Check Event Viewer and Reset Windows

If the error persists, the Event Viewer may contain clues. Open Event Viewer (type eventvwr in Run), go to “Windows Logs” > “System”, and look for critical errors around the time of the crash. The error source may be a specific driver or service. Search the event ID online to find known solutions.

If no cause is found, the last resort is to reset Windows. Go to Settings > Update & Security > Recovery > “Reset this PC”. Choose “Keep my files” to preserve personal data but remove installed apps, or “Remove everything” for a full reset. This reinstalls Windows and clears any corrupted system components. Before doing this, back up your important files to an external drive or cloud storage.

Frequently Asked Questions

Can an unknown hard error be caused by overheating?

Yes, overheating can cause random system crashes, including unknown hard errors. If your CPU or GPU temperatures are too high, the system may become unstable. Use a temperature monitoring tool to check idle and load temperatures. Clean dust from fans, ensure proper airflow, and consider reapplying thermal paste if your system is old.

Will reinstalling Windows fix the error?

Often, yes. A clean installation removes any corrupted system files, driver conflicts, and malware that could cause the error. However, if the issue is hardware-related (like faulty RAM or a failing drive), reinstalling Windows will not help. Always test hardware first.

What is the difference between a hard error and a soft error?

A hard error is a non-recoverable error that usually requires a system restart. A soft error is a recoverable condition, like a temporary network failure or a program that can be closed without restarting. In the context of Windows, “unknown hard error” means the system cannot recover and does not know the cause.

Is it safe to ignore this error if it happens once?

If it happens only once and does not recur, it may be a transient issue like a power glitch or a temporary driver hiccup. However, if it occurs repeatedly, it indicates an underlying problem that should be addressed to prevent data loss or system instability.

Can a faulty power supply cause this error?

Yes, an inadequate or failing power supply can cause random crashes, including unknown hard errors. If your system crashes under load but not when idle, power supply issues are a possibility. Test with a known-good PSU or use a power supply tester if you suspect this.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →