Factory resets are simple procedures that can be performed on both the Xbox One and the Xbox One S. A factory reset takes away all of the data you've collected from the Xbox One. It's like taking back the device that came out with you.
Although you can still retain certain games and apps, the rest of the content on the console will be deleted, ensuring that it's always free of any technical issues.
There are a few different ways to reset your Xbox One, though most involve navigating to the console's dashboard or the Xbox Startup Troubleshooter. In this case, you will learn how to perform a factory reset through the dashboard.
How to factory reset an Xbox One
To reset your Xbox One, go to the Settings, then System menu, and select "Reset console". You'll find a dialog box that states "Reset and remove everything" or "Reset and keep my games & apps".