sodcalculator

10 Tech How-To

Fix Windows Error 0xc0000906: Step-by-Step

Guide 10-55255 · Updated · Step by step

Windows error 0xc0000906 typically appears when a required system file is corrupted or missing, often after an update or a failed installation. This guide provides clear, step-by-step instructions to diagnose and resolve the issue, restoring your system to a working state.

What You’ll Need

  • A Windows installation media (USB or DVD) or access to the Advanced Startup Options.
  • Administrator account access.
  • A stable internet connection (for some steps).

Step-by-Step

  1. Restart your computer. Sometimes a simple reboot clears temporary glitches that trigger this error. If the error persists, proceed.
  2. Enter Advanced Startup Options. Restart your PC and press the appropriate key (often F8, F11, or Esc) during boot to access the recovery menu. Alternatively, if Windows fails to start three times, it will automatically enter the recovery environment.
  3. Select Troubleshoot. In the blue menu, choose Troubleshoot > Advanced options.
  4. Run Startup Repair. Select Startup Repair and follow the prompts. This tool scans for and fixes common boot issues. If it finds problems, let it complete and then restart.
  5. Use System Restore. If Startup Repair doesn’t work, go back to Advanced options and choose System Restore. Pick a restore point from before the error started (e.g., before a recent update). Follow the wizard and restart.
  6. Run Command Prompt from Recovery. If System Restore is unavailable or fails, select Command Prompt from Advanced options.
  7. Run System File Checker (SFC). In the Command Prompt window, type sfc /scannow and press Enter. This checks for corrupted system files and repairs them. It may take 10-15 minutes. Once done, type exit and restart.
  8. Run DISM (Deployment Imaging Service and Management Tool). If SFC finds issues it can’t fix, run DISM. In the same Command Prompt, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This repairs the Windows image. Wait for completion (may take 20 minutes), then restart.
  9. Check Disk for Errors. In the Command Prompt, type chkdsk /f /r and press Enter. You may be asked to schedule it for the next restart; type Y and restart. This scans for and attempts to fix disk errors.
  10. Boot into Safe Mode. If the error still occurs, try booting into Safe Mode. From Advanced options, choose Startup Settings > Restart. After restart, press 4 or F4 for Safe Mode. Once in Safe Mode, you can uninstall recent updates or drivers that might be causing the issue.
  11. Uninstall Recent Updates. In Safe Mode, go to Settings > Update & Security > Windows Update > View update history > Uninstall updates. Remove the most recent updates, then restart normally.
  12. Use the Installation Media for Repair. If the above fails, boot from your Windows installation media. Choose your language, then click Repair your computer instead of Install. Follow the same options (Startup Repair, Command Prompt, etc.) from there.
  13. Reset This PC (Last Resort). If nothing else works, from the recovery environment, select Troubleshoot > Reset this PC. Choose Keep my files to preserve personal data (though apps will be removed). This reinstalls Windows while retaining your documents.

Common Mistakes

  • Skipping SFC before DISM. Always run SFC first, as DISM is more intensive and might not be necessary.
  • Interrupting scans. Let SFC, DISM, and chkdsk run to completion. Interrupting can cause further corruption.
  • Ignoring disk errors. If chkdsk reports bad sectors, your hard drive may be failing. Back up important data immediately.
  • Choosing the wrong restore point. Ensure the restore point is from before the error appeared; otherwise, you may restore the same problem.
  • Forgetting to remove external drives. Sometimes USB drives or external HDDs interfere with boot. Unplug them before attempting repairs.

Tips

  • Always create a system restore point before making major changes to your system.
  • Keep your Windows installation media handy for emergencies.
  • If you have a second PC, you can create a bootable USB drive using the Media Creation Tool from Microsoft’s website.
  • After fixing the error, run Windows Update to ensure all patches are installed.
  • If the error occurs repeatedly, consider checking your hard drive’s health with a tool like CrystalDiskInfo (for Windows) to detect failing hardware early.

Troubleshooting

If the steps above don’t resolve the error, try these additional measures:

  • Check for hardware issues. Faulty RAM or a failing hard drive can cause this error. Run a memory diagnostic (Windows Memory Diagnostic tool) and check disk health.
  • Boot from a different drive. If you have another bootable drive, try booting from it to see if the issue is with the primary drive.
  • Use the installation media to perform an in-place upgrade. Boot from the media, choose Install, and select Keep personal files and apps. This reinstalls Windows while preserving your data and installed programs.
  • Check for BIOS/UEFI updates. Sometimes outdated firmware can cause boot issues. Check your motherboard manufacturer’s website for updates.
  • Disable Secure Boot or Fast Boot temporarily. In BIOS/UEFI settings, try disabling these features to see if they interfere with booting.
  • If the error occurs after a specific update, use the Command Prompt to manually remove the update using wusa /uninstall /kb:XXXXXXX (replace with the KB number).

Frequently Asked Questions

What causes error 0xc0000906?

It’s usually caused by corrupted system files, often due to a failed update, improper shutdown, or malware. It can also indicate hardware problems like a failing hard drive.

Will I lose my files if I use Reset This PC?

If you choose Keep my files, your personal documents, photos, and videos are preserved, but installed applications and settings will be removed. Always back up important data before any repair.

How long does DISM take?

DISM can take anywhere from 10 to 30 minutes, depending on your system speed and the extent of corruption. Do not interrupt it.

Can I run SFC from Safe Mode?

Yes, you can run SFC in Safe Mode, but it’s often more effective from the recovery environment because Windows is not fully loaded, which can interfere with repairs.

Is there a way to prevent this error in the future?

Regularly update Windows, avoid force-shutting down your PC, and run periodic disk checks. Keeping your system clean from malware also helps.

What if I don’t have a Windows installation media?

You can create one using another PC with the Media Creation Tool from Microsoft’s official website. You’ll need a USB drive of at least 8GB.

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 →