First check this site to see if your HP is supported for the great tool Mazzif has made.
http://mazzifsoftware.blogspot.com/p...os-unlock.html
If your model is newer and not in that list, you need to dump your bios, remove password from dump and reprogram bios with modified dump.
For that you need an SPI programmer like CH341A or Raspberry Pi with Flashrom or any other similar programmer. A soic8 clip is also useful so there wouldn't be a need to unsolder bios IC.
When you have your dump, just drag and drop your file on my HPUnlocker tool and it will create a new file. It will add "_unlocked" to the name of your locked file.
Just program the new file on your bios IC.
This unlocker should work on all Elite, EliteBook, ProBook and maybe some other series HP laptops.
For those of you who need to unlock large amounts of laptops, I recommend adding a registry entry:
Code:
Computer\HKEY_CLASSES_ROOT\*\shell\HPUnlocker\command
Then modify that string adding
Code:
"C:\*location-of-exe*\HPUnlocker.exe" "%1"
This way you just need to right click your locked file and select HPUnlocker.
If there are any issues, please do let me know so I can improve this tool.