how to restore my Toshiba satellite p755 s5198 back to factory settings

Nov 27, 2018
due to viruses trying to reset Toshiba laptop to factory settings. However, the options that are offered by pressing f8 do not include restore to factory setting.the only restore option is "directory restore".This didn't accomplish the factory reset.It only started windows in safe mode.