How do I reset Windows or macOS without losing my files?
Windows can reset and keep personal files; macOS erases and reinstalls, restoring your files from a backup. Both need the same preparation, and both remove your programs.
- Difficulty
- intermediate
- Time
- 2 hr
- Read
- 4 min
- Safety
- warning
Short answer
Back up first, always. On Windows, the reset option offers to keep personal files: it reinstalls the system and removes all your programs, leaving documents in place. On a modern Mac, the equivalent is erase all content and settings, followed by restoring from Time Machine or your backup — the files come back from the backup rather than surviving in place. Either way you will spend an evening reinstalling programs and signing back in.
Do this first
The reset is a genuinely useful tool for a machine that has accumulated years of software, has an unexplained fault that survives safe mode diagnosis, or is being handed on. It is also a day of your life, so it is worth being clear about what it does and does not solve.
Safety
Step by step
- Decide whether a reset is the right tool.It fixes software rot, mysterious instability that is not hardware, and stubborn malware. It does not fix a failing drive, faulty memory, overheating or an underpowered machine. Confirm the hardware is sound first, or you will reset onto a fault.
- Back up properly, and verify.Full file backup, checked by restoring a sample. Then note everything you will need afterwards: program licence keys, which software you actually use, browser bookmarks and saved passwords exported or synced, email account settings, and anything stored inside an application rather than in a folder.
- Write down your account details.The system account, the email address it uses, its password, and your two-factor method. Being unable to sign back in after a reset is a genuinely common and miserable outcome, particularly where the two-factor method was an app on a device you have since replaced.
- Windows: choose keep my files.The reset option in the recovery settings offers to keep personal files or remove everything. Keeping files reinstalls the system and removes every installed program while leaving your user folders. You then reinstall the programs you want.
- Windows: choose cloud or local reinstall.A cloud reinstall downloads a fresh copy of the system, which is slower but avoids reusing damaged local files. A local reinstall rebuilds from what is on the machine, which is faster and can carry a fault forward. If you are resetting to fix something, use the cloud option.
- Mac: erase all content and settings.Recent Macs offer this in the system settings, and it wipes user data and settings while leaving the system installed — the closest equivalent to a factory reset. Older Macs use recovery mode to erase the disk and reinstall. Neither keeps your files, so the backup is not optional.
- Restore in the right order.System first, then sign in, then updates, then your files, then programs, then settings. Restoring an entire user profile from a backup on a Mac is handled by the migration tool, which is quick and reliable. On Windows, copy the folders back rather than trying to restore a profile wholesale.
- Reinstall only what you use.The great benefit of a reset is arriving at a machine with nothing on it. Resist reinstalling the whole previous list; put back what you have used in the last three months and add the rest as you miss it.
- Take an image once it is set up.The machine will never be cleaner. An image now is the fastest possible recovery for the next few years.
If it doesn't work
Reset fails partway and the machine will not start
Cause: Interrupted reset, or a drive with errors — Fix: Use the recovery environment or bootable installation media to erase and reinstall cleanly, then restore from the backup. This is the scenario the backup exists for.
Not enough space to reset
Cause: The reset needs working room on the drive — Fix: Free several gigabytes first, moving large folders to an external drive. If the drive is chronically full, reinstalling from bootable media after an erase is the cleaner route.
Cannot sign in after a Mac reset
Cause: Activation lock or a forgotten account password — Fix: You need the account details the machine was signed into. There is no way around this by design, and it is why the details are written down first. For a second-hand machine, this is the check to make before buying.
Programs gone but the machine is still slow
Cause: The cause was hardware, not software — Fix: Check drive health, memory and temperatures. A reset was never going to fix any of those.
Old files reappear in a Windows.old folder
Cause: Normal — Windows keeps the previous installation for a limited period — Fix: Check it for anything you missed, then remove it with the disk clean-up tool's option for previous installations to reclaim a large amount of space.
Questions people ask
Will a reset remove malware?
Usually, and it is a reasonable response to a serious infection. It does not remove firmware-level infections, which are rare, and it does not help if the malware is reintroduced by restoring the same infected files. Restore documents rather than programs.
Do I lose my Windows licence?
No. Modern licences are tied to the hardware and reactivate automatically after a reset or reinstall on the same machine.
Is a reset the same as a clean install?
Close, and a clean install from bootable media is cleaner still, because it does not carry anything forward. If you are resetting to fix a fault, the clean install is the more thorough choice.
How long does it take?
The reset itself is often under an hour. The reinstalling, signing in, updating and reconfiguring is the real cost — plan an evening, and expect to find one more thing you needed for a fortnight afterwards.