Hello Claven,
There are two ways to restore Windows 8 to factory settings. They are “Refresh” and “Reset”.
Refresh: The Refresh option is primarily a repair method. It is a great method of returning your PC to a known good state while preserving your files and a great deal of your configuration. With the Refresh your PC option, user accounts, data files, and some settings are preserved on your PC without the need to create a backup, or to make choices about what to keep or remove.
Reset: This is similar to a PC restore. This option, also called Reset your PC is useful when a PC is changing hands, or when you want to get a completely fresh start on a PC, with no previous files or configuration retained.
Please click here and refer the thread for detailed information on Restoring the computer to Factory settings.
Hope this helps!