Plug it into the ZBook, hold , and power it on.
Turn on the laptop and press repeatedly to enter the BIOS Setup.
The ZBook 15 G5 motherboard contains a specific jumper meant for clearing the "Power-On Password." While this may not always clear the "Administrator Password," it is worth attempting before seeking hardware replacement. Power off the laptop and remove the bottom cover.
Note: HP has recently tightened restrictions on this service for older out-of-warranty models, but it remains the safest official method. Method 3: BIOS Password Reset Jumpers
Advanced users use a "CH341A Programmer" to physically clip onto the BIOS chip and flash a "clean" BIOS file. This requires technical expertise and carries the risk of bricking the device.
Move the jumper cap from its current position to the reset position for 10 seconds. Move it back, reconnect the batteries, and boot up. Method 4: Replacing the BIOS Chip or Motherboard