Back up your important files
Plug in the charger
Click Start
Open Settings
Select System
Select Recovery
Under Reset this PC, click Reset PC
Choose Keep my files or Remove everything
Select...
Turn off the HP laptop completely
Unplug the AC adapter
Remove all external devices
If the battery is removable, remove it
Press and hold the power button for...
Enter the correct BIOS, power-on, or Windows password
Use the HP account recovery or password reset option if available
Reset the Microsoft account password if the...