Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Reset Forgotten HP Compaq Password: Step-by-Step

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you've forgotten the password on your HP Compaq desktop or laptop, you can reset it using a few built-in methods. The fastest way depends on whether you're logging into Windows or into the BIOS (the firmware that starts your computer). For a forgotten Windows account password, you can use a password reset disk (if you made one), or reset via another administrator account, or use Windows recovery options. For a forgotten BIOS password, you'll need to clear the CMOS memory on the motherboard. This guide walks you through both scenarios, step by step.

What You'll Need

  • Access to another administrator account on the same PC (for Windows password reset).
  • A USB flash drive (if you need to create a password reset disk or use Windows installation media).
  • A screwdriver (for opening the case to clear CMOS, if resetting BIOS password).
  • Your HP Compaq model number (found on a sticker on the bottom or back).

Step-by-Step

For a Forgotten Windows Login Password

  1. Try the built-in Administrator account (if available). On the login screen, press Ctrl + Alt + Delete twice. If a user named "Administrator" appears, click it and try leaving the password blank. If that works, you can reset your own password from there.
  2. Use another administrator account. If you have another user account on the PC that has administrator rights, log in with that account. Then go to Control Panel > User Accounts > Manage another account. Select your locked account and click Change the password. Enter a new password (or leave blank) and confirm.
  3. Use a password reset disk (if you created one earlier). On the login screen, after entering a wrong password, click Reset password and follow the wizard to insert your USB or floppy disk. This only works if you made the disk before you forgot the password.
  4. Reset via Windows Recovery Environment (if you have a Microsoft account). If you use a Microsoft account (like an Outlook or Hotmail address) to log in, you can reset the password online. On another device, go to the Microsoft password reset page, follow the prompts, and then use the new password on your HP Compaq.
  5. Use a Windows installation media to enable the built-in Administrator (last resort). If none of the above work, you can boot from a Windows installation USB or DVD. Choose your language, click Repair your computer > Troubleshoot > Command Prompt . Then type the following commands, pressing Enter after each: move c:\windows\system32\utilman.exe c:\windows\system32\utilman.exe.bak copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe Then restart the PC. On the login screen, click the Ease of Access icon (the little person with a clock). A command prompt will open. Type net user to see all accounts, then type (replace with your actual username and a new password). After that, close the prompt and log in with the new password.

For a Forgotten BIOS/Setup Password

  1. Power off the computer and unplug the power cord from the back.
  2. Open the case (desktop) or remove the bottom panel (laptop) to access the motherboard. For desktops, usually two screws on the back and slide the side panel off. For laptops, it's often a single panel on the bottom held by screws.
  3. Locate the CMOS battery – a silver, coin-shaped battery (CR2032) on the motherboard. It's usually near the RAM slots or the edge of the board.
  4. Remove the battery gently using a flat-head screwdriver or your fingers (be careful not to damage the clip).
  5. Wait 5–10 minutes to allow the CMOS memory to clear. This resets the BIOS settings, including the password.
  6. Reinsert the battery in the same orientation (positive side up), close the case, plug in the power, and turn on the PC. The BIOS password should be gone, and you can enter the BIOS setup (usually by pressing F10 during startup) to set a new one.

Common Mistakes

  • Forgetting to back up data before using a password reset disk. The reset disk itself doesn't delete files, but the Windows installation media method can if you choose "Reset this PC". Always back up important files if possible.
  • Using the wrong username in the net user command. The username is case-sensitive and must match exactly. Type net user to see the exact list.
  • Removing the CMOS battery without unplugging the power. This can short-circuit the motherboard. Always unplug first.
  • Waiting too short a time when clearing CMOS. Some systems need more than a minute; 10 minutes is safe.
  • Assuming the BIOS password is the same as the Windows password. They are separate. The BIOS password appears before Windows starts.

Tips

  • Create a password reset disk now for future peace of mind. In Windows, search for "Create a password reset disk" and follow the wizard. It only works for local accounts, not Microsoft accounts.
  • Use a memorable password or a password manager to avoid this situation again.
  • Write down your BIOS password and keep it in a safe place – because clearing CMOS is the only way to reset it, and it's more invasive.
  • If you have a Microsoft account, link it to your local account so you can reset the password online.

Troubleshooting

If the Windows reset disk doesn't work: Make sure you're using the same disk that was created for this user account. Also, the disk must be inserted before you click "Reset password" – not after.

If the Command Prompt method fails with "Access denied": You may be running an older Windows version that requires you to boot into Safe Mode. Restart, press F8 repeatedly before Windows loads, select Safe Mode with Command Prompt, and then run the net user command.

If the BIOS password persists after clearing CMOS: Some HP Compaq models have a secondary password stored in a chip. In that case, you may need to use a jumper on the motherboard (look for a 2-pin header labeled "CLR_CMOS" or "CLEAR"). Move the jumper to the other two pins for a few seconds, then move it back. If you're unsure, consult the motherboard manual or contact HP support.

If you can't find the CMOS battery on a laptop: Some ultra-thin laptops have the battery soldered or hidden under a metal shield. If you're not comfortable opening it, take it to a professional – or contact HP support for a service code that may unlock the BIOS.

Frequently Asked Questions

Can I reset the Windows password without losing my files?

Yes, using a password reset disk or another admin account will not delete your files. The Command Prompt method also preserves files. Only "Reset this PC" (which you don't need to use) would delete them.

Does the password reset disk work for Microsoft accounts?

No, it only works for local accounts. For Microsoft accounts, you must reset online.

Will clearing CMOS void my warranty?

Opening the case to remove the battery may void your warranty if you're not careful. Check your warranty terms first. Many HP Compaq models are business-class and designed for easy access, but it's still a risk.

What if I don't have another admin account?

You can try the Command Prompt method with installation media, or use a password reset disk (if you have one). If not, you may need to reinstall Windows, which will erase your files.

Can I bypass the BIOS password with a backdoor password?

No. HP does not provide backdoor passwords. The only safe method is clearing CMOS or contacting HP support with proof of ownership.

Is it legal to reset a password on a computer I don't own?

No. Only reset passwords on your own computer or with explicit permission from the owner. Unauthorized access is illegal.