To return the system to factory defaults, run the boot config flags factorydefaults command.
For more information about the factorydefaults boot flag, see Boot Sequence.