In order to prevent data loss in the process of restoring system, you can backup files in Safe Mode in advance. Generally, when your system is unable to boot Windows normally, you can enter Safe Mode. If the Safe Mode is not an option, you can also backup hard drive without booting Windows.