Save any important files to an external drive or cloud storage
Plug in the charger
Open Settings
Select System
Select Recovery
Under Reset this PC, select Reset PC
Choose Keep my files or Remove everything
Select Local reinstall or Cloud download
Follow the on-screen prompts
Wait for the reset to complete
Set up the laptop again after it restarts
