To return the system to factory defaults, run the boot config flags factorydefaults command.
For more information about the factorydefaults boot flag, see the following sections:
Boot Sequence
Enable Factory Default Behavior
Configure Boot Flags