|
| 1 | +--- |
| 2 | +title: Stop error when Windows tries to repair a drive while restarting |
| 3 | +description: This article describes an issue in which a Windows device displays a drive repair prompt when it restarts, and the system experiences a stop error. |
| 4 | +ms.date: 01/22/2026 |
| 5 | +manager: dcscontentpm |
| 6 | +audience: itpro |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.reviewer: kaushika, simonw, v-appelgatet |
| 9 | +ai.usage: ai-assisted |
| 10 | +ms.custom: |
| 11 | +- sap:backup, recovery, disk, and storage\data corruption and disk errors |
| 12 | +- pcy:WinComm Storage High Avail |
| 13 | +appliesto: |
| 14 | + - <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a> |
| 15 | +--- |
| 16 | + |
| 17 | +# Stop error when Windows tries to repair a drive while restarting |
| 18 | + |
| 19 | +## Summary |
| 20 | + |
| 21 | +When you restart a Windows device, you see a prompt to repair a drive. If you choose to repair the drive, the system displays a stop error (blue screen) that indicates that disk initialization failed. If you cancel the repair, Windows starts, but the device experiences drive errors. |
| 22 | + |
| 23 | +This article describes the symptoms that characterize this issue, explains the cause, and provides step-by-step guidance to fix the issue. |
| 24 | + |
| 25 | +## Symptoms |
| 26 | + |
| 27 | +When Windows restarts, you see a pop-up message that prompts you to repair a drive. You perform one of the following actions: |
| 28 | + |
| 29 | +- You select **Repair**. The device restarts, and then starts repairing the disk. The device experiences a stop error, and reports that the disk initialization failed. |
| 30 | +- You select **Cancel**. The device starts. Then, if you run the Check Disk tool (`chkdsk`), the tool reports errors and unmounts the drive. |
| 31 | + |
| 32 | +After either action, the system might become stuck in a cycle of repair attempts followed by blue screen errors. |
| 33 | + |
| 34 | +## Cause |
| 35 | + |
| 36 | +Typically, this issue indicates file system corruption or disk integrity problems. The corruption prevents the disk repair process from finishing successfully. In turn, the failed repair process causes system instability and repeated blue screen errors. |
| 37 | + |
| 38 | +## Resolution |
| 39 | + |
| 40 | +To resolve this issue, follow these steps: |
| 41 | + |
| 42 | +1. Back up all data on the affected drive. |
| 43 | +1. To check the health of the affected drive, open a Windows Command Prompt window on the device, and then run the following command: |
| 44 | + |
| 45 | + ```console |
| 46 | + chkdsk <X>: /scan |
| 47 | + ``` |
| 48 | + |
| 49 | + > [!NOTE] |
| 50 | + > |
| 51 | + > - In this command. \<X> represents the letter of the affected drive. |
| 52 | + > - If `chkdsk` doesn't find any issues but the symptoms persist, contact Microsoft Support for further assistance. |
| 53 | +
|
| 54 | +1. To fix the drive errors, run the following command at the command prompt: |
| 55 | + |
| 56 | + ```console |
| 57 | + chkdsk <X>: /F |
| 58 | + ``` |
| 59 | + |
| 60 | +1. If `chkdsk` can't repair the drive because the drive is mounted, unmount the drive, and then attach it to another Windows device. Run `chkdsk` at a command prompt on the new device. |
| 61 | +1. If the issue persists after the repairs finish, see [Data corruption and disk errors troubleshooting guidance](troubleshoot-data-corruption-and-disk-errors.md), or contact Microsoft Support. |
| 62 | + |
| 63 | +## Data collection |
| 64 | + |
| 65 | +Before you contact Microsoft Support, you can gather the following information about your issue. Include this information in your support request. |
| 66 | + |
| 67 | +- Windows version and edition (for example, Windows 11 Pro, version 23H2) |
| 68 | +- Device model and hardware specifications |
| 69 | +- Exact error message that you receive during the blue screen |
| 70 | +- Steps that you took before the issue occurred |
| 71 | +- Output from running chkdsk on the affected drive |
| 72 | +- Any recent changes to hardware or software, including updates and installations |
| 73 | + |
| 74 | +## References |
| 75 | + |
| 76 | +- [Check Disk (chkdsk) - Microsoft Docs](/windows-server/administration/windows-commands/chkdsk) |
0 commit comments