You can reset Windows by following these steps:
After logging into Windows, click the Start button (windows logo) at the bottom left.
Here, choose settings (cogwheel).
In the settings, choose 'Update and security'.
In the left-hand column, choose 'System restore'.
Now click the 'Get started' button under the heading 'Reset this PC'.
Choose 'Delete everything'.
Depending on the version of Windows, you may be asked 'How do you want to reinstall Windows?', choose 'Download from the cloud' here.
Windows will now be reset.