That can't be done, unless you made an image at the moment it was all OK. Then you can restore that image.
The alternative is to go back to factory settings (that is: how the maker configured it) via the system recovery procedure that's detailed in the user manual (usually from a recovery partition or from the recovery disks you made yourself).
Kees

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic