Diagnosing Your PC: How to Get Out of This Error Loop

Corrupted system files could be the reason

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • This error loop could have been caused due to insufficient disk space, corrupted system files, or corrupted BCD data. 
  • This guide will help you with the solutions to come out of the error loop.
diagnosing your PC

If your computer is stuck in diagnosing your PC screen, then this guide can help!  Your PC is stuck in the loop either due to corrupted BCD data, missing system files, or insufficient disk space. 

In this guide, we will discuss some of the available methods to fix the issue right after talking about the potential causes of the issue. Let’s start!  

Why is the computer stuck on diagnosing your PC screen?

The diagnosing your PC error loop could stem from various factors; some of the common ones are listed here: 

  • Damaged system files – If your Windows system files are missing or damaged, your computer might get stuck in a loop. You need to run a system repair command to fix the issue.
  • Insufficient disk space – Insufficient disk space can cause many issues, including this one. You need to retrieve space on your computer to resolve this issue.
  • A glitch in Automatic Repair utility – If there are system drive issues, Automatic Repair utility will try to open at startup. However, if it will not be able to find the culprit, your computer will be stuck in a loop. To fix it, you need to disable the utility using an elevated Command Prompt.
  • BCD data corrupted – If the booting data is corrupted, then it could prevent the startup from getting completed. Therefore you get stuck on the screen. You need to refresh the Windows component by doing a clean install. 

What can I do if the computer is stuck in the diagnosing your PC screen? 

1. Run the Disk Cleanup tool

  1. Restart your computer and press F8 repeatedly until you get Advanced Boot options
  2. Use the arrow keys to select Safe Mode or press F4 to enter Safe mode. Enable safe mode
  3. Wait until the booting sequence is complete, and press Windows + R to open the Run dialog box. 
  4. Type cleanmgr and click OK to open Disk CleanupCleanmgr Run command - diagnosing your pc
  5. On the Disk Cleanup: Drive Selection window, select the drive and click OK.Cleanmgr 2
  6. On the next window, click Clean up System files.Clean up
  7. Again on the Disk Cleanup: Drive Selection window, select the drive and click OK.
  8. Select the files under the Files to delete, and click OK.Cleanmgr 4
  9. Next, click Delete FilesCleanmgr 5
  10. Once completed, restart your computer and check if the computer starts normally. 

2. Use Command Prompt to run SFC & DISM command 

2.1 Create an installation media

  1. On another device, go to Windows 11 website
  2. Go to the installation media, click Download, and double-click to run the tool. Create Windows media diagnosing your pc
  3. On the Windows setup window, click  Accept.Accept the terms
  4. Select language and edition and click NextWindows 11 edition
  5. Now on Choose which media to use window, select the USB flash drive option, and click Next.Setup 5
  6. Select your USB drive on the next screen and click Next.
  7. Once the installation media is ready click Finish to close the wizard. 

2.2 Repair your computer 

  1. Insert the installation media and restart your computer. Now press any key to boot from the installation media.
  2. On the installation media window, click Repair your computer.Repair your computer
  3. On the Choose an option screen, click TroubleshootChoose an option - Troubleshoot diagnosing your pc
  4. Now select Advanced options.Advanced options
  5. Click Command Prompt from the Advanced options screen.Command Prompt Advanced Options .
  6. On the Command Prompt window, type the following command and press Enter: sfc/scannow
  7. Copy and paste the following commands one by one and press Enter after every command: Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /RestoreHealthCMD DISM & SFC
  8. Restart your computer once the process is complete. 

3. Restore your computer to the previous version

  1. Create an installation media using the steps in method 2, insert it in the USB slot on your computer, and restart it.
  2. On the installation screen, click the Repair your computer option.
  3. Go to Troubleshoot, then click Advanced options.
  4. Under Advanced options, select Command Prompt.
  5. Once the Command Prompt window is up, type the following command to open the System Restore window and press Enter: rstruirstrui command prompt diagnosing your pc
  6. On the System Restore window, either choose Recommended restore or click on Choose a different restore point option and click Next.Next Choose a different restore point
  7. Select the restore point and click NextChoose a point
  8. Click Finish to close the window. Finish Restore point
  9. Restart your computer to see if the computer boots normally. 

4. Disable the Automatic Repair utility 

  1. Restart your computer and press  F8 repeatedly until you see the initial screen. You will get the Advanced Boot options screen. 
  2. On the Advanced Boot options screen, select Safe mode with networking using arrow keys or press F5.Enable safe mode with networking
  3. Once in Safe mode, press the Windows key, type CMD, and click Run as administratorDOS COmmand Prompt
  4. Type the following command to disable Automatic Repair Utility  and press Enter: bcdedit /set recoveryenabled NO
  5. Restart your computer and check if it starts normally. 

5. Perform a clean installation

  1. Restart your computer and press F2, F10, or the designated by your device manufacturer to enter BIOS mode.
  2. Go to the Boot menu, click Change the boot order, and select the USB drive from the options to start using the USB to boot your computer. Boot-order
  3. Insert the installation media and restart your computer. Upon restarting, press any key to continue.
  4. On the setup wizard, click Next.English US diagnosing your pc
  5. Click the Install button. Install now
  6. Now click the I don’t have a product key option if you are reinstalling Windows.
  7. Select the version that you want to install and click Next.select-w11-version
  8. Click Accept on the Applicable notices and license terms page.accept-terms-of-service-w11 
  9. Click Next
  10. Choose Custom Install.custom-install-w11
  11. Create partition in the hard drive.
  12. Choose the hard drive Partition on which you want to install Windows 11.select-drive
  13. Click Next.
  14. Now follow all the onscreen instructions to complete the process.

So, these are the methods that you can follow to get rid of diagnosing your PC screen. Try them and let us know what worked for you in the comments section.

More about the topics: windows 10 fix, Windows 11