
Your Device Ran Into a Problem and Couldn’t Be Repaired: Windows 11 and 10 Fixes
Share your love
If Windows says “Your device ran into a problem and couldn’t be repaired,” open the recovery options and choose a repair that matches what happened before the failure. A recent update, driver change, damaged system file, or boot configuration problem can require a different solution.
The message does not automatically mean that your files are lost or that you must reinstall Windows. This guide explains how to troubleshoot the error in Windows 11 and Windows 10, starting with the built-in recovery tools and moving to command-line repairs only when they are appropriate.
Quick answer: what should you try first?
Disconnect unnecessary USB devices, keep your laptop connected to power, and open Troubleshoot > Advanced options. If the problem started immediately after an update, try uninstalling that update; otherwise, consider Startup Repair, Safe Mode, or an available System Restore point.
Before changing partitions, repairing the file system, or resetting Windows, check your backup and BitLocker recovery key. If the drive disappears from the firmware settings, makes unusual clicking noises, or has become extremely slow, prioritize your files and investigate the drive before continuing.

You can also read the original German version of this guide on Windows-FAQ.de.
Diesen Artikel auf Deutsch lesenWhat does “Your device ran into a problem and couldn’t be repaired” mean?
This message means that Windows could not complete recovery from a startup problem. It describes the result of the repair attempt, but does not identify a single underlying cause.
You might also see “Automatic Repair couldn’t repair your PC” or “Startup Repair couldn’t repair your PC.” These messages concern failed startup repair, while “Your device ran into a problem and needs to restart” is a Windows crash message that may include a stop code.
A crash can lead to a repair loop, so both types of message can appear on the same computer. Photograph any stop code and note whether the failure followed an update, a new driver, a power interruption, or a disk replacement.
Which repair matches your symptoms?
Use the last successful startup and the most recent change to narrow down the problem. The following table suggests a starting point, rather than a list of repairs that every PC needs.
| What happened? | What to investigate | First useful action |
|---|---|---|
| The error began after a Windows update. | The recently installed update. | Use Uninstall Updates in the recovery menu. |
| Windows stopped starting after a driver or application change. | The changed driver, service, or application. | Try Safe Mode or System Restore. |
| The problem appeared after cloning or replacing an SSD. | Boot order, copied partitions, and boot files. | Check the intended Windows Boot Manager entry. |
| Automatic Repair repeats with no obvious recent change. | System files, repair logs, and storage health. | Open Advanced options and record the available error details. |
| The drive is intermittently missing or repair attempts are unusually slow. | A possible storage or connection problem. | Prioritize a backup or data recovery assessment. |
Before you start: check your files and BitLocker key
Remove external storage, printers, and other accessories that are not needed for recovery. Keep essential input devices connected and use the laptop’s power adapter throughout the process.
If the recovery screen offers a normal shutdown option, use it before disconnecting devices and restarting once. A forced shutdown is a fallback for an unresponsive computer, and you should avoid interrupting an update, firmware installation, or repair that is still progressing.

Locate your BitLocker recovery key
BitLocker or device encryption may require a 48-digit recovery key before Windows can access the encrypted installation. Your sign-in password or Windows Hello PIN does not replace that key.
Check the Microsoft account used to set up the PC, a saved copy, or a printout, and match the recovery key ID shown on the screen. For a managed work or school device, contact your IT team; Microsoft’s guide explains where to find your BitLocker recovery key.
If important files are not backed up and the drive seems unreliable, get help recovering them before attempting repairs that write to it. Resetting an inaccessible encrypted installation is not a way to preserve or unlock those files.
1. Open Windows Recovery Environment
Windows Recovery Environment, also called Windows RE or WinRE, contains the tools used in the following steps. On the error screen, follow the prompt for more recovery options or select Advanced options if that button is available.
If you can reach the sign-in screen, hold Shift while selecting Power > Restart. Then choose Troubleshoot > Advanced options.
If neither route is available and Windows cannot finish starting, you can trigger Automatic Repair by interrupting startup twice. Let the third startup continue:
- Turn on the PC and wait for the Windows or manufacturer logo.
- Hold the power button until the computer switches off.
- Turn it on and interrupt startup once more.
- Start the PC a third time without interrupting it, then open Advanced options when recovery appears.
If the recovery menu still does not appear, use a working computer to create a Windows 11 bootable USB for a compatible Windows 11 PC.

