How do I diagnose whats wrong with my PC?
How to fix windows boot error with startup repair
Proper how do i diagnose whats wrong with my pc techniques help identify system instability and resolve boot errors efficiently. Using built-in diagnostic tools prevents unexpected crashes and protects your data from corruption.
How to Diagnose and Fix a PC Stuck on Boot
If your PC is stuck on the Diagnosing your PC or Preparing Automatic Repair screen, it means Windows has detected a boot error. To fix it, you need to trigger the Windows Recovery Environment by hard-resetting your computer three times, then run a Startup Repair or check your system files using Command Prompt.
Most people panic and assume their hard drive is completely dead. I used to think the same thing. But there is one counterintuitive trick that most official guides gloss over - I will show you exactly how to bypass that frozen screen in the Automatic Repair section below.
Identifying the Root Cause: Software vs. Hardware
Before tearing your computer apart, it helps to understand why this happens. Sudden power loss during background updates can cause these endless diagnostic loops.[1] The operating system gets caught halfway between an old version of a file and a new one. When you try to boot, Windows realizes something is broken and tries to fix it.
Hardware failure accounts for only a portion of these boot loops, meaning it is usually a software glitch.[2] If your computer makes a loud clicking noise, or if it powers off entirely before reaching the Windows logo, you might have a hardware issue. Otherwise, you are likely dealing with corrupted system files.
The 3-Reboot Trick: Forcing the Automatic Repair Screen
When your PC is completely frozen on the diagnostic screen, clicking does nothing. You need to trigger the recovery menu manually. Here is the exact process to force it. Press and hold the physical Power button on your PC until it turns off completely. Turn it back on. As soon as you see the Windows logo, hold the Power button again to force a shutdown.
Repeat this process three times. On the fourth boot, let it run. It should now say Preparing Automatic Repair and open the blue screen menu.
Lets be honest, forcing a shutdown feels incredibly wrong. The first time I tried this, I was terrified I was going to fry my motherboard. Took me about twenty minutes of staring at the screen to finally do it. But it works. This built-in fail-safe is designed exactly for this scenario.
Running Startup Repair and Command Prompt
Once the blue screen appears, you can run a quick diagnostic and repair. On the Automatic Repair screen, click Advanced options, then go to Troubleshoot, Advanced options, and finally Startup Repair. Windows will scan your system files and attempt to fix startup issues automatically.
But what if that fails? That is when you need the Command Prompt.
Repair Corrupted Files via Command Prompt
Navigate to Troubleshoot, then Advanced options, and select Command Prompt. Type sfc /scannow and press Enter. Wait a few minutes for the scan to finish. Next, type chkdsk /f /r c: and press Enter to check corrupted system files pc for physical errors.
Here is that trick I mentioned earlier: wait for the CHKDSK scan to finish completely before closing the window. Interrupting it can cause actual data loss. Running these two commands can resolve many corrupted system file issues. [3]
Type exit and hit Enter. Thats it. Click Continue to reboot your PC.
Saving Your Files: System Restore and PC Reset
If the command line feels too intimidating, or if the problem started recently after an update, you can revert your PC to a previous working state.
Go to Troubleshoot, Advanced options, and System Restore. Choose a restore date from before the issue started and follow the prompts. If all else fails, you can reinstall Windows entirely without losing your personal files.
Go to Troubleshoot, then Reset this PC. Select Keep my files. This will remove installed apps and system settings but preserve your documents and photos.
Rarely have I seen a system completely unrecoverable if you follow these steps carefully. Just take your time.
Choosing the Right Recovery Tool
When you finally reach the blue Windows Recovery Environment screen, you will face several options. Here is how to choose the right one for your specific boot error.Startup Repair (Recommended First Step)
- Completely safe. Does not modify or delete personal files
- General boot failures, missing startup files, or minor corruption
- Fast. Usually takes 5 to 15 minutes to complete
Command Prompt (SFC/CHKDSK)
- Safe for personal files, but interrupting the scan can cause issues
- Deep system file corruption or hard drive sector errors
- Moderate to slow. CHKDSK can take over an hour on large drives
System Restore
- Safe for documents, but removes recently installed applications
- Issues caused by a recent bad driver update or new software installation
- Moderate. Usually takes 20 to 40 minutes
Reset this PC
- High risk for apps. Preserves documents only if 'Keep my files' is selected
- When all other troubleshooting steps have failed completely
- Very slow. Can take 1 to 3 hours depending on your system speed
For most users, starting with Startup Repair is the safest bet. If you are comfortable with text commands, SFC and CHKDSK are incredibly powerful. Only use the Reset option when you have exhausted every other possibility.The Midnight Deadline Panic
Mark, a freelance graphic designer, faced a frozen "Diagnosing your PC" screen at 11 PM with a project due the next morning. He was terrified of losing his client files and unsure if his hard drive was dead.
First attempt: He just left it running for three hours, hoping it would fix itself. Result: It stayed frozen. He then tried mashing the F8 key, but modern Windows versions ignore this old trick.
He finally used the 3-reboot method to force the recovery environment. He ran Startup Repair, but it failed. Instead of panicking, he opened Command Prompt and ran the SFC and CHKDSK commands.
The scan found and repaired corrupted boot sectors caused by a failed background update. His PC booted normally in under 20 minutes, his files were untouched, and he delivered the project on time.
Common Questions
Am I going to lose my personal files and documents?
Not necessarily. Built-in tools like Startup Repair and SFC scans do not touch your personal data. Even if you have to use the Reset option, choosing "Keep my files" will preserve your documents and photos while reinstalling the operating system.
How do I know if this is a hardware or software issue?
If your PC powers on and reaches the Windows logo before freezing, it is generally a software boot error. If the PC beeps loudly, fails to show any image, or makes clicking noises, you likely have a hardware failure.
Is using the Command Prompt safe for a beginner?
Yes, as long as you type the commands exactly as provided. Commands like sfc /scannow are designed to safely verify and replace broken Windows files without deleting your personal data.
Points to Note
Force the recovery menu manuallyTrigger the Windows Recovery Environment by forcing three consecutive shutdowns during the boot sequence.
Start with automated toolsAlways try the built-in Startup Repair first before moving to more advanced command-line troubleshooting.
Use command line safelyRun SFC and CHKDSK commands to safely repair corrupted system files without risking your personal documents.
Citations
- [1] Learn - Sudden power loss during background updates can cause these endless diagnostic loops.
- [2] Learn - Hardware failure accounts for only a portion of these boot loops, meaning it is usually a software glitch.
- [3] Support - Running these two commands can resolve many corrupted system file issues.
- Is the Windows PC health Check App necessary?
- Is Windows PC health Check useful?
- Is a PC health check necessary?
- How to run a full diagnostic on Windows 11?
- How do I make my PC faster and stop lagging?
- What causes a computer to be sluggish?
- What does SFC scannow actually fix?
- Do I run SFC or dism first?
- How to run a full system check on PC?
- How to do a full PC check?
Feedback on answer:
Thank you for your feedback! Your input is very important in helping us improve answers in the future.