A factory reset restores the computer with the operating system, drivers, and applications that it had had at the time of sale.
In order to perform a factory reset the image is required at the time of sale.
This could be in a partition, DVDs, or flash drive.
If a factory reset is not available then applications have to be reinstalled.
If a factory reset image is unavailable there are other options.
Options may include:
Reset save files
Reset remove files
Custom install
Clean install
For all methods you may be able to have Windows save files or manually backup files.
Also there may be troubleshooting steps for unexpected shutdowns and restarts.
These are some recovery options: