sodcalculator

10 Tech How-To

Windows Error 0199: Security Password Retry Count Exceeded

Guide 10-47335 · Updated · Step by step

Windows error 0199, “Security password retry count exceeded,” appears during the Power-On Self-Test (POST) on many Dell, Lenovo, and HP business desktops and laptops. The fix is to clear the CMOS (which resets the BIOS/UEFI settings) or, if the error persists, replace the motherboard’s CMOS battery; in rare cases, a BIOS update or hardware fault is the cause. This guide explains why the error occurs, how to fix it step by step, and what to do if the standard fixes don’t work.

What Does Error 0199 Mean?

The error is a BIOS-level security message, not a Windows error. It appears before the operating system loads, usually as a full-screen message or a line of text during POST. The BIOS/UEFI firmware on business-class computers includes a password protection feature that locks the system if someone enters the wrong supervisor or hard drive password too many times. The exact retry limit varies by manufacturer (often 3 to 5 attempts). Once exceeded, the BIOS refuses to boot and displays error 0199.

This is a safety mechanism designed to prevent brute-force password guessing. The system assumes an unauthorized user is trying to access the machine, so it halts startup until the issue is resolved. The error does not mean your data is lost; it means the firmware is locked and needs a manual reset.

Why Does It Happen?

Several scenarios trigger error 0199:

  • Accidental wrong password entries: A user or IT admin mistypes the BIOS password multiple times.
  • Forgotten BIOS password: The password was set previously and is now unknown.
  • CMOS battery failure: A weak battery can cause the BIOS to lose its settings, including password retry counts, leading to a false trigger.
  • Hardware glitch: A loose CMOS battery connection or a failing motherboard can cause the error to appear even without password attempts.
  • BIOS update failure: A corrupted BIOS update can reset security counters incorrectly.

Most often, the error is a one-time lockout that clears after a CMOS reset. However, if the battery is dead, the error may return every time you boot.

How to Fix Error 0199: Step-by-Step

Try these fixes in order. The first is the most common and easiest.

1. Clear the CMOS (Reset BIOS/UEFI Settings)

Clearing CMOS resets the BIOS to factory defaults, which clears the password retry counter. You can do this in three ways:

  • Use the motherboard jumper: Power off the PC, unplug it, open the case, and locate the CMOS jumper (often labeled CLR_CMOS or CLEAR). Move the jumper from pins 1-2 to pins 2-3 for about 10 seconds, then move it back. If you’re unsure which pins, check the motherboard manual.
  • Remove the CMOS battery: Unplug the PC, open the case, find the coin-shaped battery (CR2032), gently pry it out, wait 30 seconds, and reinsert it. This resets the BIOS.
  • Use a BIOS reset button (if available): Some high-end motherboards have a dedicated reset button on the rear I/O panel. Press it while the PC is off.

After clearing CMOS, power on the PC. The BIOS will show a message like “CMOS checksum error” or “Settings reset” – press F1 to enter setup, configure the date/time, and save. The error 0199 should be gone.

2. Replace the CMOS Battery

If the error returns after a short time, the battery is likely dead. A CR2032 battery costs a few dollars and lasts 3-5 years. Replace it with the PC unplugged, then clear CMOS again. If the error disappears permanently, the battery was the culprit.

3. Update or Reflash the BIOS

If clearing CMOS doesn’t work and the battery is fine, a BIOS update may fix a bug that causes false retry counts. Visit the manufacturer’s support page, download the latest BIOS for your exact model, and follow their instructions (usually via a USB drive or a Windows utility). Warning: A failed BIOS update can permanently brick the motherboard, so only do this if you’re comfortable and have a stable power source.

4. Remove the Hard Drive Password (if set)

If you set a hard drive password separately, the retry counter might be tied to that. Try removing the hard drive password through the BIOS security menu (if you can access it). If you can’t, you may need to use the manufacturer’s master password service, which often requires proof of purchase.

