What a hard reset does and when you need one
A hard reset wipes your computer back to the state it left the factory — erasing all your files, programs, and settings, then reinstalling the operating system fresh. It is different from a restart (which just reboots) or a soft reset (which clears temporary files but keeps your data). A hard reset solves problems that survive restarts: malware that hides in system files, corrupted Windows or macOS installations that won't boot, or a computer so slow or unstable that nothing else works.
The trade-off is total: everything you have not backed up disappears. Before you start, move any files you want to keep to an external drive, cloud storage, or another computer. Once the reset begins, there is no undo.
Key Takeaways
- Back up all your files to an external drive or cloud storage before starting, because a hard reset erases everything on your computer.
- Windows computers reset through Settings > System > Recovery > Reset this PC, while Mac computers use System Settings > General > Transfer or Reset.
- You will need your Windows product key or Apple ID password to complete the reset and sign back in afterward.
- The reset process takes 30 minutes to two hours depending on your computer speed and whether you keep or remove personal files during the process.
- If your computer will not boot at all, you may need to create a bootable USB drive on another computer to reset it.
How to hard reset a Windows computer
On Windows 10 or 11, go to Settings (press the Windows key and type "Settings"), then select System on the left sidebar. Scroll down and click Recovery. Under "Reset this PC," click the blue Reset PC button.
Windows will ask whether you want to Keep my files or Remove everything. "Keep my files" erases programs and settings but preserves your documents, photos, and downloads — useful if Windows is corrupted but your files are fine. "Remove everything" is a true hard reset: it deletes all personal data and reinstalls Windows completely. Choose based on what you are trying to fix. If malware or a virus is the problem, choose "Remove everything."
Next, Windows asks whether to reinstall from the cloud or from local files. Cloud reinstall downloads Windows fresh from Microsoft's servers (slower, but guarantees a clean copy). Local reinstall uses a backup already on your computer (faster, but may carry over some corruption). For a malware problem, use cloud reinstall.
Windows will show you a summary of what will happen, then ask you to confirm. The reset begins when ready and typically takes 45 minutes to two hours. Your computer will restart several times. Do not unplug it or force it off — let it finish.
How to hard reset a Mac computer
On macOS Monterey or newer, click the Apple menu in the top-left corner and select System Settings. Click General in the sidebar, then scroll down and click Transfer or Reset. Select Erase All Content and Settings.
macOS will warn you that this erases all data and cannot be undone. Click Continue, then enter your Apple ID password. If you have FileVault encryption turned on (most modern Macs do), macOS will ask whether to keep or erase your recovery key — choose erase unless you plan to reuse this key on another Mac.
The reset takes 30 to 60 minutes. Your Mac will restart and show a setup screen when it finishes, just like a new computer. You can then sign in with your Apple ID to restore apps and files from iCloud backup, or set up as a new Mac.
On older Macs running Big Sur or earlier, the process is different: restart your Mac and hold Command + R to enter Recovery Mode, then use Disk Utility to erase the drive and reinstall macOS. If you are unsure which version you have, click the Apple menu and select "About This Mac" — the version number appears under "macOS."
What to do if your computer will not start
If your computer will not boot into Windows or macOS at all, you cannot use the Settings menu to reset it. Instead, you need to create a bootable USB drive on another computer and use that to reset the broken one.
For Windows, go to microsoft.com/software-read/windows11 (or windows10 if your computer is older) on a working computer. read the Windows installation tool, plug in a blank USB drive of at least 8 GB, and follow the tool's steps to create a bootable drive. Then plug that drive into the broken computer, restart it, and press F12, F2, or Delete during startup to enter the boot menu. Select the USB drive and follow the Windows installation prompts to reset.
For Mac, use another Mac to create a bootable macOS installer: go to the App Store, search for the macOS version you want (Monterey, Ventura, Sonoma), and read it. Open Terminal (in Applications > Utilities) and run the command to create a bootable USB drive — Apple's support page has the exact command for your macOS version. Plug the drive into the broken Mac, restart while holding Option, select the USB drive, and reinstall macOS.
If you do not have access to another computer, contact a local repair shop — they can create the bootable drive and run the reset for you.
Recovering your files and programs after the reset
Once your computer finishes resetting and you sign in, it is blank except for the operating system. You have three ways to restore your data: from a backup you made before the reset, from cloud storage, or by reinstalling programs and copying files manually.
If you backed up to an external drive using Windows Backup or Mac Time Machine, plug the drive in and the system will offer to restore from it. If you backed up to cloud storage (OneDrive, Google Drive, iCloud, Dropbox), sign in to your account and read your files. If you used neither, you will need to reinstall each program from its original source and copy files from anywhere you saved them outside your computer.
Reinstalling Windows programs: go to the Microsoft Store or the publisher's website, read the installer, and run it. For Mac, use the App Store or read directly from the publisher. Keep your Windows product key or Apple ID password handy — you will need them to sign in and reactivate your system.
When to call a professional instead
A hard reset solves most software problems, but not all hardware failures. If your computer has a failing hard drive, broken motherboard, or damaged RAM, a reset will not help — the computer will still malfunction or fail to start.
Signs that the problem is hardware, not software: your computer makes clicking or beeping sounds, shows error messages about disk errors or memory, overheats constantly even when idle, or will not start no matter what you try. In those cases, take it to a repair shop rather than attempting a reset.
Also call a professional if you have encrypted files you cannot access, if you forgot your Windows product key or Apple ID password (you will need one to complete the reset), or if you are not comfortable creating a bootable USB drive. A technician can handle these situations faster and with less risk of data loss.
Frequently Asked Questions
Will a hard reset remove viruses and malware?
Yes, a hard reset removes almost all malware because it erases the entire operating system and reinstalls it fresh. Malware that lives in your files will also be erased if you choose "Remove everything" on Windows or "Erase All Content and Settings" on Mac. The only exception is malware in your BIOS or firmware, which is extremely rare and requires specialized tools to remove.
Can I hard reset my computer without losing my files?
On Windows, yes — choose "Keep my files" during the reset process. This erases programs and settings but preserves documents, photos, and downloads. On Mac, "Erase All Content and Settings" removes everything, so you must restore from a Time Machine backup or cloud storage afterward. Always back up before resetting, regardless of which option you choose.
How long does a hard reset take?
A typical hard reset takes 45 minutes to two hours on Windows and 30 to 60 minutes on Mac, depending on your computer's speed and storage size. Older computers or those with large drives may take longer. Do not interrupt the process — let it run to completion even if it seems stuck.
Do I need my product key or password to hard reset?
You will need your Windows product key or Apple ID password to sign back in after the reset finishes. If you have forgotten either one, you can still reset, but you will not be able to complete the setup. Windows allows you to create a local account without a key, but you will not have full functionality. For Mac, you must have your Apple ID password or you cannot proceed past the setup screen.
What if I change my mind during the reset?
Once the reset process starts, you cannot safely stop it. Forcing your computer off mid-reset can leave it in an unusable state. If you realize you made a mistake before clicking the final confirmation button, close the settings window and start over. Once the actual erasing begins, let it finish.