Back up any files you want to keep
Sign out of accounts and remove any external drives
Open Settings
Go to System
Go to Recovery
Select Reset this PC
Choose Remove everything
Choose Local reinstall or Cloud download
Follow the on-screen prompts
Confirm the reset
Wait for the process to complete
If needed, reinstall Windows and drivers after the wipe
