What "delete everything" actually means on a PC
Deleting everything on your PC means removing all your personal files, programs, and settings — but the method depends on what you want to keep. A factory reset removes your files and returns Windows to its original state. A clean Windows installation wipes the drive completely and reinstalls the operating system from scratch. A secure wipe overwrites deleted data so it cannot be recovered. Most people need a factory reset, which takes 30 minutes to two hours and requires your Windows password or a Microsoft account.
Before you start, understand that these actions are permanent. Files deleted this way do not go to the Recycle Bin — they are removed immediately. Back up anything you want to keep to an external drive, cloud storage, or another computer first. If you are selling or giving away the PC, a factory reset is usually enough. If you are concerned about data recovery, you will need a secure wipe tool.
Key Takeaways
- A factory reset removes your files and programs but keeps Windows installed; it is the fastest option for most people and takes 30 minutes to two hours.
- You need your Windows password or Microsoft account login to start a factory reset, and the PC must have enough battery or be plugged in for the entire process.
- Back up any files you want to keep before starting, because deleted files cannot be recovered after a factory reset.
- If you are selling the PC, a factory reset is usually sufficient; secure wipe tools are only necessary if you work with sensitive data.
- A clean Windows installation requires a USB drive and a Windows license key, and it wipes the entire drive including the operating system.
Factory reset: the fastest way to delete everything
A factory reset removes all your files, programs, and user accounts while keeping Windows installed. Open Settings (press Windows key + I), go to System, then scroll down and click Recovery. Under "Reset this PC," click the Reset PC button. Windows will ask whether you want to keep your files or remove them — choose Remove everything.
Next, Windows asks whether to reinstall from the cloud or use local reinstallation. Cloud reinstallation downloads a fresh copy of Windows from Microsoft's servers and takes longer but is more reliable if your Windows installation is corrupted. Local reinstallation uses files already on your PC and is faster. Choose whichever matches your situation. Windows will then show you a list of drives to reset — select only your main drive (usually C:) unless you want to erase external drives too.
The reset process takes 30 minutes to two hours depending on your drive size and PC speed. Your PC will restart several times. Do not turn it off or unplug it during this time. When it finishes, you will see the Windows setup screen, where you can create a new user account or sign in with a Microsoft account. Your PC is now blank and ready to use or give away.
What you need before starting a factory reset
You must know your Windows password or have access to your Microsoft account email and password. If you forgot your password, you can reset it on another device by going to account.microsoft.com, clicking Security, then Password. Write down the new password before you start the reset. If you do not have a Microsoft account and only use a local account, you will need that local password.
Your PC must have at least 20 percent battery remaining, or it should be plugged into power. A factory reset that stops halfway through can leave your PC in an unusable state. Make sure you have a stable internet connection if you choose cloud reinstallation, because the download can be 3 to 5 gigabytes. If your internet is slow or unreliable, use local reinstallation instead.
Back up any files you want to keep. Copy them to an external USB drive, a cloud service like OneDrive or Google Drive, or another computer. This includes documents, photos, videos, and any files in your Desktop or Documents folders. Programs do not need to be backed up — you can reinstall them later from the Microsoft Store or the publisher's website.
Clean Windows installation: removing everything including the operating system
A clean installation wipes your entire drive and reinstalls Windows from the beginning. This is more thorough than a factory reset and is useful if you want to change from one version of Windows to another or if your Windows installation is severely corrupted. You will need a USB drive with at least 8 gigabytes of space and a Windows license key (the product key that came with your PC or that you purchased).
Go to microsoft.com/software-download/windows and download the Windows installation tool. Plug in your USB drive, open the tool, and follow the steps to create a bootable USB. Then restart your PC and press the key that opens the boot menu — this is usually F12, F2, Esc, or Del, depending on your PC manufacturer. Select the USB drive from the boot menu. The Windows installer will start and ask you to choose a drive to install to. Select your main drive (usually C:) and click Delete to erase it completely. Then click Next to begin the installation.
The installation takes 20 to 40 minutes. Your PC will restart several times. When it finishes, you will be asked to enter your Windows license key. If you do not have one, you can use Windows for free with some limitations (a watermark will appear on your desktop). After setup completes, your drive is completely blank and Windows is freshly installed.
Secure wipe: making deleted data unrecoverable
A factory reset or clean installation removes your files from view, but the data remains on your drive and can be recovered with special software. If you work with sensitive information — financial records, medical data, passwords, or proprietary files — you should use a secure wipe tool that overwrites the deleted data multiple times, making it unrecoverable.
Windows does not include a built-in secure wipe tool. Third-party options include DBAN (Darik's Boot Negator), which is free and wipes an entire drive, and Eraser, which securely deletes individual files. DBAN is more thorough but requires you to boot from a USB drive and will erase everything on your PC. Eraser lets you choose which files to wipe and runs from within Windows. Both are free. Download the tool, follow its instructions to create a bootable USB (for DBAN) or install it (for Eraser), then run the wipe process. This can take several hours depending on your drive size.
If you are selling your PC, a factory reset is usually sufficient for most buyers. Use a secure wipe only if you have handled sensitive data or if you are concerned about data recovery.
What happens after you delete everything
After a factory reset or clean installation, your PC is blank and ready to set up as new. You will be asked to create a user account or sign in with a Microsoft account. Choose a strong password — at least 12 characters with uppercase, lowercase, numbers, and symbols. You can then reinstall your programs from the Microsoft Store, the publisher's website, or installation discs you saved.
If you are giving the PC to someone else, stop after the reset and let them complete the setup. Do not create a user account for them — they should do that themselves so they own the account from the start. If you are selling the PC, you can either stop after the reset and let the buyer set it up, or you can complete the setup and create a temporary account for testing purposes. Make sure to remove your Microsoft account from the PC before handing it over.
Your files are gone permanently. If you realize you need something you deleted, you cannot recover it through Windows. If you did not use a secure wipe tool, a data recovery service might be able to retrieve some files, but this is expensive (typically $300 to $3,000) and not may provide to work.
Troubleshooting a stuck or failed reset
If your PC gets stuck during a factory reset, do not force it off immediately. Wait at least 30 minutes — the reset might still be working. If the screen has not changed after an hour, or if you see an error message, you can force a shutdown by holding the power button for 10 seconds. Your PC may not start normally after this. Try restarting it and pressing F8 or Shift+F8 repeatedly as it boots to enter Safe Mode, then attempt the factory reset again.
If the reset fails repeatedly or your PC will not start, you may need a clean Windows installation instead. This requires a USB drive and a Windows license key, but it is more reliable when Windows is corrupted. If you do not have a license key and cannot recover one, you can contact Microsoft Support or visit a local computer repair shop.
Frequently Asked Questions
Can I undo a factory reset?
No. Once a factory reset completes, your files are permanently deleted. If you did not back them up, they are gone. A data recovery service might retrieve some files if you did not use a secure wipe tool, but this is expensive and not may provide.
Do I need a Windows license key to factory reset?
No. A factory reset reinstalls the same version of Windows that came with your PC and does not require a license key. You only need a license key if you are doing a clean installation of a different Windows version or if Windows asks you to activate after the reset.
How long does a factory reset take?
A factory reset usually takes 30 minutes to two hours, depending on your drive size and PC speed. Do not turn off your PC or unplug it during this time. The process includes multiple restarts, which is normal.
Will a factory reset remove viruses?
Yes. A factory reset removes all programs and files, including malware and viruses. However, if a virus infected your BIOS or firmware (rare), a factory reset will not remove it. For most people, a factory reset is sufficient to remove malware.
What if I forgot my Windows password?
You can reset your password on another device by going to account.microsoft.com, clicking Security, then Password. If you use a local account instead of a Microsoft account, you will need to use password recovery tools or contact Microsoft Support for help.