The “Diagnosing Your PC” error indicates an issue during the bootup. As a result, Windows takes matters into its own hands and starts diagnosing, which ultimately causes an endless loop. This error can occur due to corrupted system files or insufficient space.

Key Takeaways
  • This endless diagnosis screen mainly appears due to insufficient space, corrupt system files, and Windows Update interruption.
  • You can fix this error by running the System Restore, uninstalling the recent Windows Updates, and hard rebooting your system.
  • In our experience, this “Diagnosing your PC” error can persevere for several hours, leading to lost productivity.

The error message will be displayed on the boot screen like this:

Diagnosing Your PC error on the boot screen
Diagnosing Your PC Error – Image Credits [GimTekno]
Tip: If the belowmentioned methods do not resolve this error for you, we recommend a clean reinstallation of Windows.

Method Difficulty Rating

Hard Reboot PC
Rated: 5/10
System Restore
Rated: 7/10
System Files
Rated: 8/10
Fast Startup
Rated: 7/10

Uninstall Updates
Rated: 7/10

Hard Reboot PC

A hard reboot restarts your device by completely switching off its power. It essentially interrupts all processes and applications running on the computer abruptly. Hard rebooting PCs can resolve many bugs and errors, including the “Diagnosing your PC” error.

Sometimes, a hard reboot can set your PC straight when things get jammed. We’ve tried it, and it works! And it seems others on HP Forums have had luck with it, too. Give the following method a try:

  1. Turning off the system: Press and Hold the Power Button.
    Power button of a laptop to fix the Intel WIreless AC 9462 not working error
    Power Button – Image Credits[Tech4Gamers]
  2. Disconnecting Power and Peripherals: Unplug the Power Cable > Remove the battery in case of a laptop > Disconnect all peripherals.
    A closed laptop side view highlighting all peripheral slots and power cable slot
    Laptop Side View – Image Credits[Shutterstock]
  3. Draining excess battery: Press and Hold the Power button for 15 seconds.
  4. Powering the system: Insert Battery in case of a laptop > Plug in the power cord.
  5. Turning on the system: Press the Power button.

System Restore

System Restore is a Windows utility tool designed to revert the operating system to its previously saved state. Windows named those states as restore points. This utility is beneficial when an undo is needed for the system to solve any errors or glitches.

If you’re stuck with this stubborn problem, consider rolling back with a system restore. We’ve tried it ourselves, and it’s often the quickest way to restore normality. A Microsoft Vendor at Learn Microsoft has also recommended this solution. Here are the steps:

  1. Launching Windows RE: Boot into Windows RE.
  2. Opening System Restore: Click Advanced Options > Troubleshoot > Advanced Options > System Restore.
    advanced options highlighting system restore in Windows RE
    Advanced Options – Image Credits [Tech4Gamers]
  3. Choosing Restore Point: Click Next > Choose the latest restore point > Click Next.
    system restore showing all restore points, highlighting the latest one
    Restore Points – Image Credits [Tech4Gamers]
  4. Commencing System Restore: Click on Finish.
    restore point confirmation page highlighting finish
    Confirming System Restore – Image Credits [Tech4Gamers]
WARNING: The System Restore reverts the operating system to an older state. As a result, it may uninstall applications installed after creating the restore point.

Repair System Files

System Files can corrupt for many reasons, including viruses or malware, improper shutdown, and incomplete Windows Updates. Corrupt files can also result from a system crash or a damaged sector on your hard drive, which can cause issues like this. You can run SFC and DISM Scan commands on the Command Prompt to repair system files.

These commands thoroughly scan your system while repairing faulty and corrupt system files. We at Tech4Gamers have personally executed these commands, and they resolved the issue for us. Here’s how you can successfully run these commands:

  1. Windows Recovery Environment: Boot your system into the Windows Recovery Environment.
  2. Navigate to Command Prompt: Click Advanced Options > Go to Troubleshoot > Advanced Options > Command Prompt.
    advanced options highlighting command prompt in Windows RE
    Advanced Options – Image Credits [Tech4Gamers]
  3. Accessing Command Prompt: Select Administrator > Provide the password if available; otherwise, leave it blank > Hit Enter.
    command prompt asking for password for login
    Command Prompt Password – Image Credits [Tech4Gamers]
  4. Running Commands: Run these commands one by one:
    1. chkdsk c: /r /x
    
    2. sfc /scannow
    
    3. DISM /online /cleanup-image /scanhealth
    
    4. DISM /online /cleanup-image /startcomponentcleanup
    
    5. DISM /online /cleanup-image /restorehealth

