This article explains how to find the serial number of an HP laptop.
How to Find Your HP Laptop Name, Product Number, and Serial Number | HP Support
To find your serial number, you will first need to look at the bottom of your laptop. It is usually on a label with the product number, model number, and warranty duration. If you do not see the label, it may be located inside the battery compartment.
If the label is damaged or removed, another way to get the serial number is through the computer itself. As long as your laptop is still working, you can also get the serial number through the command prompt.
Open the Command Prompt by searching for it in the Start menu.