First, try forcing a restart by holding down the power button until the computer shuts off, then turn it back on. This can sometimes break the loop if it’s a temporary glitch.
If that doesn’t work, boot into the Windows 10 Advanced Startup Options menu. You can do this by turning off the computer, then turning it back on and pressing the F8 key repeatedly during boot. Select “Troubleshoot” from the options.
Use System Restore
From the Troubleshoot menu, select “Advanced options” and then “System Restore”. This will allow you to roll back your system to a previous restore point, which can fix issues causing the automatic repair loop.
Disable Automatic Repair
Another option is to disable automatic repair altogether. From the Advanced Startup Options menu, select “Command Prompt”. In the command prompt window, type “bcdedit /set {current} recoveryenabled No” and hit “Enter”. This command deletes problematic system files that may be causing the loop.
If none of these solutions work, you may need to perform a clean install of Windows 10. Back up your important files first, then boot from a Windows 10 installation media and choose the “Clean install” option. This will reinstall Windows from scratch and should resolve any underlying issues.