• September 28, 2023

BSOD indicating SrtTrail.txt file in Windows 10, 11

Usually errors occur due to dll files or other executable libraries and almost never due to txt files. This case is an exception to the rule, because the Srttrail.txt file not only causes a crash, but also a blue screen of death. The error message specifies the path C: /windows/system32/logfiles/srt/srttrail.txt. Notably, the error most often occurs when trying to start Windows 10 recovery. It can also be related to BSOD MACHINE_CHECK_EXCEPTION. The situation is unpleasant, but quite fixable. Here are the procedures that should take the operating system out of a faulty state.

Error message:

Startup recovery

Startup Repair failed to repair your computer

Click Advanced Options to try other recovery options, or shutdown to turn off your computer.

Log file: C: /Windows/System32/Logfiles/srt/Srttrail.txt

What is this SrtTrail.txt file?

SrtTrail.txt is a log file that records information if the automatic recovery of the operating system fails. The developers themselves offer 2 ways out of the situation: use additional recovery options or shut down the system. The first option involves switching to safe mode to solve the problem. Unfortunately, in most cases, users cannot take advantage of this advice as they get stuck in an endless reboot loop.

Reasons for the error

In practice, the Srttrail.txt file can appear in the BSOD window due to both hardware and software problems. Several users claimed that they got an error after connecting a GTX 1050 Ti graphics card, but the problem may also lie in the incompatibility of devices, software, or excessive load on the power supply.

It is also known that MACHINE_CHECK_EXCEPTION with a link to the Srttrail.txt file may be the result of problems in updating Windows 10 with code 1809. Many people began to encounter an error after installing this version of the upgrade.

How to fix BSOD Srttrail.txt on Windows?

The following methods are based on what worked for other users, which means they have a good chance of helping you too.

1) Disable Secure Boot

If the message “Automatic Repair cannot restore your computer” appears, it is worth starting the solution by disabling the “Secure Boot” option in the BIOS.

Here’s a step-by-step guide:

  1. We restart the computer and at the time of boot, go to the BIOS. There should be a hint at the bottom of the screen which button to press. Usually you need to use Del, F2, F10.
  2. See the section “Security” (Security) or may be called “Boot Option” (Boot Option).
  3. We are looking for the element “Secure Boot” and disable it.
  4. We go to the initial screen, save the changes and restart the computer (mostly you need to press F10).

bsod SrtTrail.txt

2) Start the mode with disabled driver signature control

Disabling Driver signature enforcement is also occasionally triggered. In this mode, it is highly likely that the operating system will boot, even if it hangs on BSOD during normal startup.

What should be done:

  1. We start the computer and at the same moment that you need to select the BIOS, press the key to display the “Boot Option”. A similar option can be found in the “Advanced Options” section after the BSOD appears.
  2. Press the F7 or 7 key.
  3. If the system starts normally, disable driver signature verification. To do this, enter 2 commands sequentially: bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS and bcdedit -set TESTSIGNING ON.
  4. To enable verification, you need to enter the same commands, but replace ON at the end with off.

bsod SrtTrail.txt

3) Recover BCD and MBR

The idea is to return the boot records to a working state and for this we need the command line. The easiest way to access it is when you boot your computer from an installation flash drive or disk, and then go to “System Restore”.

Further actions:

  1. Go to the “Advanced Options” section and select “Command Prompt”.
  2. Most likely now you will need to enter a password.
  3. We enter 3 commands one after the other: bootrec.exe / rebuildbcd, bootrec.exe / fixmbr, bootrec.exe / fixboot
  4. Now we can check the result.

bsod SrtTrail.txt

4) Check the disk, system

It is advisable to check the status of the disk and correct errors on it. The procedure is also performed on the command line, and we already know how to enter it from the example from the last paragraph. After that, all that remains is to enter chkdsk / rc:… It is only important not to miscalculate with the letter of the section. To find out exactly the letter of the Windows drive, you need to enter diskpart, and then list volume. After detecting the system disk, it remains only to enter Exit and apply the command above.

If that doesn’t work, we can try checking the system files. Chances are high that they are the problem. Command to start scanning dism.exe / Image: D: / Cleanup-Image / Restorehealth, only instead of D you need to specify your system drive letter. To complete the repair of the system, we additionally enter SFC / SCANNOW / OFFBOOTDIR = D: / OFFWINDIR = D: Windows

bsod SrtTrail.txt

5) Deploy system backup

If a Windows backup has been performed in the recent past, either automatically or manually, the restore process can be carried out.


  1. Open the command line (again through the recovery mode when booting from the installation media).
  2. In the window, enter C: and press Enter.
  3. We hammer the team cd c: \windows \system32 \config \ and again Input.
  4. Introduce md backup (after each command, press Enter).
  5. Now we drive in Copy *. * Backup, and then md backup1p
  6. Insert Copy *. * backup1, Further – cd regback
  7. In turn, we enter dirfollowed by Copy *. * .. and in the end All
  8. It remains only to get out – Exit and restart your computer.

What else might work?

There are several additional treatments that can help too. We just won’t describe them in detail.

Additional suggestions from the forums:

  • Take advantage of automatic reset. We will see this parameter in Windows recovery mode when booting from the installation media. There is an item “Reset this computer”, activate it.
  • Turn off automatic boot recovery. BSOD with a link to the SrtTrail.txt file always appears due to the fact that Windows automatically tries to start the procedure every time. We can break the cycle with a team bcdedit /set {default} recoveryenabled No., it needs to be inserted into the console.
  • We restore the registry. If the problem is in the registry key, it’s easy to fix it with a rollback. In most Windows, the registry is automatically backed up. To use the backup, you need to enter into the console copy c: windowssystem32configRegBack * c: windowssystem32config and press Enter.
  • Disconnect all USB devices at startup.
  • We check that the drive with Windows is used as a priority. If the BIOS in the “Boot” section is set to priority on another disk or flash drive, an error may appear because of this.
  • We remove and re-insert the RAM strips. Naturally, you must first turn off your computer.

The BSOD associated with the SrtTrail.txt file must be fixed as a result of one of the manipulations, because we fixed all the main Windows problems that could prevent it from loading. The most recent and most drastic solution is to reinstall the operating system, but it shouldn’t come to that.

Leave a Reply

Your email address will not be published. Required fields are marked *