Reboot your computer from the created Windows 10 installation media.
Then follow the on-screen instructions to open the Windows recovery environment.
Then click Restore Computer - Troubleshooting - Reset this PC - Delete All.
Select only the drive where Windows is installed - Delete only my files and click Reset to continue.
Then patiently wait for the reset process to complete.