This video shows how to take yourself out of Automatic Repair infinite loop and prevent your Windows 10 from keep restarting. Necessary steps:
1. Open Command Prompt at boot.
2. Type following commands:
cd windows
cd System32
cd config
ren system.001 system
ren software.001 software
3. Continue, an automatic final restart makes Windows 10 to start normally.
That's it!
Additional information: https://www.kapilarya.com/there-was-a-problem-refreshing-your-pc
آی-ویدئو