Boot the affected computer from the appropriate installation media and select Repair my PC or Repair your computer, depending on the setup version.
2. Try Startup Repair and check any offered recovery solution
Startup Repair examines common problems that can prevent Windows from loading. Open Troubleshoot > Advanced options > Startup Repair and follow the prompts, including any request for your recovery key.
Let the repair complete and test whether Windows starts. If the same attempt has already failed repeatedly, move to a repair that fits your symptoms instead of running the identical process indefinitely.
What about Quick Machine Recovery?
Supported, updated Windows 11 installations can also offer Quick Machine Recovery. It uses a network connection to look for a Microsoft repair for a known, widespread startup issue, and is available on supported Windows 11 version 24H2 and later systems.
If no solution is available, you can continue with the other recovery options. Microsoft explains the available approaches in its Windows recovery options overview.
3. Uninstall a recent Windows update
If Windows stopped starting immediately after a monthly update, removing that update is a useful first targeted repair. In the recovery environment, follow these steps:

- Open Troubleshoot > Advanced options.
- Select Uninstall Updates.
- Choose Uninstall latest quality update.
- Complete the prompts and restart the PC.
If the problem followed an upgrade to a different Windows version, consider Uninstall latest feature update when that option is available. Some updates cannot be removed, and version rollback depends on the required recovery files still being present.
After a successful startup, identify the update and check for a corrected release or a documented workaround. Avoid repeatedly reinstalling an update that immediately reproduces the failure.
4. Use Safe Mode to investigate drivers and software
Safe Mode starts Windows with a limited set of services and drivers. A successful Safe Mode startup helps narrow the investigation, although it does not prove that one particular driver caused the problem.

- Open Troubleshoot > Advanced options > Startup Settings.
- Select Restart.
- Press 4 or F4 for Safe Mode, or 5 or F5 for Safe Mode with Networking if you need it.
Start with the change that immediately preceded the failure. For a recently updated driver, open Device Manager, select the device, and check Properties > Driver > Roll Back Driver if a previous version is available.
Recently installed applications or services may also need attention. Change one relevant item at a time, restart normally, and avoid removing storage or encryption drivers without understanding their role.
5. Use System Restore if a suitable restore point exists
System Restore can undo changes to system files, installed programs, drivers, and settings without reverting your personal documents. It requires an existing restore point from before the startup problem.

- Select Troubleshoot > Advanced options > System Restore.
- Choose a restore point created before the error appeared.
- Use Scan for affected programs if it is offered.
- Confirm the restoration and allow the PC to restart.
Read the name of the selected recovery feature carefully. Some newer systems also offer Point-in-time restore, which can roll back personal files as well as applications and settings; it has different consequences from System Restore.
6. Find the Windows drive and inspect SrtTrail.txt
If the menu-based repairs do not help, open Troubleshoot > Advanced options > Command Prompt. Drive letters can change in WinRE, so confirm the installed Windows location before using any repair command.
The following commands check several possible locations. Run them separately and look for the Windows installation you intend to repair:
dir C:\Windows
dir D:\Windows
dir E:\Windows
Check for the matching Users and Program Files folders as well, particularly if the PC contains more than one Windows installation. The X: drive commonly belongs to the recovery environment itself.
An inaccessible encrypted drive must be unlocked before you can inspect it properly. An access error does not by itself mean that the Windows folder or your files have been deleted.
Open the Startup Repair log
The usual log location is C:\Windows\System32\LogFiles\Srt\SrtTrail.txt, with the drive letter adjusted for your recovery session. For example, if the installed Windows folder is on D:, open it with:
notepad D:\Windows\System32\LogFiles\Srt\SrtTrail.txt

Look for details about failed tests, repair attempts, or a named file. SrtTrail.txt is a diagnostic report, so deleting it does not fix the startup problem it describes.
7. Repair system files with offline SFC
System File Checker can inspect an installed Windows system while it is offline. Its parameters must point to the correct Windows directory and offline boot directory.
The following example applies only when the offline boot directory is D:\ and the Windows installation is D:\Windows. Confirm those paths before entering the command:
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
A layout with a separate boot or system partition may require a different path for /offbootdir. Microsoft documents the parameters in its SFC command reference; do not treat the example letters as values that fit every PC.
Allow the scan to complete and record the result. If SFC cannot run or repair the files, investigate the reported error rather than trying random drive letters or assuming that the scan repaired Windows.
8. Check the file system after protecting your data
File system errors can stop Windows from reading files needed during startup. On an accessible drive without signs of physical failure, you can begin with a check that does not request repairs.
This example checks the Windows volume identified as D: in WinRE. Replace that letter with the one you verified:
chkdsk D:
If file system errors are reported and your important data is backed up, /f requests a repair. The command for the same example volume is:
chkdsk D: /f
The /r option additionally checks for bad sectors and attempts to recover readable information, and already includes /f.

