Automatic Repair is a Windows utility that fixes boot related problems on your computer. It usually runs automatically whenever it detects a boot related issue on your computer. But, some Windows users are complaining about an error they are facing on their device, stating “Automatic Repair couldn’t repair your PC“. If you are facing this same issue on your device, don’t worry. Follow these easy fixes, which will surely help you out.
Note:
A. To try all these solutions, you will need the Windows 10 USB drive. In case there aren’t any available near you, you have to create a bootable installation media. Once you have created the bootable installation media for your device, go for these fixes.
B. In these fixes, you need to run some commands in Command Prompt in Troubleshooting mode. To open Command Prompt in Troubleshooting mode follow these easy steps-
1. At first, you need to plugin the installation media you have created (or the Windows 10 installation DVD) and set your language preferences and click on “Next“.
2. Now, click on “Repair your computer” on the bottom left corner of the recovery environment.
3. When the Troubleshooting appears, you have to click on “Advanced options“.
4. Now, within the Advanced options window, click on the “Command Prompt“.
5. Now, choose the account with administrative privilege.
6. Then you need to enter your account password and click on “Continue“.
Command Prompt window will be opened in Troubleshooting mode.
Fix-1 Fix Boot issues and reconfigure BCD-
1. Open Command Prompt in Troubleshooting mode following the process we just discussed, and type these commands one by one and hit Enter after each time to execute them.
bootrec.exe /rebuildbcd bootrec.exe /fixmbr bootrec.exe /fixboot
2. Type “Exit” and hit Enter to finish this process.
3. At the time of execution of these commands, if you receive any kind of error message, copy-paste this command in Command Prompt window, and hit Enter.
bootsect /ntfs60 C:
(Important: In the above command,replace “C:” with the drive letter of the drive where you have installed Windows).
Now, try to execute the commands of the Step-1 again.
Close Command Prompt. and try to run Automatic Repair on your computer.
Fix-2 Use Chkdsk utility-
1. Again, open Command Prompt in Troubleshooting mode and type this command and hit Enter.
chkdsk /f /r C:
(Important: In the above command, replace “C:” with the drive letter of the drive where you have installed Windows ).
This process will take some time as all of the System files will be checked to find out any corrupted files on the Windows installation drive.
Wait for a while as this process will take some time to complete.
2. Restart your computer.
Upon booting up your computer, Automatic Repair will try to fix your boot related issues.
If you continue to face some kind of issue, go for the next fix.
Fix-3 Restore Windows Image-
1. Further, open Command Prompt in Troubleshooting mode.
2. Type this command and hit Enter.
DISM /Online /Cleanup-Image /RestoreHealth
It will take 20-25 minutes to complete the process.
3. In case if the previous pop up any error message during execution try executing any of these commands-
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
OR,
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
Restart your computer. Upon booting up your computer, Automatic Repair will try to fix your boot related issues.
Fix-4 Use Diskpart to fix corrupted files-
1. Open Command Prompt in Troubleshooting mode, and type this command and hit Enter.
diskpart
2. Now, type each of these commands and hit Enter after each of them.
list disk select disk 0 list partition select partition 1 active extend filesystem exit
3.Now, type these commands one by one and hit Enter after each time to execute them.
bootrec.exe /rebuildbcd bootrec.exe /fixmbr bootrec.exe /fixboot
You may close the Command Prompt terminal.
NOTE–
a. At the time of execution of these commands, if you receive any kind of error message, copy-paste this command in Command Prompt window, and hit Enter.
bootsect /ntfs60 C:
(Important: In the above command, replace “C:” with the drive letter of the drive where you have installed Windows).
b. Now, try to execute the commands of the Step-3 again.
Close Command Prompt. and try to run Automatic Repair on your computer.
If still, Automatic Repair can’t repair your computer, go for the next fix.
Fix-5 Delete the problematic file-
1. Again, open the Command Prompt. Copy-paste these commands sequentially, and hit Enter to execute these.
cd C:\Windows\System32\LogFiles\Srt SrtTrail.txt
2. After opening the file you should see this type of line-
Boot critical file c:\windows\system32\drivers\fileinfo.sys
The file name in bold will be the problematic file on your device which is the root cause of the Automatic Repair failure. (Ex- for our system, it is fileinfo.sys which is causing the problem.)
3. Delete the problematic file by executing these commands (type these commands one by one and hit Enter after each of them) –
cd c:\windows\system32\drivers del fileinfo.sys
( In the second command, replace “fileinfo.sys” with the problematic file name on your system.)
[IMPORTANT: Don’t delete any other driver except the problematic one]
Restart your computer. Automatic Repair will try to repair the boot related issue on your computer.
Fix-6 Disable Automatic Startup Repair LOOP-
[NOTE– Disable this option only if you are in an Automatic Startup Repair Loop. Otherwise, you can skip this fix.]
1. Once you have opened the Command Prompt, either you can type this command or directly copy-paste this.
bcdedit /set {default} recoveryenabled No
2. Now, restart your computer and the Automatic Repair loop should be disabled.
NOTE-
If you want to start the Automatic Startup Repair Loop again on your computer, you can do it just by running this command in the Command Prompt window of Troubleshooting mode–
bcdedit /set {default} recoveryenabled Yes
Check if Automatic Repair is working on your device or not.
Fix-7 Set right values for device partition-
1. Open Command Prompt in Troubleshooting mode, and type “bcdedit” and hit Enter to configure boot configuration data on your computer.
2. Now, notice the values of the device partition and OS device partition.
Make sure the values are correctly configured to the respective drives.
Generally, device partition and OS-device partition should be configured to C: (Assuming that the Windows is installed in C: drive on your computer).
If you see any kind of exception of the above-mentioned scenario, just type these two commands one by one in Command Prompt window, and press Enter for each time to execute them,
bcdedit /set {default} device partition=c: bcdedit /set {default} osdevice partition=c:
Reboot your computer to save these changes. Automatic Repair should be able to fix the boot related issues without any further errors.
Fix- 8 Disable Driver Signature Enforcement-
1. Plugin the installation media and set your language preferences and click on “Next“.
2. Then, at the left-most corner of the screen, click on the “Repair your computer“.
3. After that, you have to click on the “Advanced options“.
4. At the within the Advanced options window, click on the “Startup Settings“.
5. Then, click upon the option “Restart“.
6. Your device will restating soon.
7. You will be shown options for Startup Settings.
8. Press 7 to “Disable driver signature enforcement“.
Boot related issues on your computer should be fixed.
If any of these fixes didn’t work out for you, then you can reset or refresh your computer.
Fix-9 Reset or Refresh your computer-
Reset or refreshing your computer is the last option available for you.
1. Click on “Troubleshoot” and click on “Reset this PC“.
2. Now, you have two options-
a. Refresh your PC– Refreshing this PC will make sure that all the personal files will be retained.
b. Reset your PC– Resetting your PC will delete all your files and reset all the settings on your computer completely.
Choose any of these options according to your choice.
3. Follow the on-screen instructions to complete the process.
Your computer will be reset/ refreshed and all of the boot related issues will be fixed.