Back up any files you want to keep
Sign out of accounts and remove external devices
If possible, note your product keys and recovery information
Open your computer’s recovery or reset settings
Choose the option to remove all files and reset the device
Select the option to fully clean the drive if available
Confirm the reset and let the process finish
Reinstall the operating system if required
Reinstall drivers, apps, and updates after the wipe
