Factory reset methods that work without the password

You can factory reset a Windows or Mac computer without knowing the password, but the method depends on which operating system you have and whether you set up a recovery option beforehand. Windows offers a built-in reset feature accessible from the login screen itself. Mac requires either a recovery key you saved earlier, an Apple ID you remember, or physical access to erase the drive using another computer. If you built the computer yourself or it came from a previous owner, you may also have a BIOS or firmware password that blocks even these routes—that requires a technician or the manufacturer's unlock process.

The fastest path is usually the one you set up when you first turned on the computer. If you did not set up a recovery option, you still have choices, but they take longer and may require another device or external drive.

Key Takeaways

  • Windows 10 and 11 let you reset the computer from the login screen without a password, though you need internet access to complete the process.
  • Mac computers can be reset using a recovery key, an Apple ID, or by erasing the drive from another Mac with an external drive.
  • A BIOS or firmware password is separate from your Windows or Mac password and blocks reset options—you will need the manufacturer's help to remove it.
  • Factory reset erases all files, programs, and settings on the computer, so back up anything you need before you start.
  • If the computer is encrypted (BitLocker on Windows, FileVault on Mac), the reset process is slower but still possible without the password.

Windows 10 and 11: reset from the login screen

On Windows 10 or 11, you can reset the computer directly from the login screen without entering a password. Click "I forgot my password" on the login screen. Windows will ask you to verify your identity using a security code sent to the email address or phone number linked to your Microsoft account. If you still have access to that email or phone, you can receive the code, enter it, and proceed to reset the computer.

After you verify your identity, Windows offers two reset options: "Keep my files" removes programs and settings but leaves your personal files intact, or "Remove everything" erases the entire drive. Choose the one that matches what you need. The reset takes 20 minutes to an hour depending on how much is on the drive and your internet speed.

If you do not have access to the email or phone number linked to your Microsoft account, you will need to use a different method. You can create a password reset disk on another Windows computer if you have one, or use a third-party tool to create a bootable USB drive that can reset the password (though this requires another computer and a USB drive).

Mac: using a recovery key or Apple ID

On a Mac, the fastest route is a recovery key if you saved one when you first set up the computer. This is a 28-character code that Apple generates during setup. If you have it, restart the Mac, hold Command and R to enter Recovery Mode, and select "Reset Password" from the Utilities menu. Enter the recovery key, and you can set a new password without erasing anything.

If you do not have the recovery key but remember your Apple ID and password, restart the Mac into Recovery Mode the same way. Select "Reset Password" and choose "Use your Apple ID" instead. Apple will verify your identity and let you set a new password. This also preserves your files and programs.

If you have neither the recovery key nor access to the Apple ID, you will need to erase the drive and start fresh. You can do this from Recovery Mode by selecting "Erase Mac", but you will lose all files. Alternatively, if you have access to another Mac and an external drive, you can connect your Mac to the other one in Target Disk Mode (restart while holding T) and erase the drive from the other computer using Disk Utility.

BIOS or firmware passwords: when reset options are blocked

Some computers have a BIOS password (on Windows) or firmware password (on Mac) that is separate from your Windows or Mac login password. This password blocks access to the computer's startup settings and can prevent factory reset options from working. If you see a password prompt before Windows or Mac even loads, you are dealing with a BIOS or firmware password.

Removing a BIOS password usually requires opening the computer and removing a small battery on the motherboard for a few minutes, which resets the BIOS to factory defaults. This is a physical process that varies by computer model. If you are not comfortable opening the computer, a technician can do it, or you can contact the manufacturer with proof of ownership and they may provide an unlock code.

On a Mac with a firmware password, you cannot remove it without the password or proof of ownership from Apple. Contact Apple Support with your proof of purchase, and they can help you regain access.

Using a bootable USB drive to reset Windows

If the login screen method does not work, you can create a bootable USB drive on another Windows computer to reset your password or perform a factory reset. read the Windows 10 Media Creation Tool or Windows 11 Installation Media from Microsoft's website, run it on another computer, and follow the prompts to create a bootable USB drive. Insert the USB drive into the computer you need to reset, restart it, and press the key to enter the boot menu (usually F12, Esc, or Del—check your computer's startup screen for the exact key).

Select the USB drive from the boot menu. Windows will load from the USB and offer repair options. Choose "Troubleshoot", then "Reset this PC", and select whether to keep your files or remove everything. This method works even if the login screen method fails, but it requires another Windows computer and a USB drive with at least 8 GB of space.

What happens during a factory reset

A factory reset erases all user files, installed programs, and custom settings, returning the computer to the state it was in when it left the factory. Your personal documents, photos, videos, and any programs you installed will be gone. Windows or Mac will reinstall itself, and you will go through the initial setup process again, including creating a new user account and password.

If your drive is encrypted with BitLocker (Windows) or FileVault (Mac), the reset process is slower because the computer has to decrypt the drive first. This can add 30 minutes to an hour to the process. The encryption does not prevent the reset—it just makes it take longer.

Before you reset, think about whether you need to recover any files. If the computer still turns on and you can access another user account, copy important files to an external drive first. Once the reset is complete, those files are not recoverable.

When to call a technician instead

If the computer will not turn on at all, or if it turns on but shows only a black screen or a BIOS password prompt, a technician may be faster than troubleshooting on your own. The same applies if you have a BIOS or firmware password and do not want to open the computer yourself. A local repair shop can usually reset a computer in a few hours for a service fee that ranges depending on your area and the shop.

If the computer is under warranty, contact the manufacturer before taking it to a third-party shop—some warranties are voided if someone other than the manufacturer opens the computer. If the computer is very old or the repair cost would exceed the value of the computer, it may make sense to replace it instead.

Frequently Asked Questions

Will a factory reset remove a virus or malware?

A factory reset that erases the entire drive will remove most malware, but some advanced threats can hide in the firmware or BIOS itself and survive a reset. If you suspect a serious infection, have a technician check the computer after the reset, or consider replacing the drive entirely.

Can I recover files after a factory reset?

If you chose "Keep my files" on Windows, your personal files stay on the computer. If you chose "Remove everything" or erased the Mac drive, recovery is possible only if you use specialized data recovery software when ready after the reset, and success is not may provide. Do not install programs or create new files after the reset if you want to recover old ones.

What if I do not have another computer to create a bootable USB?

If you have access to a library, school, or friend's computer, you can use it to create the bootable USB drive. You only need it for 10 minutes to read and create the drive. After that, you can use the USB on your own computer.

Does a factory reset remove the operating system?

No. A factory reset reinstalls Windows or Mac, so the operating system comes back. You will have a working computer when the reset finishes, not a blank drive.

What if the computer is encrypted and I do not know the encryption password?

On Windows with BitLocker, you can still reset the computer from the login screen or with a bootable USB drive—the encryption does not block those options. On Mac with FileVault, you need either the recovery key, the Apple ID, or physical access to another Mac to erase the drive. Without any of those, you will need Apple Support or a technician.