UPDATE: If you can boot into Windows, then try this updated Windows-only method

I had a customer drop off a laptop with a BIOS password locking the customer out of the BIOS settings. The laptop was an eMachines E527-2537 running Windows 7 x64. Normally, you can reset a BIOS password by removing the CMOS battery, but laptops typically don’t have CMOS batteries to remove, leaving you with having to either send the laptop in for service from the manufacturer, or trying to hack the BIOS password another way.

In the past, with AMI/Award/Phoenix BIOSes, there have been tools available to decrypt, reset, or otherwise mangle the BIOS settings into removing the password. Unfortunately, none of those tools work on EFI firmwares, which are the next generation of BIOS. Naturally, this laptop just has to have an Insyde H2O EFI firmware, making the old tools obsolete.

To add to the problem, this laptop was unable to boot from a CD because the boot option were hidden in, you guessed it, the password protected BIOS. So. Here’s what I did to get the laptop to boot from a USB stick and reset the bios password.

NOTE: This guide is written for tech savvy people who know what they are doing. If you are uncomfortable with the command line, flashing BIOSes or getting your hands dirty, don’t attempt this process yourself. I cannot and will not hold your hand while you do this. I wrote this guide because I didn’t see anything like it online and I wanted to leave it here as a quick guide for other techs. I can’t offer support for this procedure. If you need computer repair in Houston, then please call me and I would be glad to do this for you.

This guide will take you through a few steps. We will install a boot loader to get around our inability to select a boot device thanks to the BIOS password. If you can already boot from USB for whatever reason, then skip to step 4 and then to 6. We will then prepare a bootable USB stick and our BIOS flashing batch file. Finally, we’ll boot from the USB stick and flash our BIOS.

1) Install PLoP Boot Loader to boot from a USB stick
Since I was still able to boot into Windows 7, I used EasyBCD to install PLoP in the Windows Boot Manager. PLoP is a boot loader which will allow us to boot from other media like CD/DVD, network and USB sticks. If you are on XP or earlier, you can install PLoP via a different method. Google it.

Install EasyBCD and install PLoP as the BIOS Extender, as shown in this image.

2) Prepare a bootable USB stick
There are many guides on how to create a USB stick that is bootable into DOS. Here is one that you might like.

3) Place the BIOS files on the USB stick
Go to your computer manufacturer’s website and download the latest version of the BIOS for your computer. It will likely come in two versions, one to flash from Windows and another to flash from DOS. We want the one to flash from DOS. There will be a few files in the archive, one called flashit.exe (the BIOS flashing program), another with a name like pawf5106.fd (your file might be named differently, this is the filename for the laptop I was working on), and a batch file with some parameters set for flashing.

Create a folder on your USB stick and place these files in it. The name doesn’t really matter.

4) Edit the batch file to reset the bios password
This is the important bit. If you look at the batch file included with the DOS flashing kit, it might look like this

flashit PAWF5106.fd /fe /b /dc

add the flags /C and /FP to the end of the line, so it looks like this

flashit PAWF5106.fd /fe /b /dc /C /FP

the C flag will clear the CMOS memory and the FP flag will flash your bios without a password. Without that flag, any bios update will retain the old password. The bios file (PAWF5106.fd) will likely be different for you.

5) Use PLoP to boot from your USB stick
Plug your USB stick in and turn the computer on. On the Windows Boot Manager screen, select the BIOS Extender and then select USB from the boot options.

6) Flash the new password-less BIOS
From the DOS prompt, navigate to the folder that contains flashit, the BIOS file, and the batch file. Make sure the computer is plugged into AC power and fully charged. Run your edited batch file and wait for the flashing process to finish. Once it is done, it will reboot automatically.

7) Get into the BIOS to verify that the password has been removed
Hit F2 as the computer boots to get into setup. Look at that! No password prompt! Congratulations! Now you can tun on the F12 Temporary Boot Menu and change the boot order all you want.

I hope this helps you out and saves you some time. Lord knows I wasted plenty of mine. If any parts of this guide are overly vague, leave a comment and I’ll see if I can’t clean it up. I’ve also been up all night working on this laptop, so I might be a little funny.