Press the Xbox button to open the instructions.
Choose Profile and System -> Settings -> System -> Console Info.
Select Reset Console.
On the console reset screen, you will see three options: Reset and Delete All. This option returns the console to its factory settings.