Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
2007 "factory" settings would be for macOS Tiger.

What version of macOS is running now? If it is running El Capitan and has a recovery partition you should be able to boot into macOS Recovery and get back to a clean installation of El Capitan using the instructions here.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.