Startup Repair ran but could not produce a successful start. Windows displays Startup Repair couldn't repair your PC or Automatic Repair couldn't repair your PC and gives a log path ending in \Windows\System32\LogFiles\Srt\SrtTrail.txt. That path is not an error code and SrtTrail.txt is not a diagnosis. It is a report containing the tests Startup Repair ran and, sometimes, a probable root-cause line that must be verified before applying a repair.
Search the exact root-cause text, named file, and any separately displayed Recovery or stop code. Searching only SrtTrail.txt fix collapses many unrelated failures into unsafe one-size-fits-all commands.
Use this procedure when Startup Repair displays its failure message and the detected Windows installation remains readable in WinRE. It is a triage-and-branch writeup: its purpose is to preserve the report, identify the first defensible mechanism, and route to the matching repair.
Do not use it as a substitute for hardware diagnosis when the disk disappears, I/O errors recur, or independent recovery media crashes. Do not assume BCD is corrupt merely because Startup Repair failed.
The exact Windows build and original trigger may remain unknown for initial triage. The Windows volume, displayed message, last successful boot time, number of repair attempts, log's root-cause line, and any named file or code may not remain unknown.
Before you start:
- WinRE or current Windows installation media
- Command Prompt
- A writable destination for copied logs
- A consistently readable Windows volume
- Matching Windows media only if a later SFC/DISM branch requires it
From the failure screen select Advanced options > Troubleshoot > Advanced options > Command Prompt. Detect the correct Windows volume and assign it W:. Do not type commands copied from the on-screen C: path until the volume is verified.
- Do not describe
SrtTrail.txtas a Windows error code. - Do not run
bootrec /fixmbr,/fixboot, and/rebuildbcdas a ritual on every UEFI computer. - Do not delete
SrtTrail.txt; it is evidence, not the cause. - Do not disable automatic repair merely to hide the loop.
- Do not run
chkdsk /rrepeatedly on questionable storage. - Do not combine update removal, BCD recreation, registry edits, and driver deletion in one attempt.
Stop if no lead verifies, the disk is unstable, independent media fails, or each repair produces unrelated new corruption.
Check the cause
-
Photograph the complete Startup Repair screen and record the displayed log path.
-
Detect the Windows volume:
diskpart list volume select volume <Windows-volume-number> detail volume assign letter=W exit -
Verify the installation:
dir W:\Windows\System32\Config\SYSTEM -
Display the Startup Repair log:
type W:\Windows\System32\LogFiles\Srt\SrtTrail.txt -
Preserve the log before another repair attempt overwrites or appends to it:
md W:\BootRepairBackup\Srt copy W:\Windows\System32\LogFiles\Srt\SrtTrail.txt W:\BootRepairBackup\Srt\SrtTrail-before-manual-repair.txt -
Preserve adjacent logs when present:
copy W:\Windows\Logs\CBS\CBS.log W:\BootRepairBackup\Srt\CBS-before-manual-repair.log copy W:\Windows\Logs\DISM\DISM.log W:\BootRepairBackup\Srt\DISM-before-manual-repair.log -
Record these SrtTrail fields:
- Last successful boot time
- Number of repair attempts
- Each test performed and its error code
- Root cause found, if any
- Repair action and result
- Any named file, disk, volume, driver, registry hive, update, or BCD object
-
Validate the lead independently. Examples:
- If a file is named, confirm it exists and check storage before SFC/DISM.
- If BCD is named, enumerate the actual BCD store before recreating it.
- If the disk or volume is named, run a read-only file-system check and inspect hardware detection.
- If an update is named, correlate its installation date with the last successful boot.
- If the log says No root cause found, use the no-isolated-cause branch.
Branch A — The log identifies missing or invalid BCD/boot files
-
Detect the disk's GPT/MBR layout and its existing system partition.
-
Assign the system partition
S:and preserve its BCD store. -
Use FIX-004 for
0xc000000f, FIX-004 for a required-device reference, FIX-004 for invalid operating-system information, or FIX-013 whenwinload.efiis specifically named. -
Use BCDBoot against only the verified Windows and system partitions. Do not run a generic list of
bootreccommands.
Branch B — The log identifies one corrupt boot-critical Windows file
-
Confirm the volume is stable with read-only CHKDSK:
chkdsk W: -
If stable, run offline SFC:
sfc /scannow /offbootdir=W:\ /offwindir=W:\Windows -
Use FIX-066 for a checksum mismatch or FIX-066 when
ntfs.sysis named. Use matching installation media if DISM requires a source.
Branch C — The log correlates with a failed update or servicing action
-
Prefer Advanced options > Uninstall Updates and first remove the latest quality update when the timeline supports it.
-
Use System Restore when a restore point immediately precedes the change.
-
Preserve CBS and DISM logs. Do not use
revertpendingactionsunless the servicing evidence demonstrates a stuck pending transaction and ordinary WinRE removal/restore paths fail.
Branch D — The log or dump identifies a third-party driver
-
Try Safe Mode.
-
Roll back or uninstall the owning device/application through supported tools.
-
Use FIX-027 when a specific boot-start driver or filter is proven.
-
Do not delete the
.sysfile manually.
Branch E — The log identifies file-system or storage errors
-
Confirm the disk remains consistently visible.
-
Run read-only CHKDSK first:
chkdsk W: -
Use
chkdsk W: /fonly for demonstrated logical errors on a stable device. -
Stop and image/diagnose the device when the log or CHKDSK reports I/O errors, unreadable sectors, or repeated corruption.
Branch F — The log says “No root cause found” or its lead does not verify
-
Use System Restore to the latest point before the last successful boot, if available.
-
Try Safe Mode. If it starts, collect Reliability Monitor, Event Viewer, driver, and update history before removing anything.
-
Run read-only CHKDSK, then offline SFC only after the storage path is stable.
-
Disconnect nonessential external devices and test once.
-
If crashes vary or files repeatedly corrupt, return firmware settings to documented defaults and test RAM under FIX-028.
-
If no branch produces a verified cause, preserve data and escalate to an in-place repair or reinstall decision. Do not continue stacking unrelated commands.
Check the result
-
Windows starts normally twice and cold-starts once.
-
A specific underlying mechanism and corrective action are recorded.
-
Startup Repair no longer launches automatically.
-
The original SrtTrail and related logs are preserved.
-
Storage and memory are stable when they were implicated.
-
No unrelated boot configuration was changed.
-
A named cause verifies and its matching repair works: Record the actual mechanism, not “SrtTrail fixed.”
-
SrtTrail names a file but SFC and storage checks are clean: Treat the line as an unsuccessful hypothesis and continue diagnosis.
-
Startup Repair runs again and creates the same report: Do not repeat it indefinitely.
-
The screen changes to a specific Recovery code: Follow the new code, exact message, and file.
-
No root cause is found but System Restore works: The prior state is restored even though Startup Repair did not isolate a component.
-
The disk becomes unstable: Stop software repair.
To undo the change:
Rollback belongs to the selected branch: restore the saved BCD for boot changes, use System Restore for driver/update changes, or restore the verified image for file-system changes. The copied SrtTrail, CBS, and DISM logs are evidence and should not be copied back over current logs.