Back up all important files to an external drive or cloud storage
Plug in the laptop charger
Open Settings
Go to Update & Security
Select Recovery
Under Reset this PC, click Get started
Choose Remove everything
Select Local reinstall or Cloud download
Follow the on-screen prompts
Choose whether to clean the drive or just remove files
Confirm the reset
Wait for Windows to format and reinstall
Set up Windows after the restart
Reinstall drivers, apps, and restore your files
