How to disable automatic repair at Windows 10 boot

During its startup, Windows 10 executes the automatic repair feature which tries to fix booting related issues automatically. If your PC crashes twice consecutively or fails to boot, it will launch the automatic repair procedure and will try to fix the issue which caused the crash. It runs chkdsk and also runs System File Checker (sfc.exe) to restore any corrupt files.
While this feature can be useful for the average user, in some situations, this automatic repair can annoy you very much. Sometimes, it has also been known to get stuck in a repair loop. So it's better in such case to not let Windows do any automatic repairs.
Let's see how we can disable automatic repair in Windows 10