How to Fix “Diagnosing Your PC” Loop in Windows 10

If Windows 10 is stuck on “Diagnosing your PC” or “Preparing Automatic Repair,” give it 15–30 minutes first, because Automatic Repair can take a while. If it loops or never finishes, force a restart, then use Advanced options > Startup Repair. If that fails, boot into Safe Mode to uninstall a recent update or driver, run disk and system file checks from Command Prompt, or use System Restore. Reset this PC is the last resort.

Windows 10 reached end of support on October 14, 2025. Consumer Extended Security Updates (ESU) now run until October 12, 2027.

Quick Answer

Wait, then hold the power button to restart. On the recovery screen: Advanced options > Troubleshoot > Advanced options > Startup Repair.

Step 1: Restart and Try Startup Repair

  1. Unplug USB drives and other accessories.
  2. Hold the power button for 10 seconds, then turn the PC on.
  3. If the Automatic Repair screen appears, click Advanced options.
  4. Choose Troubleshoot > Advanced options > Startup Repair.
Blue recovery screen with Advanced options including Startup Repair and Startup Settings
Advanced options offers the main repair tools.

Step 2: Try These Fixes in Order

Fix How
Uninstall a recent update Advanced options > Uninstall Updates
Safe Mode Advanced options > Startup Settings > Restart > 4; then remove recent drivers or apps
Check the disk Advanced options > Command Prompt > chkdsk C: /f (the drive letter may differ in recovery)
Repair system files Command Prompt > sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
System Restore Advanced options > System Restore, pick a point before the problem
Reset this PC Troubleshoot > Reset this PC > Keep my files

Skip Automatic Repair Temporarily

If Automatic Repair keeps running and you need to reach Windows to fix the real cause, you can turn it off from the recovery Command Prompt (Advanced options > Command Prompt) with bcdedit /set {default} recoveryenabled no. Turn it back on afterward with bcdedit /set {default} recoveryenabled yes. This only stops the repair screen; it doesn’t fix the underlying problem, so continue with the steps above.

Common Causes

  • A failed or interrupted update.
  • A new driver or hardware change.
  • File system errors or a failing drive.
  • Power loss during startup.

If a driver caused the loop, see finding corrupt drivers.

Troubleshooting

Frequently Asked Questions

How long should Diagnosing your PC take?

Usually a few minutes; sometimes up to 30. Longer, or repeated loops, need manual fixes.

Will Startup Repair delete my files?

No. Only Reset this PC with Remove everything erases files.

Summary

  1. Wait, then force restart.
  2. Run Startup Repair from Advanced options.
  3. Uninstall updates, use Safe Mode, or run chkdsk and sfc.
  4. Use System Restore or Reset this PC as a last resort.