How to fix Automatic Repair couldn't Repair your Pc in Windows 7/8/10 system restore

Using System Restore options Automatic Repair Couldn't repair your pc

Windows 7/8/10 automatic repair failed
Windows 7/8/10 automatic repair loop 2018/2019
Windows 7/8/10 automatic repair your pc did not start correctly
Windows 7/8/10 automatic repair black screen

Preparing automatic repair error in windows 7/8/10
Can't launch windows 7/8/10
D:windowssystem32logfilesStrStrTrail.txt
C:windowssystem32logfilesStrStrTrail.txt

source
how to repair windows 7