Back up important files
Plug in the charger
Open Settings
Select System
Select Recovery
Under Reset this PC, select Reset PC
Choose Keep my files or Remove everything
Choose Cloud download or Local reinstall
Follow the on-screen prompts
Wait for the reset to complete
Set up the laptop again after restart
