This video describes how to fix the registry in Windows 11, when you've made a change and now your computer won't start and is stuck in a repair loop. If you don't have a restore point or registry backup you can use this procedure shows you how to fix the registry. This is really useful if you have the "Inaccessible Boot Device ," Error.
Try this before you have to reinstall Windows.