Disable Fast Startup

The Fast Startup feature allows a computer to boot up much faster after a proper shutdown. The reason is that it puts the system in hibernation mode rather than shutting it down. It is usually enabled by default if the system hardware can execute fast startup.

However, our research found that the Fast Startup feature is known to cause several bugs and errors in the system, especially in dual-booting cases. Disabling the Fast Startup Feature helped us recover our systems, and it also helped users resolve this “Diagnosing your PC” error on Ubuntu Forums. Follow the instructions below to give this method a shot:

  1. Starting Windows Recovery Environment: Power your system into the Windows RE.
  2. Opening Command Prompt: Go to Advanced Options > Troubleshoot > Advanced Options > Lastly, Command Prompt.
    advanced options highlighting command prompt in Windows RE
    Advanced Options – Image Credits [Tech4Gamers]
  3. Opening Command Prompt: Select Administrator account > Enter the password if available; else, leave it empty > Hit Enter.
    command prompt asking for password for login
    Command Prompt Password – Image Credits [Tech4Gamers]
  4. Disabling Fast Startup: In CMD, Type powercfg /h off.

Uninstall Windows Updates

Windows Update is a built-in service that updates the operating system and its drivers and software. An improperly installed update might corrupt the system files, causing this error. If you recently installed Windows Updates, it may be possible that the Windows Update installation was unsuccessful. 

A member of our team started having this issue after their Windows Update installation was interrupted. Uninstalling the Windows Update resolved the problem for them. Thus, you can safely uninstall the recent Windows Updates by following the steps provided below:

  1. Booting to Windows RE: Boot the computer into Windows RE.
  2. Navigating to Uninstall Updates: Click Advanced Options > Troubleshoot > Click Advanced Options > Click on Uninstall Updates.
    Uninstall updates on the Advanced options section in Windows RE
    Advanced Options – Image Credits [Tech4Gamers]
  3. Uninstalling the Update: Choose Uninstall Latest Quality Update > Click Uninstall Quality Update.
    Uninstalling latest quality update
    Uninstalling Quality Update – Image Credits [Tech4Gamers]

Final Words

Concluding the blog, we confirm that corrupt system files are the primary cause of this error. Since you are completely thrown out of your system, you need to access the recovery features to resolve this error, which can prove tricky for some people. Users have reported being stuck on the infamous “Diagnosing your PC” error.

Although Microsoft has explicitly detailed a blog revolving around this “Diagnosing your PC” error, their listed methods might not be sufficient. However, you can eliminate this error successfully by executing our approved methods, which are easy to follow as we have covered each step in detail.


FAQs

What causes the “Diagnosing your PC” error?

Your PC might be facing issues like improperly installed updates, corrupted system files, corrupted Windows registry, or lack of storage space, which can cause this problem.

How do you eliminate the “Diagnosing your PC” error?

You can fix this problem by utilizing the System Restore utility, uninstalling the recent Windows Updates, repairing the System Files and Registry using the Command Prompt, and turning off the fast startup feature.

Are the “Diagnosing your PC” error and the “Automatic Repair” error the same?

Yes, the “Diagnosing your PC” error follows the “Automatic Repair” error loop. Some users see the former, while others see the latter.


Related Guides:


 

Was our article helpful? 👨‍💻

Thank you! Please share your positive feedback. 🔋

How could we improve this post? Please Help us. 😔

Arsalan Shakil
[How-To Guides Expert] Laiba, our tech guru at HI Digital, simplifies and crafts How-To Guides with a Google IT Support Certificate. Beyond tech, she captures the city's aesthetics through her lens. Join her journey where tech meets creativity! Get In Touch: Laiba@hidgt.com Google IT Certificate Shehryar Khan