What factory reset means and when to do it

A factory reset wipes your computer and reinstalls the original operating system that came with it — the same state it was in when you first turned it on. This removes all your files, programs, and settings. You end up with a blank machine.

Do this when your computer is so slow or broken that normal fixes do not work, when you are selling or giving away the machine, or when malware has infected it so deeply that you cannot trust it anymore. Factory reset is also called a clean install or a fresh start, depending on your operating system.

Warning: factory reset deletes everything. Back up any files you want to keep before you start. Once you begin the process, there is no undo.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before starting, because factory reset deletes everything on your computer.
  • Windows 10 and 11 have a built-in reset tool in Settings that takes 30 minutes to an hour and does not require a separate installation disk.
  • Mac computers use the Erase and Reinstall option in System Settings, which also takes about an hour and requires your Apple ID password.
  • The reset process will ask whether you want to keep your files or remove them — choose remove files if you are selling the computer or dealing with malware.
  • After reset completes, you will need to set up Windows or macOS again from scratch, including creating a user account and connecting to the internet.

How to factory reset Windows 10 or Windows 11

Windows has a built-in reset tool that does not require you to buy or create installation media. Open Settings by pressing the Windows key and typing "Settings", then click the Settings app.

In Settings, click System on the left side. Scroll down and click Recovery. Under "Recovery options", you will see a button that says Reset this PC. Click it.

Windows will ask whether you want to Keep my files or Remove everything. If you are selling the computer, dealing with malware, or want a completely clean machine, choose Remove everything. If you only want to remove programs and settings but keep your documents and photos, choose Keep my files — though this is less thorough.

The next screen asks whether you want to remove files locally or remove them remotely. Choose Remove files and clean the drive if you have time — this takes longer but makes deleted files harder to recover. Choose Just remove my files if you need the reset to finish faster.

Windows will show you a summary of what it is about to do. Click Reset to start. The process takes 30 minutes to an hour. Your computer will restart several times. Do not turn it off or unplug it during this time.

How to factory reset a Mac

Mac computers use a different process depending on whether they have an Intel processor or an Apple Silicon chip (M1, M2, M3, or newer). You can find out which you have by clicking the Apple menu in the top left corner and selecting About This Mac. Look for "Chip" or "Processor".

For both types, open System Settings by clicking the Apple menu and selecting System Settings. Click General on the left side, then scroll down and click Transfer or Reset. Click Erase All Content and Settings.

Your Mac will warn you that this will erase everything. Click Continue. You will be asked to enter your Apple ID password — this is a security step to prevent someone else from erasing your Mac without permission. Type your password and click Continue.

The reset process takes about an hour. Your Mac will restart and show the setup screen when it is done. Do not close the lid or put the Mac to sleep during the reset.

What happens after the reset finishes

When the reset is complete, your computer will restart and show the initial setup screen — the same one you saw the first time you turned it on. You will need to create a user account, choose a password, and connect to the internet.

On Windows, you can sign in with a Microsoft account or create a local account. On Mac, you will need an Apple ID. If you do not have one, you can create it during setup or skip this step and create one later.

After setup finishes, your computer is blank. You will need to reinstall any programs you use — Microsoft Office, Chrome, Zoom, or whatever else you need. Your files are gone unless you backed them up before the reset.

How to back up your files before resetting

The safest way to back up is to use an external hard drive. Plug it into your computer, then copy your Documents, Pictures, Desktop, and Downloads folders to the drive. On Windows, you can also use File History in Settings to back up automatically. On Mac, use Time Machine in System Settings.

If you do not have an external drive, you can back up to cloud storage like Google Drive, OneDrive, or iCloud. Upload your important files before you start the reset. This is slower than using a drive, but it works.

Make a list of the programs you use regularly so you remember to reinstall them after the reset. Take screenshots of your desktop and any custom settings you want to remember.

Troubleshooting a stuck or failed reset

If your computer gets stuck during the reset and does not progress for more than two hours, try restarting it. Press and hold the power button for 10 seconds until the computer shuts down, then turn it back on. The reset should resume where it left off.

If the reset fails and your computer will not start, you may need to use installation media. For Windows, download the Windows installation tool on another computer, create a bootable USB drive, and use that to reset your machine. For Mac, restart while holding Command and R to enter Recovery Mode, then choose Erase and Reinstall from the Utilities menu.

If you are not comfortable doing this, take your computer to a repair shop. They can reset it for you, though there will be a service charge.

Frequently Asked Questions

Will factory reset remove viruses and malware?

Yes, factory reset removes malware because it deletes everything on your computer and reinstalls the operating system fresh. However, if malware is on an external drive or cloud account you sync to, it may come back after reset. Scan any external drives with antivirus software before connecting them to your reset computer.

Can I undo a factory reset?

No. Once the reset finishes, your files are gone. This is why backing up before you start is critical. If you accidentally reset and did not back up, a data recovery service may be able to recover some files, but it is expensive and not may provide to work.

Do I need the Windows or Mac installation disk to factory reset?

No. Both Windows 10, Windows 11, and modern Mac computers have built-in reset tools that do not require a disk. The operating system is stored on your computer and can reinstall itself. You only need installation media if the built-in reset fails.

How long does factory reset take?

The reset process itself takes 30 minutes to an hour on most computers. After that, you need another 30 minutes to an hour to set up the operating system again, create an account, and connect to the internet. The total time is usually one to two hours.

What should I do with my computer after factory reset if I am selling it?

After reset, your computer is blank and ready for the new owner. Do not add your files back to it. The new owner will set it up with their own account and files. If you want to include programs like Microsoft Office or antivirus software, install them fresh after reset, but do not restore from your old backup.