If the BIOS is damaged but the bootloader is intact, you can use HP’s official recovery tool. How to reset bios on hp pro 3500? - Facebook
If the internal recovery fails, you can create a USB drive on another computer: hp pro 3500 series mt bios bin file fix