What a hard reset does and when you need one

A hard reset wipes your computer back to factory settings, erasing all your files, programs, and personal data. It is different from a restart — restarting just turns the machine off and back on, while a hard reset removes everything and reinstalls the operating system from scratch.

You need a hard reset when your computer is so slow or frozen that normal fixes do not work, when you are selling or giving away the machine and want to erase your data completely, or when malware or a corrupted system file has made the computer unusable. If your computer still boots up and you can move the mouse or keyboard, a restart or a factory reset through Settings is usually faster and safer than a hard reset.

A hard reset takes 30 minutes to several hours depending on your machine and internet speed. You will lose everything on the drive unless you back up first. Once you start, you cannot stop partway through without risking a broken system.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you start, because a hard reset erases everything on your computer.
  • Windows and Mac have different hard reset processes: Windows uses a bootable USB drive with installation media, while Mac uses Recovery Mode or Internet Recovery.
  • A hard reset takes 30 minutes to several hours and requires your computer to stay powered on and connected to the internet for the full duration.
  • If your computer still turns on and responds to the keyboard or mouse, try a factory reset through Settings first — it is faster and safer than a hard reset.
  • After the reset completes, you will need to reinstall your programs and restore your files from backup.

Back up your files before you start

Before you do anything, copy all your important files to an external hard drive, USB flash drive, or cloud storage service like Google Drive, OneDrive, or Dropbox. A hard reset erases the entire drive, and once it starts, there is no way to recover your files.

If your computer is so broken that it will not start or let you log in, you cannot back up from the machine itself. In that case, you have lost access to those files — this is why backing up regularly, before problems happen, matters. If you can still boot into Windows or macOS, even slowly, open File Explorer or Finder, select your Documents, Pictures, Desktop, and Downloads folders, and copy them to an external drive.

Set the external drive aside in a safe place. You will reconnect it after the reset is complete to restore your files.

Hard reset on Windows using a bootable USB drive

On Windows, a hard reset requires a bootable USB drive with Windows installation media. You will need a second computer to create this drive, a USB drive with at least 8 GB of space, and your Windows product key or Microsoft account login.

On the second computer, go to microsoft.com/software-read/windows and read the Windows installation tool. Plug in the USB drive, open the tool, and follow the prompts to create bootable media. The tool will format the USB drive and copy the Windows files to it — this takes 10 to 20 minutes.

Plug the USB drive into the computer you want to reset. Restart the computer and press the key that opens the boot menu — this is usually F12, F2, Esc, or Del, depending on your computer brand. The key appears on the startup screen for a second or two. Select the USB drive from the boot menu. The Windows Setup screen will appear. Choose "Repair your computer," then "Reset this PC," then "Remove everything." Windows will erase the drive and reinstall itself. This takes 30 minutes to an hour.

Hard reset on Mac using Recovery Mode

On a Mac, you can hard reset using Recovery Mode without needing a second computer or USB drive. Shut down your Mac completely. Turn it back on and when ready hold Command + R until you see the Apple logo or a spinning globe. This boots into Recovery Mode.

Open Disk Utility from the Recovery Mode menu. Select your main drive (usually called "Macintosh HD" or similar) from the left sidebar. Click "Erase" at the top, choose a format (APFS for newer Macs, Mac OS Extended for older ones), and confirm. Disk Utility will erase the drive — this takes a few minutes.

Close Disk Utility and return to the Recovery Mode menu. Select "Reinstall macOS" and follow the prompts. Your Mac will read and reinstall the operating system. This takes 30 minutes to an hour depending on your internet speed. Your Mac will restart several times during this process — let it finish without interrupting.

If your Mac is very old or Recovery Mode will not start, use Internet Recovery instead: hold Command + Option + R at startup. This downloads the installation files from Apple's servers, which takes longer but works on older machines.

What to do if your computer will not start at all

If your computer will not turn on, does not show any lights or sounds, or shows only a black screen, the problem may be hardware rather than software. A hard reset will not fix a dead battery, a broken power supply, or a failed hard drive.

Check that the power cable is plugged in firmly at both ends and that the outlet works — plug a lamp into the same outlet to test it. If the computer still will not start, try removing the battery (on a laptop) and holding the power button for 30 seconds, then plugging it back in. This drains any residual power and sometimes fixes a stuck startup.

If the computer still will not start after these steps, contact the manufacturer's support line or take it to a repair shop. They can diagnose whether the problem is a failed component or a software issue that a hard reset could fix.

Reinstall your programs and restore your files

After the hard reset completes and your computer boots into a fresh operating system, you will see a setup screen asking for your language, region, and account details. Create a new user account or sign in with your Microsoft or Apple account.

Once you reach the desktop, plug in the external drive where you backed up your files. Copy your Documents, Pictures, Desktop, and Downloads folders back to your computer. Then reinstall your programs one by one — read them from the official websites or from your app store (Microsoft Store on Windows, App Store on Mac).

This process takes several hours depending on how many programs you use and how much data you backed up. You do not need to reinstall Windows or macOS again — the hard reset already did that.

When to call a professional instead

If your computer will not start, shows a black screen with error codes, or makes clicking or beeping sounds, a hard reset may not fix it and could make it worse. These are signs of hardware failure — a broken hard drive, a failed motherboard, or a power supply that is dying.

If you are not comfortable creating a bootable USB drive or navigating Recovery Mode, or if you are worried about losing data, a repair technician can do the hard reset for you. They can also recover files from a failed drive using specialized tools, which you cannot do yourself.

If your computer is under warranty, contact the manufacturer before attempting a hard reset — doing it yourself may void the warranty.

Frequently Asked Questions

Will a hard reset remove viruses and malware?

Yes. A hard reset erases the entire drive and reinstalls a clean operating system, which removes any malware, viruses, or spyware. However, if the malware came from a file you downloaded or an email attachment, you can reinfect the computer by restoring that file from backup. Scan your backup files with antivirus software before copying them back.

Can I stop a hard reset once it has started?

You should not. Interrupting a hard reset by shutting off the computer or unplugging it can leave the drive in a broken state, and the computer may not start at all afterward. Let the reset run to completion, even if it takes several hours. If the reset appears frozen for more than an hour, restart the computer and try again.

Do I need my Windows product key to hard reset?

If you are resetting the same computer with the same version of Windows, you usually do not need to enter a product key — Windows will recognize the hardware and set up automatically. If you are installing a different version of Windows or moving to a different computer, you will need a valid product key or a Microsoft account that owns a Windows license.

How long does a hard reset take?

A hard reset usually takes 30 minutes to an hour on a fast internet connection and a newer computer. Older computers, slower internet, or a full hard drive can take two to three hours. The read and installation of the operating system is the longest part. Your computer will restart several times — this is normal.

What if I forgot my password before the reset?

A hard reset erases your old password along with everything else on the drive. When the reset finishes and you see the setup screen, you can create a new account with a new password. You will not be able to access files from your old account unless you backed them up to an external drive before the reset.