What Restoring to Factory Settings Does

Restoring your computer to factory settings erases everything on your hard drive and reinstalls the original operating system and software that came with the machine. This removes all your files, programs, accounts, and settings—returning the computer to the state it was in when you first turned it on. The process is sometimes called a "factory reset" or "clean install."

People restore to factory settings for several reasons: to fix persistent software problems, to remove malware that won't go away, to wipe the drive before selling or giving away the computer, or to start fresh after years of accumulated clutter. It is one of the most thorough troubleshooting steps you can take, but it also means losing everything that is not backed up elsewhere.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you start, because factory reset erases everything on your computer.
  • Windows and Mac have built-in reset tools in Settings that walk you through the process step by step without needing external media.
  • The reset process takes 30 minutes to two hours depending on your computer speed and whether you keep personal files during the reset.
  • After the reset completes, you will need to reinstall your programs and sign back into your accounts, so have your passwords ready.
  • If your computer will not start or you cannot access Settings, you may need to use a recovery USB drive or contact the manufacturer for help.

Back Up Your Files Before You Start

The first step is to save copies of anything you want to keep. Connect an external hard drive or USB drive to your computer and copy your Documents, Pictures, Downloads, Desktop, and any other folders that hold files you created. If you use cloud storage like OneDrive, Google Drive, or Dropbox, make sure your important files have already synced to the cloud.

Check your email and messaging programs for any attachments or conversations you need to save. If you have photos or videos stored only on your computer, copy those to the external drive. Take a moment to write down any software license keys or passwords you will need after the reset—you can store these in a password manager or a document on your external drive.

Reset Windows to Factory Settings

On Windows 10 or 11: Open Settings by pressing the Windows key and typing "Settings," then click the Settings app. Go to System, then scroll down and click "Recovery." Under "Reset this PC," click "get your free guide." Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" for a true factory reset. If you want to keep your personal files but remove programs and settings, choose "Keep my files"—this is faster but less thorough.

Windows will ask you to choose how you want to reinstall the operating system. If your computer is connected to the internet, select "Cloud read" to read a fresh copy from Microsoft's servers. If your internet is slow or unreliable, select "Local reinstall" to use the recovery files already on your computer. Click "Next" and follow the prompts. The reset will restart your computer several times and take 45 minutes to two hours.

When the reset finishes, your computer will restart and show the Windows setup screen, just as if it were brand new. You will need to create or sign in with a Microsoft account, choose your language and keyboard layout, and set up your privacy settings. After setup completes, you can reinstall your programs and sign back into your accounts.

Reset Mac to Factory Settings

On macOS 11 (Big Sur) or newer: Click the Apple menu in the top-left corner and select "System Preferences" (or "System Settings" on newer versions). Click "General," then look for "Transfer or Reset" or "Erase All Content and Settings." Click that option and follow the prompts. macOS will ask you to sign out of your iCloud account and remove any paired devices like Apple Watches. This process takes 15 to 30 minutes.

On older macOS versions (Catalina or earlier), restart your Mac and hold Command + R while it boots to enter Recovery Mode. Once Recovery Mode loads, click "Utilities" in the menu bar and select "Disk Utility." Click your main hard drive in the left sidebar, click "Erase" at the top, and confirm. After erasing, close Disk Utility, click "Reinstall macOS" from the Utilities menu, and follow the installation steps. This method takes longer—usually 60 to 90 minutes—because it reinstalls the entire operating system.

What to Do If Your Computer Won't Start

If your computer will not boot into Windows or macOS, you cannot use the built-in reset tools. Instead, you will need to create a recovery USB drive on another computer. For Windows, read the Windows Media Creation Tool from Microsoft's website on a working computer, plug in a blank USB drive (8 GB or larger), and follow the tool's instructions to create a bootable recovery drive. For Mac, read the macOS installer from the App Store on another Mac, then use the "createinstallmedia" command in Terminal to create a bootable USB drive—Apple's support pages have the exact command for your macOS version.

Once you have the recovery USB drive, plug it into the computer you want to reset. Restart the computer and hold F12 (or Delete, Escape, or another key depending on your manufacturer—check your computer's manual) to enter the boot menu. Select the USB drive from the list and press Enter. Follow the installation or recovery steps that appear. This process is more technical than using the built-in tools, so take your time and do not unplug the USB drive until the reset is complete.

Reinstall Your Programs and Sign In

After the factory reset finishes and your computer restarts, you will have a clean operating system but none of your programs. Open your web browser and read the installers for the programs you use regularly—Microsoft Office, Adobe Creative Suite, antivirus software, messaging apps, or whatever else you need. Install each program one at a time and restart your computer after each installation if prompted.

Sign back into your accounts: email, cloud storage, social media, banking apps, and any other services you use. If you saved your license keys or passwords on your external backup drive, copy them to a safe location on your computer or a password manager. Restore your files from your external drive by copying them back into your Documents, Pictures, and other folders. This step-by-step approach takes a few hours but ensures your computer is clean and organized.

Common Mistakes to Avoid

The biggest mistake is not backing up your files first. Once you start a factory reset, there is no way to stop it or recover your data afterward. Before you click "get your free guide" or "Erase," triple-check that your important files are on an external drive or in cloud storage.

Another common error is unplugging the power cable or restarting the computer during the reset process. Let the reset run to completion without interruption, even if it seems to be taking a long time. Stopping the process mid-way can leave your computer in an unusable state. If your computer is a laptop, plug it in and make sure the battery is fully charged before you start.

Do not assume your programs will reinstall automatically. You will need to read and install each one manually after the reset. Keep a list of the programs you use so you do not forget any. Finally, do not skip the Windows or macOS setup steps at the end—these configure important security and privacy settings that protect your computer.

Frequently Asked Questions

How long does a factory reset take?

A factory reset usually takes 30 minutes to two hours, depending on your computer's speed and how much data is being erased. Older computers and those with large hard drives may take longer. Keep your computer plugged in and do not interrupt the process.

Will a factory reset remove viruses?

Yes. A factory reset erases everything on your hard drive, including malware and viruses. However, if the virus is on an external drive or USB stick you plug back in, it can return. Scan any external drives with antivirus software before you restore files to your computer.

Can I undo a factory reset after it is done?

No. Once a factory reset completes, your files are gone permanently unless you have a backup. This is why backing up before you start is critical. If you accidentally reset your computer, you may be able to recover some files using data recovery software, but this is not may provide and can be expensive.

Do I need the original Windows or Mac installation disc?

No. Modern computers read the operating system from the internet during the reset process. If your internet is very slow, you can use a local reinstall option that uses recovery files already on your computer. You only need a physical disc if your computer cannot connect to the internet.

What should I do with my external backup drive after the reset?

Keep it in a safe place. After you have restored your files and confirmed everything is working, you can reuse the external drive for ongoing backups. Set up automatic backups so your files are protected if something goes wrong in the future.