Removing a BIOS password depends on your hardware and how the password was set

A BIOS password locks access to your computer's firmware settings. If you forgot the password or inherited a machine with one set, you have several paths forward — but none are when ready. The fastest route depends on whether you have physical access to the machine, what manufacturer made it, and whether you can prove ownership.

The simplest methods work on most consumer laptops and desktops. The harder methods exist because manufacturers built security into machines that stay in offices or data centers. This guide walks through what actually works, in order from easiest to most involved.

Key Takeaways

  • Resetting the CMOS battery is the fastest method on most desktop computers and takes 10 to 30 minutes of physical work inside the case.
  • Laptop manufacturers like Dell, HP, and Lenovo have master passwords or backdoor codes that work without opening the machine, but you may need to prove ownership.
  • If you own the machine but cannot access it any other way, contacting the manufacturer with proof of purchase is slower but more reliable than trying every workaround.
  • Some methods require opening your computer's case or removing the hard drive, which voids warranties on newer machines and can damage components if done carelessly.

Resetting the CMOS battery on a desktop computer

The CMOS battery stores BIOS settings, including passwords. Removing it for a few minutes clears everything — including the password. This works on almost all desktop computers and many older laptops.

Shut down the computer completely and unplug the power cable. Open the case (usually four screws on the back or side). Locate the CMOS battery on the motherboard — it looks like a coin-sized silver disc, typically near the CPU. Press the clip holding it in place and slide the battery out. Wait five to ten minutes, then slide it back in and close the case. When you power on, the BIOS will reset to factory defaults and the password will be gone.

This method is free and takes 15 to 30 minutes if you are comfortable opening a computer. The risk is low on older machines but higher on newer ones where components are tightly packed. If you damage a capacitor or connector, the repair costs more than a service call to the manufacturer.

Using manufacturer master passwords and backdoor codes

Dell, HP, Lenovo, and other major manufacturers have master passwords or service codes that bypass BIOS locks. These are not publicly listed, but you can request them from the manufacturer if you can prove you own the machine.

Contact the manufacturer's support line with your serial number (usually on a sticker on the case or bottom of the laptop) and proof of purchase. Tell them you forgot the BIOS password. They will ask you to verify ownership, then provide a master password or a code to generate one. The process takes one to three business days.

Some manufacturers also publish service manuals that list default passwords for specific models. Searching "[your model number] BIOS password" sometimes surfaces these, though they are less common now. If you find one, try it at the BIOS prompt before contacting support.

Removing the hard drive and accessing it from another computer

If the BIOS password prevents you from booting into Windows or another operating system, you can remove the hard drive, connect it to another computer, and modify or delete the password file directly. This works on Windows machines but requires technical knowledge.

Shut down the locked computer and remove the hard drive (usually one or two screws). Connect it to another computer using a USB adapter or by installing it in an external enclosure. Boot into the second computer and navigate to the locked drive's Windows folder. Use a tool like chntpw or Offline NT Password Editor to reset the Windows password. This gets you into the operating system, but the BIOS password remains — you still need to reset the CMOS or contact the manufacturer for that.

This method is more involved and carries higher risk of damaging the drive or losing data if something goes wrong. It also does not solve the BIOS password itself, only the Windows login.

Contacting the manufacturer with proof of ownership

If you own the computer but cannot access it and the other methods do not work, the manufacturer is your most reliable option. They have tools and codes you cannot access yourself, and they will help if you can prove the machine is yours.

Gather your serial number, proof of purchase (receipt, order confirmation, or warranty card), and a photo of yourself with the machine. Call the manufacturer's support line and explain that you forgot the BIOS password. They will verify your identity and ownership, then either provide a master code or schedule a service appointment. Turnaround is usually one to two weeks for remote help and two to four weeks for in-person service.

This costs nothing if the machine is under warranty and may cost $50 to $150 if it is not. It is slower than other methods but carries no risk of hardware damage.

What to do if the computer is not yours

If you inherited a machine from someone else or bought it used, the manufacturer will not help without proof of ownership. Your options narrow significantly.

If the previous owner is reachable, ask them for the password or to contact the manufacturer on your behalf. If not, the CMOS reset method is your only realistic path — it requires opening the case but works regardless of who set the password. If you are not comfortable opening the computer, a local repair shop can do it for $50 to $100.

Some used machines come with BIOS passwords that the seller set intentionally to prevent resale or theft. In those cases, you may have no legal path forward. Before buying a used computer, always ask the seller to demonstrate that it boots and that there are no BIOS locks.

Preventing BIOS password problems in the future

If you set a BIOS password yourself, write it down and store it somewhere safe — a password manager, a locked drawer, or a trusted person. BIOS passwords are not recoverable the way Windows passwords are, so losing one means going through the reset process.

If you are setting one to find a shared or work machine, document the password in your organization's password vault so someone else can access it if you leave. If you are selling a computer, reset the BIOS to factory defaults before handing it over — this clears the password and any custom settings you made.

Frequently Asked Questions

Will removing the CMOS battery erase my files or operating system?

No. The CMOS battery only stores BIOS settings and the password. Your files, Windows, and all programs remain untouched. When you power on, the BIOS will reset to defaults, but your hard drive is unaffected.

Can I reset a BIOS password without opening the computer?

Only if you contact the manufacturer and prove ownership. They can provide a master password or service code that works at the BIOS prompt. If you cannot reach the manufacturer or do not have proof of purchase, you will need to open the case and reset the CMOS battery.

How long does it take the manufacturer to help?

Remote support usually takes one to three business days once you verify ownership. In-person service takes two to four weeks depending on your location and whether the machine is under warranty. If the machine is out of warranty, some manufacturers charge a service fee.

What if I open the case and cannot find the CMOS battery?

Consult the motherboard manual for your specific model — the battery location varies. If you cannot find the manual online, contact the manufacturer with your motherboard model number. If you are uncomfortable opening the case, a local repair shop can locate and reset it for $50 to $100.

Does resetting the BIOS password void my warranty?

Opening the case to reset the CMOS battery may void the warranty on newer machines, depending on the manufacturer's policy. Contacting the manufacturer for help does not void the warranty. Check your warranty terms before opening the case.