Restore Files & Programs Without a Factory Reformatting

from your post it is not clear how much damage cases to the computer and ask with more details about the computer and describe more about the problem

most probably you can access the restore computer to the earlier point if your computer is enabled that service

first you may check it from "Microsoft.BackupAndRestoreCenter"