Factory Reset Without a Password: Your Main Options
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 tool that works without a password if you reach it from the login screen. Mac requires either a recovery key you saved earlier, access to another admin account, or Apple ID credentials. If none of those exist, you will need to use external tools or contact the manufacturer.
The fastest path is usually the built-in reset feature on your operating system, which takes 30 minutes to an hour. If you cannot access that, external recovery tools exist but require a second computer and a USB drive. Before you start, understand that a factory reset erases everything on the drive — all files, programs, and settings disappear. Back up any data you need first if you still have access to the desktop.
Key Takeaways
- Windows 10 and 11 let you reset the computer from the login screen without a password using the "Reset this PC" feature.
- Mac computers need either a recovery key, another admin account, or your Apple ID to reset without a password.
- A factory reset erases all files and programs on the computer, so retrieve any data you need before starting.
- If your computer has no recovery option set up and you cannot access any admin account, you may need to contact the manufacturer or use third-party recovery software on a second computer.
- The entire process usually takes 30 minutes to two hours depending on your drive size and internet speed.
Windows 10 and 11: Using the Built-In Reset Feature
On the Windows login screen, look for a link that says "I forgot my password" beneath the password field. Click it. Windows will ask you to verify your identity using a phone number, email address, or security questions you set up when you created the account. If you can verify your identity this way, Windows lets you create a new password and log in normally — you do not need to factory reset.
If you cannot verify your identity, or if you want to erase everything and start fresh, look for a link on the same screen that says "Reset your PC" or "Reset this PC." This option appears on some Windows installations but not all. If you see it, click it. Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" to perform a full factory reset. The computer will restart and begin the reset process, which takes 20 to 60 minutes depending on your drive size.
If you do not see a reset option on the login screen, restart the computer and watch for a prompt to press a key (usually F8, F11, or Del) to enter recovery mode. The exact key varies by manufacturer. Once in recovery mode, look for an option called "Reset this PC," "System Recovery," or "Factory Reset." Follow the on-screen prompts to erase the drive and reinstall Windows.
Mac: Recovery Key, Apple ID, or Another Admin Account
If you set up a recovery key when you created your Mac account, you can use it to reset your password without erasing the computer. Restart your Mac and hold Command + R until you see the Apple logo. This opens Recovery Mode. Click "Utilities" in the menu bar, then "Terminal." Type resetpassword and press Enter. A window will open where you can create a new password. Once you log in with the new password, you can back up your files before deciding whether to factory reset.
If you do not have a recovery key but you remember your Apple ID email and password, restart your Mac in Recovery Mode (Command + R) and select "Reset Password" from the Utilities menu. Choose your account, then select "Reset using your Apple ID." Enter your Apple ID credentials. You will be able to create a new password and log in. Again, this does not erase your files — it only resets your login password.
If another person has an admin account on the same Mac, log in with their credentials. Open System Settings, go to General, then Users & Groups (or Accounts on older macOS versions). Select your account and click "Reset Password." You will need the admin account holder's password. Once you reset your password, you can log in and back up your data before factory resetting if you choose to.
To perform a full factory reset on Mac without any of the above options, restart in Recovery Mode (Command + R), click Utilities, then Disk Utility. Select your main drive and click "Erase." Choose a format (APFS for newer Macs, Mac OS Extended for older ones) and confirm. After erasing, quit Disk Utility and select "Reinstall macOS" to restore a fresh copy of the operating system.
Using a Second Computer and USB Drive
If your computer has no recovery option and you cannot verify your identity or access another account, you can use a second computer to create a bootable USB drive that resets your locked computer. On the second computer, read the Windows Media Creation Tool (for Windows) or macOS installer (for Mac) from the manufacturer's website. Follow the tool's instructions to create a bootable USB drive.
Insert the USB drive into your locked computer and restart it. Watch for a prompt to press a key (usually F12, Esc, or Del) to choose a boot device. Select the USB drive. The computer will boot from the USB and give you options to repair, reset, or reinstall the operating system. Choose the factory reset or reinstall option and follow the prompts. This process takes 45 minutes to two hours.
Creating a bootable USB requires some familiarity with your operating system, and the exact steps differ between Windows and Mac. If you are not comfortable with this process, contact the computer manufacturer's support line — they can walk you through it or direct you to a local repair shop.
What Happens During a Factory Reset
A factory reset erases your entire hard drive and reinstalls a fresh copy of the operating system. All your files, photos, documents, programs, and settings are deleted permanently. You cannot recover them after the reset completes, so if there is any data on the computer you need, retrieve it before starting the reset.
If the computer is still accessible (you can reach the desktop or file manager), connect an external hard drive or USB drive and copy your important files to it. If you cannot access the desktop because you are locked out, the reset is your only option — just understand that everything will be gone.
After the reset finishes, the computer will restart and show a setup screen, just like a brand-new computer. You will create a new account and password, and the operating system will be clean with no programs installed except the defaults that came with it.
When to Contact the Manufacturer or a Repair Shop
If your computer has no recovery partition, you cannot access Recovery Mode, and you do not have a second computer to create a bootable USB drive, contact the manufacturer's support team. Provide your proof of ownership (receipt, serial number, or account information). They can walk you through additional options or direct you to an authorized repair center.
Some repair shops can reset computers using specialized tools, but this usually costs money. If the computer is under warranty, the manufacturer may do it for free. If it is out of warranty, expect to pay between $50 and $150 depending on the shop and your location.
Preventing This Situation in the Future
Once you have reset your computer and created a new account, take steps to avoid being locked out again. On Windows, write down your recovery key or save it to a find location outside the computer. On Mac, save your recovery key in a password manager or write it down and store it safely. Set up a recovery email address and phone number on both systems.
Consider using a password manager like Bitwarden or 1Password to store your computer password in a place you can access from another device. If you forget your password, you can look it up and reset it without needing to factory reset the entire computer.
Frequently Asked Questions
Will factory reset remove viruses or malware?
Yes. A factory reset erases the entire drive, including any malware. However, if the malware is on an external drive or USB device you connect afterward, it can return. After resetting, install antivirus software and avoid downloading files from untrusted sources.
Can I factory reset a Mac without losing my files?
Yes, if you can reset your password using a recovery key or Apple ID. Once you log in with a new password, you can back up your files to an external drive before deciding to factory reset. A factory reset itself will erase everything, but resetting your password does not.
How long does a factory reset take?
A factory reset usually takes 30 minutes to two hours depending on your drive size, internet speed, and whether you are using a USB drive or built-in recovery. Larger drives and slower internet connections take longer.
What if I forgot my password but I do not want to erase everything?
Try resetting your password first using your recovery key, Apple ID, or another admin account. Only factory reset if you cannot regain access any other way. Resetting your password lets you keep all your files.
Do I need the original Windows or Mac installation disc?
No. Windows and Mac both store recovery files on your computer or can read them from the internet during the reset process. You only need a USB drive if your computer has no built-in recovery option.