It can take a long time and is not a routine next step for every startup failure.
CHKDSK repairs the file system; it does not fix failing SSD electronics or replace a storage health assessment. If the drive keeps disappearing or errors return after repair, stop treating the problem as a Windows configuration issue.
9. Investigate boot files after SSD cloning or partition changes
If the problem began after cloning a disk, first check that the firmware is trying to start the intended Windows Boot Manager entry. Keep the installation’s original boot mode, because switching between UEFI and Legacy does not automatically repair missing boot files.
BCDBoot can recreate boot files, but this is an advanced repair that requires the correct Windows installation and system partition. A small FAT32 partition is not enough evidence by itself, especially when several drives are connected.
Identify the EFI system partition before changing anything
On a UEFI/GPT installation, inspect the disks and partitions with DiskPart. In this example, replace N with the verified disk number and P with the candidate partition number; enter each line separately and inspect the output before continuing:
diskpart
list disk
list volume
select disk N
detail disk
list partition
select partition P
detail partition
Confirm that this is the intended boot disk and that the partition has the EFI system partition type, identified on GPT disks by c12a7328-f81f-11d2-ba4b-00a0c93ec93b. Check that its associated volume uses FAT32 and that your proposed temporary letter is unused. If the layout is unclear, stop here and get help; do not delete, format, or convert partitions to make them resemble an example.
After confirming the correct EFI partition, you can assign it an unused temporary letter. If S: is free and the verified partition is still selected, use:
assign letter=S
exit
The next example assumes Windows is at D:\Windows and the verified EFI system partition is S:. Under those conditions, the command copies UEFI boot files to that partition:
bcdboot D:\Windows /s S: /f UEFI
Using /s does not create a new Windows Boot Manager firmware entry in UEFI NVRAM. Microsoft’s BCDBoot documentation explains that distinction, which matters if the firmware entry itself is missing.
Restart and check whether Windows loads after the repair. A successful file copy does not prove that the firmware configuration, storage device, and Windows installation are all healthy.
10. Reset Windows when the appropriate repairs have failed
If Windows still cannot start and there is no suitable recovery option left, Reset this PC may be necessary. Back up accessible files first and understand what the selected option removes.
- Open Troubleshoot > Reset this PC.
- Choose Keep my files if you want Windows to retain your personal files.
- Select Cloud download or Local reinstall when offered.
- Review the changes and follow the remaining prompts.
Keep my files reinstalls Windows but removes applications and settings. Remove everything also removes personal files, and neither option repairs defective hardware.
Cloud download can help when the local installation files are damaged. Allow the reset to finish without forcing a restart, even if the screen stays black for a while.
If a clean installation becomes necessary, check your Windows license and activation information and select the correct edition. Back up your files before proceeding, because a clean installation can remove personal files, applications, and settings, and deleting or formatting a partition erases the data on it.
What to check after Windows starts again
Back up important files before making further changes, then review the update or driver that preceded the failure. If you want to check the repaired installation, open Command Prompt as administrator in a normally running Windows session.

Run DISM first and wait for it to finish successfully. Then run SFC to check protected system files:
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Here, /Online means the currently running Windows installation, not an internet connection. It does not automatically target your installed copy of Windows when entered from the recovery environment.
Safe Mode may not provide the services or repair sources needed for the same DISM workflow. If DISM reports a missing source or another error, resolve that specific issue before treating the repair as successful.
Check available updates and confirm that your security protection is active again, especially if troubleshooting involved security software. Our guide explains how to check and enable Microsoft Defender Antivirus when it is your chosen antivirus.

FAQ: Windows couldn’t repair your PC
Does this error mean my files are gone?
No, a failed startup repair does not automatically mean that your personal files have been deleted. Their recoverability depends on the drive’s condition and whether you can unlock it, so protect accessible files before attempting a reset or further disk repairs.
What should I do if Automatic Repair keeps looping?
Open the recovery options and choose a repair that matches the likely cause, such as uninstalling a recent update or applying an existing restore point. Repeating the same restart without changing anything usually provides little new information.
Is SrtTrail.txt the cause of the problem?
No, SrtTrail.txt is the Startup Repair log. Its contents may help identify a failed test or repair, but the presence of that filename on the screen does not diagnose the underlying fault.
Why is Windows on D: in the recovery environment?
WinRE can assign drive letters differently from your normal Windows session. Check the actual Windows installation and boot partition before using commands with an explicit drive letter.
What if recovery cannot connect to the network?
A recovery network error does not establish that Wi-Fi caused the original startup failure. Online recovery may need a connection to retrieve a fix, while tools such as System Restore or removing an installed update can remain useful without that download.
Can I repair an encrypted drive without the BitLocker key?
If the drive is locked and requires recovery, you need the appropriate recovery key or another valid way to unlock it. Reinstalling Windows does not decrypt the old files, so locate the key before taking actions that could erase the installation.
How long should a Windows repair take?
There is no fixed duration that applies to every PC, because the tool, drive size, number of files, and storage condition all matter. Long scans or a temporary black screen during a reset do not by themselves prove that the process has failed.


