What a complete reset does and when you need one
A complete reset erases everything on your computer — all files, programs, settings, and accounts — and reinstalls the original operating system. When you turn it back on, it looks and works like it did the day you bought it. This is different from a restart (which just reboots) or a refresh (which keeps your personal files but removes programs).
You might need a complete reset if your computer has become slow or unstable after years of use, if malware has infected it and you want a clean slate, if you're selling or giving away the device, or if you're troubleshooting a problem that nothing else has fixed. A reset is also the most thorough way to remove your personal data before passing a computer to someone else.
The process takes 30 minutes to several hours depending on your computer's speed and whether you're reinstalling from a USB drive or downloading files during the reset. You'll need your Windows or Mac product key or recovery information, a stable internet connection, and external storage for any files you want to keep.
Key Takeaways
- Back up all your files to an external drive or cloud storage before starting, because a complete reset deletes everything on your computer.
- Windows computers use Settings > System > Recovery > Reset this PC, while Mac computers use System Settings > General > Transfer or Reset.
- You can choose to keep your Windows installation files and remove only your personal files, or erase the entire drive for a more thorough reset.
- After the reset finishes, you'll need to sign in with your Microsoft or Apple account and reinstall any programs you use regularly.
- Keep your Windows or Mac product key, recovery code, or authentication method nearby before you start, because you may need it to verify your identity.
How to reset a Windows computer
On Windows 10 or 11, open Settings by pressing the Windows key and typing "Settings", then click the app that appears. Go to System in the left sidebar, then scroll down and click Recovery. You'll see a button labeled "Reset this PC" — click it to begin.
Windows will ask whether you want to "Keep my files" or "Remove everything". If you choose Keep my files, Windows removes all your programs and settings but preserves your Documents, Pictures, Desktop, and Downloads folders. If you choose Remove everything, the entire drive is wiped clean. For a computer you're selling or giving away, choose Remove everything. For your own computer that you're troubleshooting, Keep my files is usually faster and safer.
Next, Windows asks whether to reinstall from the cloud or from a local reinstall file. Cloud reinstall downloads a fresh copy of Windows during the reset, which takes longer but is more reliable if your current Windows installation is corrupted. Local reinstall uses recovery files already on your computer, which is faster but only works if those files are still intact.
The reset will take 20 minutes to an hour. Your computer will restart several times and show a progress screen. Do not turn off the computer or unplug it during this time. When it finishes, you'll see the Windows setup screen where you sign in with your Microsoft account and choose your language and keyboard layout.
How to 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. You'll see options to erase the Mac and reinstall macOS.
Before you start, make sure you're signed out of iCloud. Go to System Settings > [Your Name] > Sign Out, enter your Apple ID password, and choose to keep or remove a copy of your iCloud data on the Mac. If you don't sign out first, the reset may not complete properly.
Click Erase All Content and Settings. The Mac will ask you to enter your password to confirm. It will then restart and show a progress bar. The process usually takes 30 minutes to an hour. When it finishes, you'll see the macOS setup screen where you can sign in with your Apple ID and choose your language and region.
If you have an older Mac running Big Sur or earlier, the process is different. Open System Preferences, click Erase and Reinstall, and follow the prompts. If you're unsure which version you have, click the Apple menu and select About This Mac — the version number appears under macOS.
Backing up your files before you reset
The most important step is backing up anything you want to keep. Once the reset starts, files on your computer are difficult or impossible to recover. Connect an external hard drive or USB drive to your computer and copy your Documents, Pictures, Desktop, Downloads, and any other folders that contain files you created.
On Windows, you can also use File History to back up automatically. Go to Settings > System > Storage > Advanced storage options > Backup options, click "Back up now", and choose your external drive. On Mac, Time Machine does the same thing — go to System Settings > General > Time Machine and click "Set Up Time Machine".
If you prefer not to use an external drive, you can upload files to cloud storage like Google Drive, OneDrive, or Dropbox. This takes longer for large files but means you don't need to carry a physical drive. Just remember that cloud storage accounts are tied to your email, so make sure you know your password before you reset.
What to do after the reset is complete
When your computer finishes resetting and you see the setup screen, sign in with your Microsoft account (Windows) or Apple ID (Mac). This connects your computer to your account and downloads your settings, wallpaper, and browser bookmarks if you've saved them to the cloud.
Next, reinstall the programs you use regularly. On Windows, go to the Microsoft Store or the websites of programs you need — Microsoft Office, Chrome, Firefox, Zoom, Slack, or whatever you use daily. On Mac, use the App Store or download programs from their official websites. This takes time, so do it in stages rather than all at once.
Restore your backed-up files by connecting your external drive or signing into your cloud storage account. Copy your files back to your Documents, Pictures, and other folders. If you used File History or Time Machine to back up, you can restore from that backup instead — Windows and Mac both have built-in tools to do this automatically.
Finally, check your security settings. On Windows, go to Settings > Privacy & Security > Windows Security and make sure Windows Defender is turned on. On Mac, go to System Settings > Privacy & Security and check that FileVault is enabled. These protections come with your operating system and don't cost anything.
Troubleshooting a reset that won't start or gets stuck
If the reset button is grayed out or won't respond, your computer may not have enough free space. Delete large files or programs you don't use, or connect an external drive and move files there. Windows needs at least 10 gigabytes of free space to reset. On Mac, you need about 35 gigabytes.
If the reset starts but gets stuck on a progress screen for more than two hours, your computer may have a hardware problem or a corrupted file. Wait at least three hours before doing anything — resets can be slow on older computers. If it's still stuck after three hours, force the computer to shut down by holding the power button for 10 seconds, then try the reset again.
If you see an error message during the reset, write down the error code and search for it on the Microsoft Support website (for Windows) or Apple Support website (for Mac). These sites have specific troubleshooting steps for each error. Common errors are usually caused by a corrupted recovery file, which you can fix by downloading a fresh copy from Microsoft or Apple.
If your computer won't turn on after the reset, or if it gets stuck on the setup screen, you may need to reinstall Windows or macOS from a USB drive. This is more advanced, but Microsoft and Apple both provide free tools to create a bootable USB drive on another computer. The process takes about an hour and requires another working computer.
Resetting a computer you're selling or giving away
If you're passing your computer to someone else, use the "Remove everything" option on Windows or "Erase All Content and Settings" on Mac. This wipes the entire drive, not just your files. A complete wipe is much harder to reverse than a regular delete, so it's the safest way to remove your personal data.
Before you reset, sign out of all your accounts. On Windows, go to Settings > Accounts and remove any accounts other than the default one. On Mac, go to System Settings > [Your Name] and click Sign Out. This prevents the new owner from accidentally accessing your email, photos, or other personal information.
After the reset finishes and you see the setup screen, don't sign in with your own account. Leave the computer at the setup screen so the new owner can set it up with their own account. If you do sign in, the computer will be linked to your Microsoft or Apple account, and the new owner won't be able to use it without your password.
Frequently Asked Questions
Will a reset remove viruses or malware?
A complete reset removes most malware because it erases the entire drive and reinstalls the operating system. However, some advanced malware can hide in your computer's firmware (the code that runs before Windows or macOS loads). If you suspect a serious infection, consider taking your computer to a professional before resetting, or use antivirus software like Malwarebytes to scan after the reset is complete.
Can I undo a reset after it's finished?
No. Once the reset is complete and you've set up your computer again, you cannot undo it. This is why backing up your files beforehand is essential. If you realize you need a file after the reset, you may be able to recover it from your backup or from cloud storage, but recovery from the computer itself is not possible.
Do I need my product key to reset my computer?
On Windows, you usually don't need your product key if you're resetting the same computer you've been using. Windows recognizes your hardware and reactivates automatically after the reset. If you're moving Windows to a different computer, you'll need the product key. On Mac, you don't need a product key — just sign in with your Apple ID.
How long does a complete reset take?
A reset usually takes 30 minutes to two hours on a modern computer with a solid-state drive. Older computers with traditional hard drives may take three to four hours. The time depends on your computer's speed, how much data is being erased, and whether you're downloading Windows or macOS from the internet during the reset.
What if I forgot my Windows or Mac password?
If you've forgotten your password, you can still reset your computer, but you'll need to verify your identity first. On Windows, the reset screen will ask you to enter a code sent to your email or phone number associated with your Microsoft account. On Mac, you'll need your Apple ID and password. If you don't have access to either, contact Microsoft or Apple support before attempting a reset.