Hello, thank you for reaching out to Microsoft Q&A.
Formatting your PC is your only option here. You can factory reset your PC from the Windows Recovery Environment (WinRE). Here's how:
- Start your device and wait for the Windows logo (or the manufacturer's logo) to appear.
- As soon as the Windows logo appears, press and hold the power button until the device shuts down.
- Turn your device on again and repeat step 2.
- Turn your device on a third time. Windows should display the Automatic Repair screen.
- Select Advanced Options > Troubleshoot > Reset this PC > Remove everything, and then proceed with Local reinstall.
- Set up Windows with your existing Microsoft Work/personal account on the device.
Note - Formatting the device will completely wipe all the data in your HDD.