What do you mean by "factory reset"?
Do you mean reset the BIOS to factory defaults? Or do you mean to completely wipe the OS and re-install from scratch?
If the former, then see the
manual
If you need to re-install the OS, you will need to get hold of installation media - unless there's a hidden partition on the original hard disk. Again, refer to the manual.
SD