Back up important files
Plug in the charger
Open Settings
Select Update & Security
Select Recovery
Under Reset this PC, click Get started
Choose Keep my files or Remove everything
Follow the on-screen instructions
Wait for the reset to complete
Set up the laptop again after restart
