I am also facing the same issue on my device. I am using Windows 10 and it is showing Windows 10 Preparing Automatic Repair Error. How can I solve it?