1. What is log file c /windows/system32/logfiles/srt/srttrail.txt
The “srttrail.txt” file you mentioned is associated with the System Resource Usage Tracking (SRT) feature in Windows. This file is often generated when there are issues with the startup process of your computer.
If you encounter problems during the startup of your Windows operating system, the system may automatically generate a log file called “srttrail.txt” in the “C:\Windows\System32\LogFiles\Srt” directory. This log file contains information about the actions taken by the SRT feature to resolve startup issues.
2. How to fix log file c /windows/system32/logfiles/srt/srttrail.txt
Method 1:
Boot to recovery options, troubleshoot, advanced, command prompt and run a chkdsk /f on C drive presuming that is where Windows is installed, ALT + F10 or hold shift while powering on.
The cmd prompt from there will open on a X:\Sources> prompt , that is a ramdrive so you do not want to run the chkdsk on that – change that to a C: prompt by typing
C:
and press enter if you get this: The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another process. Chkdsk may run if this volume is dismounted first.
ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to for a dismount on this volume? (Y/N) Type Y
The cmd prompt from there will open on a X:. change the X: to a C: prompt by typing C:
Type chkdsk /f
if you get this: “The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another process. Chkdsk may run if this volume is dismounted first.
ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to for a dismount on this volume? (Y/N) Type Y” type Y
Method 2:
Try to recover Windows boot using external installation media, following this method (Use the Startup Repair function):
https://support.microsoft.com/en-us/windows/rec…
On the Advanced Options screen, choose Command Prompt. Type the following and press Enter:
chkdsk /f /r D: [where D is the system drive letter]
A system partition scan/repair will be performed.
When the disk check is complete, use the following commands (at the command prompt) to recreate the BCD store (press Enter after each command):
- bootrec / scanos
- bootrec / rebuildbcd
- bootrec / fixmbr
- bootrec / fixboot
Restart your computer and check if it is fixed.
Method 3:
Boot into command prompt
The easiest way to do that is to hit F8 when your PC boots up for the advanced startup options. Follow the steps below
Click on Advanced Option
You should now get this and boot into command prompt:
Next, Windows 8 will open a command prompt. We’re now going to “cd” – change the directory to our regular C or D drive
Now cd into the System32/Logfiles folder:
To open a text file from command prompt simply enter the text file name into the command prompt, alternatively add a leading “notepad.exe” without the quotes if you insist but it should work like this