If you use Windows 8(.1) or 10, you can perform a PC reset, if you experience issues with your computer that you couldn’t resolve.
The PC reset feature (which is an equivalent of reset to factory defaults option on mobile devices) will quickly set Windows back to its factory-default state and delete everything (your personal data and applications you installed), fixing any system corruption problems and removing any buggy drivers or malware that’s causing problems. You will have to reinstall your installed applications afterwards.
To reset your computer (If your computer is booting properly):
Settings -> General option -> Advanced Startup -> choose Reset
Settings -> Update and Security -> Recovery -> Reset your PC.
Note: If your computer is not booting properly, you can reset it from the Advanced boot options menu.
To access it:
Hold Shift and select Restart (if you have access to the login screen) -> Troubleshoot -> Reset your PC
Press the power button to turn your computer on and immediately press Shift + F8 (If you don't have access to the login screen)
When your computer crashes and you see one of the following stop codes: Stop 0x000000ED (UNMOUNTABLE_BOOT_VOLUME) or Stop 0x0000007B (INACCESSIBLE_BOOT_DEVICE) the NTOSKRNL is confused. Either it cannot find the rest of itself, or it cannot read the file system at the location it believes it is stored.
When troubleshooting this error, your task is to find out why the Windows kernel is confused and fix the cause of the confusion. File system corruption might be the problem.
Insert the Windows installation disc. Launch the recovery console from the Windows installation disc and run the chkdsk /f /r command. It will detect if the File system is corrupted. If it is corrupted, run the Repair Windows option, which will replace the corrupted files with the original ones from the disk.
Note: if Windows doesn't boot, you can access the Windows installation disk by pressing F12 (F2 or F8), immediately after you restart or turn on the computer.