ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10

How to fix
Windows is stuck on “Diagnosing your pc”
on Windows

Resolve the "Diagnosing your PC" issue on Windows 10 and Windows 11 quickly and efficiently. Expert-tested solutions await to restore your system.

How to fix Windows is stuck on “Diagnosing your pc”?
Quick Summary
Error severity
Medium
Est. time
20 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix Windows is stuck on “Diagnosing your pc”?

  • System file corruption
  • Corrupted BCD data
  • Insufficient system space
  • Glitched automated repair utility
  • Driver issue
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello. I have o idea how to deal with this. I launched the computer, and the automatic repair started, but the Windows is now stuck on "Diagnosing your PC" for a while. Nothing happens. I restarted again to start the process again correctly - nothing different. Same problem. Can you answer how to fix this?

When the computer cannot properly start, the problem may seem huge and frustrate users on a serious level. The risk of losing all data is the worst, but this is not the case, so do not panic at this point. Windows is stuck on the "Diagnosing your pc" issue, and the device block on Prepare Auto Repair at startup problem are frustrating but solvable. In most cases, these features are effective and often solve problems with the operating system at the booting stage, but some reports show that users encounter this freeze.

There can be some particular reasons for the issue because system file corruption or even corrupted BCD data[ref en-1] can lead to problems with system functions. Another trigger for the repair strategy can be insufficient system space when the system does not have enough space to load the needed processes and services for the proper startup procedure. Booting the computer in Safe Mode and clearing the needed space should help in such a case, so the operation can complete without additional problems.

When the reason for this "Diagnosing your pc" issue is glitched automated repair utility or the driver issue, the automated repair tries to launch at every startup but fails, so the issue needs to be resolved. That can be done by disabling the utility via elevated CMD. 

Corrupted system files can be responsible for various issues on machines, especially on Windows 10,[ref en-2] because the system upgrades often lack needed files and have particular bugs that keep the system from running smoothly. If this corruption affects the utility, you can rely on DISM or SFC scans and direct recovery options like System Restore. Then you can trust the software like [d1] and run the scan that finds and repairs affected data and helps avoid any issues related to malware[ref en-3] leftovers and corrupted files on the machine.

Stuck on diagnosing the pc windows fix
Stuck on diagnosing the pc windows fix

When the corrupted BCD data is the reason why the machine is stuck on "Diagnosing your pc" at startup, you can sometimes refresh the operating system components. This should include booting data, and then the clean install and repair install can solve the startup operation completing issue. All the possible fixes are listed below, so follow each instruction step by step to complete the solution properly.

Option 1. Boot in Safe Mode and Clear the needed Space 

  • Power on the computer.
  • Start pressing the F8 key repeatedly and wait for the Advanced Boot Options menu.
    Stuck on diagnosing the pc restart
    Stuck on diagnosing the pc restart
  • Once on the Advanced Boot Options menu, use the arrow keys to select Safe Mode or press the F4.
  • Once the PC is fully loaded, press Windows key + R to open up a Run dialog box.
  • Type cleanmgr and press Enter to open up the Clean Manager utility.
  • Once inside, select the disk that you want to clean.
  • Go to the Files to Delete section and chose everything non-essential that you want to delete.
  • The Downloads folder, Recycle Bin, Temporary files, and Delivery Optimization Files should be a good start.
    Stuck on diagnosing the pc delete
    Stuck on diagnosing the pc delete
  • Click on Clean up system files to start the process of cleaning up some space.
  • Restart your computer to boot it back in normal mode.
  • Check if the Diagnostics screen is not getting stuck again.

Option 2. Run the SFC and DISM scans

  • Insert the installation media and restart your computer.
  • Start pressing any key immediately to boot from the Windows installation media.
  • Once the initial Windows screen is loaded, click on Repair your computer. 
  • Next, select Troubleshooting.
  • Click on Advanced Options.
  • From the Advanced Options menu, choose the Command Prompt.
    Stuck on diagnosing the pc command prompt
    Stuck on diagnosing the pc command prompt

  • Once on the Command prompt, type the following command and press Enter
    sfc /scannow
  • Restart your computer and follow the steps above again to return to the elevated CMD screen at the next system startup.
  • Type the following commands and press Enter after each one:
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /RestoreHealth
  • Restart your computer and see if the issue is resolved.

Option 3. Restore the system

  • Insert the installation media and restart your computer.
  • Once you see the booting screen, press any key to boot up from the installation media.
  • Once the Windows Setup is fully loaded, find and click on Repair your computer.
    Stuck on diagnosing the pc windows setup
    Stuck on diagnosing the pc windows setup
  • Access the Troubleshoot menu.
    Stuck on diagnosing the pc troubleshoot
    Stuck on diagnosing the pc troubleshoot
  • Click on Advanced Options, then select Command Prompt from the list.
  • Once on the Command Prompt window, type the following command and press Enter to open up the System Restore utility:
    rstrui.exe
  • Click on Next to go to the next screen.
    Stuck on diagnosing the pc system restore point
    Stuck on diagnosing the pc system restore point
  • There start by checking the box associated with Show more restore points.
  • Select the one that is dated before the Diagnostics issue.
    Stuck on diagnosing the pc system restore
    Stuck on diagnosing the pc system restore
  • Once chosen, click Next.
  • Once you get this far, the utility is ready to go.
  • Click on Finish.
  • Your computer will restart and be restored.
  • Wait to see if the next boot sequence managed to get past the issue.

Option 4. Disable the Automatic Repair

  1. Boot in Safe Mode to get past the error screen.
  2. Press the F8 key repeatedly as soon as you see the initial screen.
  3. This should take you to the Advanced Boot Options menu.
  4. Select Safe Mode with networking by press the corresponding key (F5) or by using the arrow keys.
    Stuck on diagnosing the pc safe mode
    Stuck on diagnosing the pc safe mode
  5. Once the boot is complete, press Windows key + R to open up a Run dialog box.
  6. Type cmd and press Ctrl + Shift + Enter to open up the Command Prompt.
  7. When you’re prompted by the UAC (User Account Control), click Yes to grant administrative privileges.
  8.  Once you’re inside the elevated CMD prompt, type the following command and press Enter to disable Automatic Repair utility from the startup sequence:
    bcdedit /set recoveryenabled NO
  9. Restart your computer to boot up normally.

Bottom line

To fix the 'Diagnosing your PC' issue, you can try booting the computer in Safe Mode and clearing space, disabling the automated repair utility via elevated CMD, or running DISM and SFC scans. If these solutions do not work, consider using System Restore or trusted software to repair affected data.

Frequently asked questions

You can try performing a hard reset by holding the power button until the PC shuts down, then restart it. If the issue persists, boot into Safe Mode to troubleshoot further.

To resolve this on Windows 11, you can use Windows Recovery Environment to access advanced repair options and attempt a Startup Repair.

Regularly updating your system and running disk checks can help prevent this issue; make sure to keep your drivers updated as well.

Did this fix work for you?
Ryan Mitchell

Written & verified by

Hardware & Driver Specialist
Hardware troubleshooting Driver installation and rollback Device Manager errors USB and peripheral issues Firmware updates

Ryan Mitchell specialises in hardware troubleshooting and driver management for Windows systems. His expertise covers device recognition failures, driver conflicts, firmware updates, and peripheral connectivity issues across all major manufacturers. Ryan's systematic approach to hardware diagnosis — starting with Device Manager, working through driver rollback and clean installs, and escalating to BIOS-level checks — has made his guides a reliable resource for both home users and field technicians. He covers GPUs, printers, audio devices, USB controllers, network adapters, and external storage.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →