What happens when you reset your laptop

A factory reset erases everything on your hard drive — all your files, programs, settings, and accounts — and reinstalls the original operating system that came with the machine. After the reset completes, your laptop looks and behaves exactly as it did the day you bought it. You will need to set up your user account again, reinstall any programs you want to keep, and restore your files from a backup.

A reset is useful when your laptop has become slow, unstable, or infected with malware that antivirus software cannot remove. It is also the right step before selling or giving away a laptop, because it ensures no personal data remains on the drive. The process takes between 30 minutes and two hours depending on your laptop's speed and the size of your hard drive.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you start, because a reset deletes everything on your laptop.
  • Windows laptops use Settings > System > Recovery > Reset this PC, while Mac laptops use System Settings > General > Transfer or Reset.
  • Choose "Keep my files" on Windows if you want to erase programs and settings but preserve your documents, photos, and downloads.
  • The reset process requires your laptop to stay plugged in and uninterrupted for the full duration, usually 30 minutes to two hours.
  • After the reset completes, you will need to sign in with a Microsoft account (Windows) or Apple ID (Mac) and reinstall your programs.

Back up your files before you start

The most important step happens before you touch the reset button. Copy all files you want to keep — documents, photos, videos, downloads, and anything else in your user folder — to an external hard drive, USB flash drive, or cloud storage service like Google Drive, OneDrive, or Dropbox. If you skip this step and choose "Remove everything" during the reset, those files are gone permanently.

The fastest way to back up is to plug in an external drive, open File Explorer (Windows) or Finder (Mac), and drag your entire Documents, Pictures, Downloads, and Desktop folders to the external drive. This usually takes 10 to 30 minutes depending on how much data you have. If you do not have an external drive, upload your files to a cloud service instead — this is slower but works just as well.

Write down any program license keys or passwords you will need after the reset. Many programs ask for a license key when you reinstall them, and you will not be able to retrieve it from your laptop once the reset is complete.

Reset a Windows laptop

On Windows 10 or Windows 11, open Settings by pressing the Windows key and typing "Settings", then click the Settings app. Go to System in the left sidebar, scroll down, and click Recovery. You will see a button labeled "Reset this PC" — click it.

Windows will ask whether you want to "Keep my files" or "Remove everything". Choose "Keep my files" if you want to erase all your programs and settings but preserve your documents and downloads. Choose "Remove everything" only if you are selling the laptop or want a completely clean slate. Windows will then ask which version of Windows you want to reinstall — the default option is fine.

Click Next, review the summary of what will happen, and click Reset. Your laptop will restart several times and show a progress screen. Do not turn off your laptop or unplug it during this process. When the reset finishes, you will see the Windows setup screen where you can create a new user account or sign in with an existing Microsoft account.

Reset a Mac laptop

On a Mac running macOS 12 or later, click the Apple menu in the top-left corner and select System Settings. Click General in the sidebar, scroll down, and click Transfer or Reset. You will see options to erase your Mac or transfer data to another Mac — click "Erase All Content and Settings".

Your Mac will ask you to sign in with your Apple ID and confirm that you want to erase the laptop. This step is a security measure to prevent someone else from erasing your Mac without permission. After you confirm, your Mac will restart and begin erasing the drive. This process takes 15 to 45 minutes depending on how much data is on your laptop.

When the erase is complete, your Mac will restart and show the setup screen. You can sign in with your Apple ID to restore some settings and data from iCloud, or set up as a new Mac. If you are selling or giving away the Mac, do not sign in — leave it at the setup screen so the new owner can set it up with their own account.

What to do if the reset gets stuck

If your laptop appears frozen during the reset and has not shown any progress for more than 30 minutes, try waiting another 15 minutes before taking action. Large hard drives and older laptops can take a long time. If the screen is completely black or shows an error message, restart your laptop by holding the power button for 10 seconds until it shuts down, then turn it back on.

If the reset fails repeatedly, your hard drive may be damaged. In this case, you can create a bootable USB drive with Windows or macOS installation media on another computer and use that to reinstall the operating system. Microsoft and Apple both provide free tools to create these drives on their websites. This is more technical than a standard reset, but it works when the built-in reset tool fails.

Reinstall your programs and restore your files

After the reset completes and you have set up your user account, your laptop is ready but mostly empty. Plug in the external drive where you backed up your files and copy them back to your Documents, Pictures, Downloads, and Desktop folders. This usually takes 10 to 30 minutes depending on how much data you backed up.

Then reinstall the programs you use regularly. Go to the official website for each program — Microsoft Office, Chrome, Zoom, Slack, or whatever you need — and read the installer. Run the installer and follow the prompts. If a program asks for a license key, use the key you wrote down before the reset. Most programs are free to read, and you only pay if you choose to buy a license or subscription.

Update Windows or macOS as soon as you finish reinstalling programs. Open Settings and look for an Updates section, or let your laptop check automatically. This ensures your operating system has the latest security patches.

When to reset instead of troubleshooting

A reset is a last resort, not a first step. If your laptop is slow, try restarting it first — this clears temporary files and stops programs running in the background. If it is still slow after a restart, run your antivirus software to check for malware. If you see suspicious programs in your installed apps list, uninstall them. These steps often fix problems without erasing your data.

Reset your laptop only if these steps do not work, or if you know your laptop has a serious malware infection that antivirus software cannot remove. A reset is also the right choice before selling or donating your laptop, because it ensures no personal data remains on the drive for the next owner to find.

Frequently Asked Questions

Can I cancel a reset after it starts?

Yes, but only in the first few minutes before the actual erasing begins. If you see the progress screen, you can usually press Escape or click Cancel. Once the erasing has started, canceling may leave your laptop in an unusable state. It is better to let the reset finish than to interrupt it partway through.

Will a reset remove viruses and malware?

Yes. A reset erases your entire hard drive and reinstalls a clean copy of Windows or macOS, so any malware is removed. However, if the malware is on an external drive or USB stick you plug in after the reset, it can infect your laptop again. Only restore files from backups you made before the infection occurred.

Do I need my password to reset my laptop?

On Windows, you need to sign in with your Microsoft account password. On a Mac, you need your Apple ID password. If you have forgotten either password, you can reset it on Microsoft.com or Apple.com before you start the reset process.

What if I want to keep some programs but erase everything else?

A reset erases all programs. If you want to keep specific programs, do not reset. Instead, uninstall the programs you do not want through Settings > Apps (Windows) or Applications folder (Mac). This is faster and preserves your files and the programs you want to keep.

How long does a reset actually take?

The reset process itself takes 30 minutes to two hours depending on your laptop's speed and hard drive size. Older laptops and larger drives take longer. After the reset finishes, restoring your files and reinstalling programs takes another 1 to 3 hours depending on how much you had backed up.