Note! In each method, this article uses the boot drive with the recorded operating system Windows 10. Complete information on how to create it, is available at the link below.
Details: Creating a bootable USB drive with UEFI Windows 10
Method 1: Disable recovery means
When the system experiences a failure, the subsequent restart the computer, in most cases, run the integrated recovery tool. However, in the case of an error caused by file «SrtTrail.txt», namely it causes BSOD (blue screen of death). In such situations, you need to try to deactivate the automatic recovery tools start.
- Connect to a computer / laptop drive with recorded windose 10 operating system.
- Restart the OS and boot from a carrier prepared by «Boot menu». If you do not know what kind of button is called «Boot menu», please read the link below.
Read more: Installation Guide Windows 10 from USB flash drive or disk
- Boot from the prepared disc or USB drive, select the first menu the appropriate language. After use the "Next" button.
- Then click the left mouse button on the line "System Restore."
- In the next menu, select "Troubleshooting."
- After that, select "Command Prompt".
- The equipment list the opened window, or copy the following command, and then press «Enter» to its processing:
bcdedit / set {default} recoveryenabled No
If done correctly, you will see a message about the successful completion of the operation.
- Then close the utility window and click "Continue" in the next menu.
- At this time the system boots normally and without error. If you will need to re-enable the recovery tool, run the "command line" on behalf of the administrator and run the following command here in it:
bcdedit / set {default} recoveryenabled Yes
Method 2: Recovery loader
Sometimes the system gives an error message with «srttrail.txt» file due to a damaged bootloader. In this case you should try to update repository loader configuration and update the MBR and boot sector.
- Perform the first six steps described in the previous method. Your goal is to run the "command line".
- The utility window that opened window should be alimply enter several commands specified below. Do not forget to press "ENTER" after entering each of them for processing.
BootRec / RebuildBCD.
bootrec / fixmbr
BootRec / FixBoot
- If you will see an access refusal message in the BOOTREC / FixBoot command processing, run the BootSect / NT60 SYS command, and then return to the bootrec / fixboot command.
Method 3: Restore Registry Key
By default, backup copies of the registry entry are automatically created in Windows 10 every few days. Since the error with the file "SRTTRAIL.TXT" is often associated with its keys (OS, drivers, and so on), try copying data from backups.
Note! If the problem arose on a computer with a newly installed Windows 10 OS, this method will not help. In this case, the backup copies will be simply absent.
Registry recovery looks like this:
- Run the "Command Line" snap-in using the boot drive, as described in the first method.
- In the window that opened the following command:
Xcopy C: \ Windows \ System32 \ Config \ RegBack C: \ Windows \ System32 \ Config
If successful, you will see a message indicating the number of copied files.
- Close the snap and restart the computer / laptop. After that, the problem should disappear.
Method 4: Disable ELAM
ELAM (Early Launch Anti-Malware) is a kind of virus protection, which starts at the OS load stage. Periodically, it can calculate the driver files dangerous, which leads to the error "srttrail.txt". In such situations, try to disable ELAM.
- Restart the system. During the launch, press "F8". These actions must call a menu with different download options. If it fails to do this for some reason, boot from the installation drive and call the "Command Line". In it, write and process the following command:
BCDEDIT / SET {GlobalSettings} AdvancedOptions True
- After that, close the utility and restart the device again. Now the right menu will be called automatically each time the OS starts. After the menu appears with different options for downloading the system, press the "8" key.
- As a result, the system will boot without the participation of ELAM protection. It is likely that the problem will be solved.
Method 5: Check system files and components
In the latest version of the OS there are utilities that scan system components and files automatically correcting errors in case of detection. To apply the method, you need to do the following:
- First of all, run the system in "Safe Mode". Since the error with the file "SRTTRAIL.TXT" does not allow you to log in to the usual way, you will have to boot from the installation drive, run the "command line" and process the command specified in the previous method, after which the system restart.
- In the download mode selection window, press the "6" key. Checking the system is also performed in the "command line", but it must be run directly from the OS, and not from the installation media.
- In the window that opens, use the SFC / SCANNOW command. Her processing takes time. It is important not to close the utility until the end of the inspection.
- Upon completion of the operation, process another command:
DISM / ONLINE / CLEANUP-Image / RESTOREHEALTH
- It takes even more time than the previous procedure. At the end, do not close the "command line", otherwise you can restart the system only physically. Instead, run the shutdown -r command.
- During the restart, a window will appear with launch options. In it just click "ENTER". Entering the system, call the "Command Line" on behalf of the administrator. To do this, simply click on the search icon, enter the CMD query and select the option from the resulting results shown in the screenshot number 3 and 4.
- In the window that opens, execute the BCDEDIT / DELETEVALUE {GlobalSettings} AdvancedOptions command.
- More window with a choice of download option will not appear with each OS start. Error related to the SRTTRAIL.TXT file should also disappear.