5. Contact the Manufacturer or a Professional

If none of the above works, the motherboard may have a hardware fault. Contact the PC manufacturer’s support (if under warranty) or a local computer repair shop. They have specialized tools to reprogram the BIOS chip or replace the motherboard.

Common Misconceptions and Pitfalls

Many users think error 0199 means their hard drive is locked or their data is gone. That’s false. The error is purely a BIOS-level security lock. Your data remains intact on the drive. Another misconception is that you need to reinstall Windows – you don’t. The error occurs before Windows loads, so reinstalling won’t help.

A common pitfall is forgetting to unplug the PC before touching the CMOS battery or jumper. Always disconnect the power cord and wait a few minutes to discharge residual capacitors. Also, be careful with the battery – use a non-conductive tool (like a plastic spudger) to avoid shorting the motherboard.

If you have a laptop, clearing CMOS is harder because the battery is often internal and not easily accessible. In that case, look for a small pinhole on the bottom labeled “CMOS reset” or consult the service manual. Some laptops require removing the bottom panel and disconnecting the internal battery for a minute.

When to Seek Professional Help

If you’ve tried clearing CMOS, replaced the battery, and updated the BIOS, and the error still appears, it’s time to call a professional. This is especially true if the error appears randomly even when you haven’t entered any passwords. A failing motherboard component (like the BIOS chip or the RTC circuit) can cause this, and repairing it requires soldering or specialized equipment. If the device is under warranty, contact the manufacturer first – they may replace the motherboard for free.

For business environments, many IT departments have a process for BIOS password recovery. Some manufacturers offer a “master password” that can be generated from the service tag, but it’s typically only provided to verified owners. Never attempt to bypass security with third-party tools that claim to crack BIOS passwords – they often don’t work and can damage the motherboard.

Preventing Future Occurrences

To avoid error 0199 in the future:

  • Write down your BIOS password and store it in a secure place (like a password manager).
  • Set a BIOS password only if you really need it – on a personal desktop, it’s often unnecessary.
  • Replace the CMOS battery every 3-4 years as preventive maintenance.
  • If you’re an admin, document the BIOS password for each machine and store it in a central IT database.

Remember that BIOS passwords are separate from Windows passwords. Even if you forget your Windows password, you can reset it with a recovery disk, but a BIOS password can lock you out of the entire machine.

Frequently Asked Questions

Will I lose my files if I clear CMOS?

No. Clearing CMOS only resets BIOS settings (like boot order, date/time, and hardware configuration). Your files, programs, and Windows installation remain untouched. However, you may need to reconfigure BIOS settings like boot order or enabling virtualization after the reset.

How many password attempts trigger error 0199?

It varies by manufacturer. Most Dell systems allow 3 attempts, Lenovo often allows 5, and HP may allow 3. The exact number is usually not documented publicly. If you’re unsure, assume 3 and be careful.

Can I bypass error 0199 without clearing CMOS?

In some cases, you can enter the BIOS setup by pressing F2 or Del during POST and then selecting “Load Default Settings” or “Reset to Factory Defaults.” But if the error blocks you from entering setup, you must clear CMOS physically.

Does error 0199 mean my hard drive is encrypted or locked?

No. Error 0199 is a BIOS security lock, not a hard drive lock. If you have a separate hard drive password, you might see a different error (like 0198 or a drive lock message). Error 0199 specifically refers to the system password retry count.

Why does error 0199 appear after a power outage?

A power outage can cause the CMOS battery to drain faster, and if the battery is weak, the BIOS may lose its settings and trigger a false retry count. Also, an abrupt shutdown can corrupt BIOS settings. Clearing CMOS usually fixes it.

Is there a universal master password for error 0199?

No. There is no universal master password. Some manufacturers have a backdoor password, but it’s not publicly disclosed and is only provided to authorized service centers with proof of ownership. Attempting to use random codes can permanently lock the BIOS.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →