What factory reset means and when to do it

A factory reset wipes your computer back to the state it left the manufacturer — all your files, programs, and settings are removed, and the operating system is reinstalled fresh. This is different from a restart or shutdown. You lose everything you have added since you bought the machine.

Factory reset is useful when your computer runs slowly, crashes often, or has malware you cannot remove through normal means. It is also the right step before selling or giving away a machine, since it removes your personal data completely. If you just want to free up space or speed things up, try deleting old files or uninstalling programs first — those are faster and you keep your data.

The process takes 30 minutes to several hours depending on your computer's speed and how much data is on it. You will need a working internet connection for Windows machines, and you should plug in your power adapter so the battery does not die halfway through.

Key Takeaways

  • Back up any files you want to keep before you start, because factory reset deletes everything on your computer.
  • Windows machines use Settings > System > Recovery > Reset this PC, while Mac machines use System Settings > General > Transfer or Reset.
  • You can choose to keep your Windows login account and settings while removing only your files, or wipe everything including the operating system.
  • The process requires a stable power connection and internet access, and takes between 30 minutes and several hours depending on your machine.
  • After reset, you will need to reinstall your programs and log back into your accounts — nothing transfers automatically.

Back up your files before you start

Before you reset, move any files you want to keep to an external drive, cloud storage, or another computer. Factory reset removes all your documents, photos, downloads, and desktop files. If those files matter to you, this step is not optional.

The fastest way is to plug in an external hard drive or USB stick and drag your Documents, Pictures, and Downloads folders onto it. If you do not have external storage, you can upload files to Google Drive, OneDrive, Dropbox, or iCloud — but this takes longer if you have a lot of data. Check how much space you need by right-clicking a folder and selecting Properties (Windows) or Get Info (Mac).

Write down any passwords, license keys, or account information you will need after reset. Your email password, Wi-Fi password, and any software license keys should be stored somewhere safe outside your computer.

Factory reset on Windows 10 and Windows 11

On Windows, go to Settings > System > 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 full factory reset.

Next, Windows asks whether you want to remove files only or also reinstall Windows from the cloud. If your computer came with Windows pre-installed (most do), choose "Cloud read" — this downloads a fresh copy of Windows from Microsoft's servers. If you have a Windows installation disc or USB stick, you can use that instead, but cloud read is simpler.

Windows will show you a summary of what will happen, then ask you to confirm. Click Reset, and the process begins. Your computer will restart several times. Do not turn it off or unplug it. When it finishes, you will see the Windows setup screen, the same one you saw when the computer was new. Log in with your Microsoft account or create a local account, and you are done.

Factory reset on Mac

On Mac, the process is called Erase and Reinstall. Go to System Settings > General, scroll down, and click "Transfer or Reset." Choose "Erase All Content and Settings." Mac will ask for your password and your Apple ID password — you need both.

Mac will show you a summary and ask you to confirm. Click Erase, and the process begins. Your Mac will restart and show a progress bar. This usually takes 20 to 45 minutes. Do not close the lid, unplug the power, or interrupt the process.

When it finishes, your Mac will restart and show the setup screen from the first time you turned it on. You can log in with your Apple ID to restore some settings like iCloud preferences, but your files and programs are gone. You will need to reinstall your programs from the App Store or their original installers.

What happens after reset

After reset completes, your computer looks and works like it did the day you bought it. All your programs are gone — you will need to reinstall them. Your files are gone unless you backed them up. Your email, social media, and other accounts are logged out.

Start by logging into your email account, since most other accounts use email to verify your identity. Then reinstall the programs you use regularly. If you saved your files to cloud storage, read them back to your computer. This usually takes a few hours depending on how many programs you use and how much data you have.

Your computer will run faster after reset because it no longer has years of temporary files, old programs, and clutter. This speed boost usually lasts a few months, until you install new programs and accumulate new files. If slowness returns, the problem is usually too many programs running at startup or a full hard drive, not the operating system itself.

When factory reset does not work

Sometimes the reset process fails or gets stuck. If your computer will not start at all, or if you forgot your password, you may need to use a recovery drive or installation media instead. For Windows, you can create a bootable USB stick on another computer using the Windows Media Creation Tool, then boot from that stick and choose Repair your computer. For Mac, restart while holding Command + R to enter Recovery Mode, then choose Erase and Reinstall from there.

If you are selling the computer and want to make sure your data is truly gone, factory reset is enough for most buyers. If you are concerned about data recovery, you can use free tools like DBAN (Darik's Boot and Nuke) on Windows or find Empty Trash on Mac, which overwrite your hard drive multiple times. This takes much longer but is more thorough.

Frequently Asked Questions

Will factory reset remove viruses and malware?

Yes, factory reset removes almost all malware because it deletes everything on your hard drive and reinstalls the operating system fresh. However, if malware is in your BIOS or firmware (the lowest level of your computer), reset may not remove it. For most users, factory reset solves malware problems completely.

Can I undo a factory reset?

No. Once reset completes, your files are gone permanently. This is why backing up before you start is critical. If you realize you made a mistake when ready after reset starts, you can sometimes stop the process by shutting down the computer, but once it finishes, recovery is not possible.

Do I need my product key or installation disc?

For Windows, no — if your computer came with Windows pre-installed, the license is tied to your hardware and will reactivate automatically after reset. For Mac, no — your Mac will reactivate using your Apple ID. If you have older software with license keys, write those down before you reset.

How long does factory reset actually take?

The process usually takes 30 minutes to 2 hours on a modern computer with a solid-state drive. Older computers with traditional hard drives can take 3 to 4 hours. The time depends on your computer's speed, how much data is on it, and your internet connection. Do not interrupt it — let it run to completion.

What if I only want to remove my files but keep my programs?

On Windows, you can choose "Keep my files" during the reset process instead of "Remove everything." This removes your personal files but keeps your programs and Windows settings. On Mac, there is no equivalent option — Erase and Reinstall always removes everything. You would need to manually uninstall programs instead.