PC Error Codes Look up a code
One safety rule: if a message shows a phone number to call, it is a scam: Microsoft never does that. Check any warning in 5 questions.

Home › PC Won't Start and BitLocker Recovery › Startup Repair Failed and Mentions SrtTrail.txt: What Now

Startup Repair Failed and Mentions SrtTrail.txt: What Now

By Editorial Team · · 8 min read

Startup Repair has given up and left a message that points to a file called SrtTrail.txt. That file is only the log Startup Repair wrote about what it tried. This message does not mean your files have been wiped, and the file itself is not the fault.

This page explains what that log actually says, in plain words, and how to pull out the one clue that might matter. You do not need to understand every line in it, and you will not be asked to type a long list of commands.

If the log does not point to a simple answer, work through two steps in order. First, go back to a restore point from before the problem. If that does not work, repair Windows with a repair install, which replaces damaged Windows files while trying to keep your files and apps.

What SrtTrail.txt actually is

SrtTrail.txt is a plain text log that Startup Repair writes as it works. You will find it at C:\Windows\System32\Logfiles\Srt\ on the Windows drive. Inside, Startup Repair lists each check it ran, what it found, and the point where it stopped because it could not fix the problem itself.

The file did not cause the failure, and it is not a virus. It is more like a mechanic's worksheet than the broken part in the engine. Deleting SrtTrail.txt removes the record, but it does not repair anything, and Windows will just write a new one the next time Startup Repair runs.

What the message does mean is narrower than it sounds. Windows could not repair the files it needs to start up, so Windows itself will not load normally. That is different from your personal files being gone. Your photos, documents, and other files are not erased by this message, even though you cannot reach them in the usual way yet.

Windows 10 and Windows 11 use the same Startup Repair tool, the same message, and the same log file in the same place. If a guide or a forum post mentions one version, the explanation of SrtTrail.txt still applies to the other.

How to read the log in plain English

Reading the log is optional. You can skip it and go straight to the restore point in the next step, and you will not miss a fix. Open it only if you want one clue about what failed, such as a named startup file or a test that did not pass. There is no answer hidden in it that you have to decode first.

From the recovery screen, select Troubleshoot, then Advanced options, then Command Prompt. You may need to select your account and enter your password first. When the black window opens, type notepad C:\Windows\System32\Logfiles\Srt\SrtTrail.txt and press Enter, and the log will open in Notepad.

Inside, look for the words "Root cause found" near the end, and for any test marked as failed. In Notepad, you can press Ctrl and F together and search for "failed" to get there faster. Write down the exact file name or error code on that line, word for word and number for number. That note is useful if you later ask for help.

Most of the log will look dull, and that is normal. Line after line records checks that passed, so a long log does not mean the damage is worse. One failed test matters more than dozens of passed ones, so stop once you find it and move on.

Step one: go back to a restore point

Start from the blue recovery screen where Startup Repair showed the SrtTrail.txt message, and select Troubleshoot, then Advanced options, then System Restore. If Windows asks you to sign in, use your normal account and password. System Restore will then show the restore points saved on this PC, each with a date, a time, and a short note about what changed then, such as an update or a new driver.

Pick the newest restore point dated before the PC stopped starting, often one from the day of an update, a driver change, or the day before. Check the date carefully, select the point, then select Next and Finish, and read any list of programs affected before you confirm. If the list is empty and no point is shown, do not try Startup Repair again, and move on to step two.

This step puts Windows itself, its drivers, and installed programs back to how they were on the date and time you picked. It does not roll back your personal files, so photos, documents, downloads, and email stay as they are now, in the same places, not moved or deleted. A program you installed after that date may be removed, but you can install it again later once Windows starts normally.

Plug a laptop into power first and leave it plugged in until the PC restarts. Most restores take 20 to 45 minutes, an older PC may take longer, and the screen may sit still for a while, so do not switch it off if it looks stuck. If Windows still will not start after the restore finishes, stop here and move on to step two instead of running it again.

Step two: repair Windows with a repair install

Step two: repair Windows with a repair install

When damaged system files keep Windows from starting, a repair install replaces them with fresh copies from Microsoft. Your photos, documents, and other personal files stay in place, and so do the apps you have installed. That makes it different from a fresh install, which erases the drive and leaves you to set up everything again.

You will need Windows setup files, and if this PC does not have them ready, use another working PC to make a USB drive. Go to Microsoft's download page for the version this PC runs, Windows 10 or Windows 11, and download the setup tool from Microsoft only. Use a blank USB drive, because Setup will erase it.

Insert the USB drive into this PC, start the PC from it, and run Setup, choosing Install now if Setup shows that button. Follow the language and setup screens in order, and accept the license terms if you agree to them. Stop at the screen that asks what you want to keep, and read every choice before you continue.

That screen must offer "Keep personal files and apps." Select it, check that the words personal files and apps both appear, and only then start the install. If that choice is not offered, cancel Setup and remove the USB drive. Do not pick another choice just to keep going.

Keep the PC plugged into power for the whole repair install, and leave it alone while it works. Most PCs take about 45 minutes to 2 hours, and an older PC may take longer. The PC will restart several times, and the screen may stay dark for a while.

When Windows starts again, sign in and check the basics first. Open a few photos and documents, open the apps you use most, and check that sound and the internet work. Then open Settings, run Windows Update, install what it offers, and restart the PC if it asks.

A laptop with a USB setup drive plugged in, showing the Windows Setup choice to keep personal files and apps during a repair install | PC Error Codes
Step two: repair Windows with a repair install | PC Error Codes

What not to do with this error

Do not do this

Do not download a tool that promises to fix SrtTrail.txt. Driver updaters and registry cleaners cannot repair Windows startup, and some add charges or extra problems. Close any pop-up that offers paid remote help, and do not pay for it.

Do not do this

Do not run long lists of copied boot, disk, and scan commands from videos or forum posts. A command meant for a different PC or cause can change the wrong setting and make recovery harder. This page does not use them for that reason. If a command changes the wrong thing, there is no simple way to undo it.

Do not do this

Do not delete the log, keep looping through Startup Repair, or reset the PC as a first response while gentler options remain. The next runs will meet the same damaged files, and a reset can remove programs or files and cannot be undone.

If neither step works: protect your files and choose the next move

If a restore point and a repair install did not get Windows starting, do not move straight to a reset or a clean install. Copy your photos, documents, downloads, and desktop files to an external drive first, before any bigger repair and before the PC goes to a shop.

If you have not tried it, our Safe Mode guide covers a limited way into Windows that may still let you copy files. Our Automatic Repair loop and Reset This PC guides cover those routes in full, for use after your backup is done.

Listen for hardware trouble, too. Clicking or grinding sounds from the drive, or the same startup failure returning soon after a repair, can point to a failing drive. Reinstalling Windows again will not fix that, and repeated tries can make file rescue harder.

That is a good stop point for a local repair shop. Take the exact wording from SrtTrail.txt, including any root cause line you noted. Ask for a file backup first and a written quote before the shop replaces a drive or reinstalls Windows.

Conclusion

That message looks final, but it says less than it seems. Startup Repair stopped, it left a log, and that is all you know so far. Your next move does not need to be drastic, and it does not need a pile of copied commands.

Work in the order on this page. Try the gentler fix first, and only move on if Windows still will not start. If both fail, protect your files before you try anything bigger. That pause can be the difference between a repair and a loss you cannot undo.