How to Fix the Blue Automatic Repair Screen on Windows 11 Using CMD

Share
A Windows 11 laptop displaying the blue automatic repair screen indicating startup problems.

The blue automatic repair screen in Windows 11 shows when the system detects a startup problem it can’t fix automatically. You can access Command Prompt from this screen to run commands that diagnose and repair disk or boot issues without losing data or reinstalling Windows. Using these commands carefully often restores normal startup safely and avoids immediate OS reinstallation.

What Does the Blue Automatic Repair Screen Mean and When Does It Appear?

The blue automatic repair screen appears after Windows 11 fails to start normally after multiple attempts. It signals that Windows found a problem during startup, such as corrupted system files, disk errors, or incorrect boot settings, and is trying to repair these issues. Windows runs built-in repair tools automatically at this stage. If these fail, the screen offers options to restart, shut down, or access advanced troubleshooting tools like Command Prompt. This screen helps prevent a full reinstall by attempting recovery first.

Here is an example of the screen's message:

"Preparing Automatic Repair"
"Diagnosing your PC"
"Automatic Repair"
"Your PC did not start correctly"
"Press Restart to restart your PC, or Advanced options for other options."
Symptom

Before You Start: Applicability and Precautions

This guide applies to Windows 11 on PCs experiencing the blue automatic repair screen due to startup or disk issues. You need access to the automatic repair environment and your user account credentials to open Command Prompt there. No restart or full backup is required before trying these steps, but if you can, back up important data externally when possible. The commands run here do not delete personal files but can repair system and disk issues.

Make sure you can authenticate to your user account when prompted after opening Command Prompt. Proceed carefully to avoid interrupting commands midway.

How Can You Open Command Prompt from the Automatic Repair Screen?

To open Command Prompt safely from the blue automatic repair screen, follow these steps:

  1. When you see the blue automatic repair screen, select "Advanced options."
  2. Choose "Troubleshoot."
  3. Select "Advanced options" again.
  4. Click "Command Prompt."
  5. Select your user account and enter your password if prompted.
  6. After authentication, the Command Prompt window opens, allowing you to run repair commands.

This environment lets you execute commands without fully booting into Windows, reducing the risk to your data.

Which CMD Commands Should You Use to Fix Startup and Disk Problems?

Use these Command Prompt commands to diagnose and repair startup and disk issues causing the blue automatic repair screen:

  • chkdsk: Checks the disk for errors and bad sectors and attempts repairs. Syntax example: ``cmd chkdsk C: /f /r ``
  • bootrec: On Windows 11 (UEFI/GPT), boot files are normally repaired with bcdboot, not the legacy bootrec commands. Before running it, check the Windows drive letter in WinRE — it may not be C:. Command: ``cmd bcdboot C:\Windows ``
  • sfc: System File Checker scans and repairs corrupted system files. Syntax: ``cmd sfc /offbootdir=C:\ /offwindir=C:\Windows /scannow ``
  • dism: Repairs the Windows image used by sfc. Syntax: ``cmd dism /image:C:\ /cleanup-image /restorehealth ``

Each targets a different problem area—disk health, boot configuration, system file integrity, and Windows image health—to address common causes of startup failure.

How to Run These Commands Step-by-Step to Repair Windows 11 Automatically?

Run these commands in order from the Command Prompt you opened in the automatic repair environment:

  1. Check and repair disk errors on your system drive (usually C:):
chkdsk C: /f /r
  1. Repair the UEFI boot files with bcdboot. First check which letter WinRE has assigned to your Windows drive (it may not be C:), then enter:
bcdboot C:\Windows
  1. Scan for and repair corrupted system files:
sfc /offbootdir=C:\ /offwindir=C:\Windows /scannow
  1. If sfc reports issues it can’t fix, repair the Windows image (use the Windows drive letter you verified in WinRE; C: is shown here):
dism /image:C:\ /cleanup-image /restorehealth
  1. After each command finishes, read any messages for success or failure before continuing.

Do not reboot before completing all these steps. This sequence addresses disk integrity, boot configuration, system files, and the Windows image systematically, minimizing the risk of data loss.

How to Verify That Windows 11 Boots Normally After Running CMD Repairs?

After running all commands, exit Command Prompt by typing:

exit

Then select "Continue" to boot Windows normally or "Turn off your PC".

Watch the startup process closely:

  • If Windows 11 reaches the login screen without returning to automatic repair, the issue is likely fixed.
  • If the blue automatic repair screen reappears, the problem may require more advanced troubleshooting or hardware checks.

You can repeat some commands or try other recovery options like System Restore or Safe Mode if necessary. Successfully booting without interruption means the Command Prompt repairs resolved the startup issues.

Conclusion

If the blue automatic repair screen persists after these steps, your system may have deeper corruption or hardware problems. Consider backing up your data using recovery tools or connecting your drive to another PC before attempting more advanced repairs or reinstalling Windows. For many users, these Command Prompt commands offer a reliable first step to fix startup issues without losing data or reinstalling the OS immediately.

Frequently Asked Questions

Can running these CMD commands cause data loss?

These commands fix system and disk errors without deleting personal files. However, if your hard drive has physical damage, there is some risk, so back up your data if you can before proceeding.

What if Command Prompt won’t open from the automatic repair screen?

If Command Prompt isn’t accessible, try restarting into Safe Mode or use a Windows installation USB to access repair tools. Without Command Prompt, your repair options are more limited, but other recovery methods like System Restore still exist.

How long do these commands usually take to run?

The time depends on your drive’s size and condition. For example, `chkdsk /r` can take several minutes to over an hour, especially on large or damaged drives. Allow each command to finish fully before proceeding.

Read more