If something go wrong with windows 10, there is a “reset” function where you can eventually reinstall the Windows.
- Windows+L to go to login screen
- On bottom right, click on the start icon
- Choose “restart” while holding shift key
- Option to reset PC will be displayed. Just follow the step.