Reset to factory settings - HP Computers & Internet

The procedure to reset your laptop to factory settings may vary depending upon the operating system you use. As you have not mentioned about which operating system you use, you can refer to one of the following HP support links that suit your operating system:
For Windows 8:

For Windows 7:

For Windows Vista:

For Windows XP:

Hope this will help you.