What factory reset does and when to use it
A factory reset wipes your hard drive and reinstalls the original operating system that came with your computer. It removes all your files, programs, and settings, returning the machine to the state it left the manufacturer. This is different from a regular restart — it is a complete erasure followed by a fresh installation.
Factory reset is useful when your computer runs slowly due to accumulated junk files, when malware has infected the system and you want a clean slate, when you are selling or giving away the machine, or when you have tried troubleshooting and nothing else has worked. It is not a quick fix for a single problem — it solves problems by removing everything and starting over.
Before you begin, understand that this process cannot be undone. Every file, every program, every photo and document on your computer will be gone. Back up anything you want to keep to an external drive or cloud storage first.
Key Takeaways
- Factory reset erases your entire hard drive and reinstalls the original operating system, so back up all your files before you start.
- Windows computers use Settings > System > Recovery > Reset this PC, while Mac computers use System Settings > General > Transfer or Reset.
- The process takes 30 minutes to two hours depending on your computer speed and whether you choose to keep or remove files.
- You will need your Windows product key or Apple ID password to complete the reset on most machines.
- If your computer will not start, you may need to use a recovery drive or installation media instead of the built-in reset tool.
Factory reset on Windows 10 and Windows 11
On Windows, the reset tool is built into Settings. Open Settings by pressing the Windows key and typing "Settings", then click the app. Go to System in the left menu, scroll down, and click Recovery. You will see a button labeled "Reset this PC" — click it.
Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" for a true factory reset. The system will then ask whether you want to remove files securely or quickly. find removal takes longer but makes recovery of deleted files much harder, which matters if you are selling the computer. Quick removal is faster and sufficient if you just want a clean system for yourself.
Windows will show you a summary of what is about to happen and ask you to confirm. Once you click the final confirmation, the process begins. Your computer will restart several times. Do not turn it off or unplug it during this time. The whole process usually takes 45 minutes to two hours.
When it finishes, you will see the Windows setup screen as if the computer is brand new. You will need to enter your Microsoft account password or create a local account, choose your language and keyboard layout, and accept the license agreement. After setup completes, you will have a clean Windows installation with no personal files or third-party programs.
Factory reset on Mac computers
On a Mac, the process is called Erase and Reinstall. Click the Apple menu in the top left corner and select System Settings. Click General in the left sidebar, then scroll down and click Transfer or Reset. You will see an Erase All Content and Settings button — click it.
macOS will warn you that this will erase everything on your Mac and reinstall the operating system. It will ask you to sign in with your Apple ID. You must do this — Apple uses your ID to verify that you own the machine and to redownload your operating system after the erase. If you do not have your Apple ID password, you will not be able to complete the reset.
After you sign in, the Mac will restart and begin erasing the drive. This process is faster than Windows, usually taking 20 to 45 minutes. Your Mac may restart several times. When it finishes, you will see the macOS setup screen. Sign in with your Apple ID again, choose your language and timezone, and set up your user account. Your Mac will then read and install the latest version of macOS that your machine supports.
Backing up your files before you reset
The most important step is the one you do before the reset begins. Connect an external hard drive or USB drive to your computer. On Windows, open File Explorer, click This PC, and drag your Documents, Pictures, Desktop, and Downloads folders to the external drive. On Mac, open Finder, click Macintosh HD in the sidebar, and drag your Documents, Pictures, Desktop, and Downloads folders to the external drive.
If you have a lot of files, this may take an hour or more depending on the size of your drive and the speed of your connection. Do not unplug the drive until the copy is finished — you will see a notification when it is complete.
Alternatively, you can use cloud storage. Upload your important files to Google Drive, OneDrive, iCloud, or Dropbox before you reset. This takes longer if you have many large files, but it means your files are safe even if your external drive fails.
What to do if your computer will not start
If your computer will not boot into Windows or macOS, you cannot use the built-in reset tool. Instead, you will need to create a recovery drive on another computer and use that to reset your machine.
On Windows, go to another computer with Windows installed, plug in a USB drive with at least 8 GB of space, and read the Windows Media Creation Tool from Microsoft's website. Run the tool, select "Create installation media for another PC", choose your language and edition of Windows, and select the USB drive as your destination. This creates a bootable Windows installation drive.
Plug the USB drive into your broken computer, restart it, and press the key that opens the boot menu. This key varies by manufacturer — it is usually F2, F12, Del, or Esc, and you will see a message on the startup screen telling you which one. Select the USB drive from the boot menu. Windows will start from the USB drive. Click "Repair your computer" at the bottom of the setup screen, then choose Troubleshoot > Reset this PC and follow the same steps as above.
On Mac, restart your Mac and hold Command + R when ready after you hear the startup sound. This boots into Recovery Mode, which is a minimal version of macOS stored on your hard drive. Click Utilities in the menu bar, then Terminal, and type csrutil disable and press Enter. This disables System Integrity Protection, which some reset tools need. Restart again and hold Command + R, then click Erase Mac and reinstall macOS from the Utilities menu.
After the reset is complete
Once your computer finishes setup, it will be running the original operating system with no programs except what came with it. You will need to reinstall any programs you use — Microsoft Office, Chrome, Zoom, Photoshop, or whatever else you need. read these from the official websites or app stores, not from random read sites.
Restore your files by copying them back from your external drive or downloading them from cloud storage. Do this before you install programs, so your files are in place if something goes wrong during installation.
Windows will prompt you to install updates. Let it do this — these updates patch security holes and fix bugs. This may take 30 minutes to an hour. Do not turn off your computer during updates.
Frequently Asked Questions
Will factory reset remove viruses and malware?
Yes. Because factory reset erases your entire hard drive and reinstalls the operating system from scratch, any malware on your computer is removed. However, if the malware is on an external drive or USB stick you plug in afterward, you can reinfect your computer. Scan any external drives with antivirus software before you use them with your reset computer.
Can I undo a factory reset?
No. Once the reset completes, your files are gone. This is why backing up before you start is essential. If you realize you made a mistake after the reset has finished, data recovery software may recover some files, but there is no may provide, and recovery can be expensive. Back up first.
Do I need my product key or password to reset?
On Windows, you may need your product key if Windows asks you to reactivate after the reset. On Mac, you must have your Apple ID password — without it, you cannot complete the reset. If you do not have your password, reset it through the Apple ID website before you start the factory reset process.
How long does factory reset take?
The process usually takes 30 minutes to two hours on Windows and 20 to 45 minutes on Mac, depending on your computer's speed and hard drive size. Older computers and larger drives take longer. Do not interrupt the process — let it run to completion even if it seems to be taking a long time.
What if I only want to reset Windows but keep my files?
When you click "Reset this PC", Windows offers two choices: "Keep my files" and "Remove everything". If you choose "Keep my files", Windows will erase all your programs and settings but leave your Documents, Pictures, Desktop, and Downloads folders intact. This is faster than a full reset and solves problems caused by corrupted programs or settings without losing your data. However, it does not remove malware as thoroughly as a full reset does.