The Windows recovery environment on your computer operates independently from the Windows 10 operating system. It enables you to recover or repair the operating system even if the Windows 10 operating system fails to start.
After two consecutive failed boot attempts, the Windows recovery environment starts automatically. Then you can choose repair and recovery options by following the on-screen instructions.