Independent. Reader-supported. Tested before publishing.
Emely Correa
emelycorrea.com
In Windows & Account

Windows Error Messages: A Step-by-Step Repair Method That Handles 90% of Them

Stop guessing at Windows errors. A reliable four-step approach — read the code, search the code, run SFC and DISM, then narrow the cause — handles almost any error dialog, blue screen, or "something went wrong" message Windows throws at you.

EC
Windows & Account

Windows errors show up at the worst times and rarely come with helpful information. "Something went wrong." "An error occurred." "0x80070005." Most people close the dialog and hope it doesn't come back. It always does. Here's a framework that actually works — four steps that handle the majority of Windows errors without guesswork or panic.

Why Windows errors feel impossible to fix

The error dialog itself is almost always generic. The actually useful information is in the code next to or below the message — that hexadecimal number or text identifier. Once you can read those codes, every error becomes googleable in a useful way. Without the code, you're stuck reading generic advice. With it, you're usually three minutes from the real fix.

So step one isn't "fix the error." It's "extract the code."

Step 1: Read the error properly

Don't dismiss the dialog yet. Look at it carefully and note:

If the error code is hidden behind a "Details" or "More information" link, click that. Take a screenshot if there's any chance the dialog will close before you've copied everything. Half the time the screenshot saves you ten minutes of trying to reproduce the error later.

Step 2: Search the code, not the message

"Something went wrong with this update" has ten thousand possible causes. 0x80070005 has roughly three. Always search the code first.

A useful search structure:

"0x80070005" windows update fix

Quotes around the code force the engine to match it exactly. Adding the context (Windows Update, Outlook, install) narrows the results to your specific problem.

Trust Microsoft's official docs and answers.microsoft.com first. StackOverflow and SuperUser are good for developer-facing errors. Avoid sketchy "registry cleaner" sites — they're never actually the fix, and they often make things worse than the original problem.

Step 3: Run the standard repair commands

Most Windows errors fall into one of three buckets: corrupted system files, broken Windows Image, or broken Windows Update components. Three commands handle the lot. Open Command Prompt as Administrator and run them in order.

Repair system files (SFC)

sfc /scannow

SFC — System File Checker — scans every protected system file and replaces corrupted copies from a local cache. Takes 5–10 minutes. If SFC reports "Windows Resource Protection found corrupt files and successfully repaired them," reboot and try whatever was failing.

Repair the Windows image (DISM)

DISM /Online /Cleanup-Image /RestoreHealth

If SFC said it couldn't repair some files, DISM can usually fix the underlying image. It downloads replacement files from Windows Update. Takes 10–30 minutes depending on connection speed. After it finishes, run SFC again — it'll usually succeed now that the underlying source is repaired.

Reset Windows Update (if the error was update-related)

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old

net start wuauserv
net start cryptSvc
net start bits
net start msiserver

This clears the Windows Update cache and forces it to redownload metadata. Try the failed update again afterward.

Step 4: Narrow down the cause

If the error survives the repair commands, you need to figure out whether it's caused by Windows itself, a third-party program, or your hardware.

Clean boot

A clean boot starts Windows with only Microsoft services and no startup programs. If the error doesn't happen in a clean boot, a third-party program is causing it.

  1. Press Win + R, type msconfig, press Enter.
  2. Go to the Services tab.
  3. Tick Hide all Microsoft services (very important — without this you'd disable Windows itself).
  4. Click Disable all.
  5. Go to the Startup tab → Open Task Manager.
  6. Disable everything in the Startup list.
  7. Restart your PC.

If the error is gone, re-enable services in batches of five at a time, restart between each batch, test. Whichever batch reintroduces the error contains your culprit. Then you split that batch in half and test again. Binary search until you find the one bad service.

New user profile

If the error is specific to your account but works for another user on the same PC, your user profile has the problem. Create a new local user, sign in, confirm. If the new profile works, copy your files to it and use it from now on. Windows doesn't have a built-in profile repair tool — recreating is the standard fix.

Hardware check

If errors are random, blue screens are returning regularly, or applications crash without pattern, run a memory check:

  1. Press Win + R, type mdsched.exe, press Enter.
  2. Choose Restart now and check for problems.

Windows reboots into a memory diagnostic that takes about 15 minutes. After Windows boots again, check the result in Event Viewer under Windows Logs → System — look for a source called MemoryDiagnostics-Results.

Also worth running chkdsk /f on your system drive to check the disk itself for bad sectors and file-system issues.

Specific errors worth knowing

What not to do

When to reinstall — and how

If nothing above works and the errors are still piling up, an in-place upgrade gets you a fresh Windows without losing your files or programs. It's a kind of "deep clean" that fixes problems no amount of targeted repair can touch.

  1. Go to microsoft.com/software-download/windows11.
  2. Download the Installation Assistant.
  3. Run it. Choose Keep personal files and apps.

It takes an hour or two. When it's done, you have a freshly reinstalled Windows with your data and apps intact. Most stubborn errors don't survive it.

The takeaway

Read the code, search the code, run SFC and DISM, clean boot if needed. That sequence handles nearly every Windows error you'll ever see — and it's faster than the alternative of reinstalling Windows each time. Bookmark this page. The next blue screen has already started forming somewhere in your future, and you'll be glad to have a plan.

Filed under Windows 11 Windows 10 Errors SFC DISM Troubleshooting
EC

Written by

Emely Correa

Independent writer at Emely Correa. Practical, hands-on guides for Windows, Microsoft 365, and the apps you reach for every day. Got a topic request? Email hello@emelycorrea.com.

The Sunday note

Get more guides like this in your inbox.

One short email a week. No marketing, unsubscribe anytime.