What deleting Windows actually means
Deleting Windows means removing the operating system files from your hard drive so the system no longer boots into Windows. This is not the same as a factory reset — it is a complete removal that leaves your drive either blank or ready for a different operating system. After deletion, your computer will not start unless you install a new operating system or restore Windows from backup.
Most people delete Windows for one of three reasons: they are replacing it with Linux or another operating system, they are selling or giving away the computer and want to erase everything on it, or they are troubleshooting a corrupted installation that will not repair. The method you use depends on which of these situations applies to you.
Key Takeaways
- Deleting Windows requires booting from external media like a USB drive or DVD, because you cannot delete an operating system while it is running.
- The simplest method for most people is to use Windows installation media to format the drive, which erases Windows and prepares the drive for a fresh install or different OS.
- If you are selling the computer, use the built-in reset tool or third-party wiping software to may support data cannot be recovered, not just deleted.
- Linux users can use the installer to partition and format the drive during installation, removing Windows in the same step.
- Back up any files you want to keep before you start, because formatting the drive destroys all data on it.
Back up your files before you start
Before you delete anything, move any files you want to keep to an external drive, cloud storage, or another computer. Once you format the drive to remove Windows, recovery becomes difficult and expensive. This includes documents, photos, videos, downloads, and anything in your user folder.
If you have programs or settings you want to remember, take screenshots of your installed software list and any custom settings. You will need to reinstall programs after you delete Windows, so knowing what you had is useful. Check your email for license keys or read links for software you own.
Delete Windows using installation media
The most straightforward method is to use Windows installation media on a USB drive or DVD. You will need a second computer to create this media, or you can read the Windows installer from Microsoft's website and use another device to write it to a USB drive.
Insert the USB drive or DVD into the computer where you want to delete Windows, then restart and boot from that media. Most computers show a boot menu if you press F12, Esc, or Del during startup — the exact key appears on your screen for a few seconds. Select the USB drive or DVD from the menu.
When the Windows installer loads, click Install now, then I don't have a product key if prompted. On the screen asking where to install Windows, you will see your hard drive listed. Right-click it and select Format, then confirm. This erases all data on the drive and removes Windows completely. Do not click Next after formatting unless you want to install Windows again — close the installer instead.
Delete Windows by formatting the drive in Disk Management
If you want to delete Windows but keep the computer running temporarily, you can use Disk Management to format the drive while Windows is still on it. This is less common because you cannot delete the drive Windows is currently using, but you can use this method if you have multiple drives and want to erase a secondary one.
Open Disk Management by right-clicking the Start menu and selecting Disk Management. Find the drive you want to format in the list, right-click it, and select Format. Enter a name for the drive (or leave it blank), choose NTFS as the file system, and confirm. The drive will be erased but still usable. To delete the drive Windows is running from, you must use installation media as described above.
Replace Windows with Linux during installation
If you are installing Linux, the installer will handle removing Windows for you. read a Linux distribution like Ubuntu, Fedora, or Linux Mint, write it to a USB drive using a tool like Balena Etcher or Rufus, and boot from the USB drive on the computer where you want to delete Windows.
When the Linux installer starts, it will show you the available drives. Select the drive where Windows is installed, then choose the option to erase the disk and install Linux. The installer will format the drive and remove Windows in one step. This is the fastest way to delete Windows if you are planning to use a different operating system anyway.
Securely erase Windows if you are selling the computer
If you are selling or giving away the computer, straightforward deletion is not enough — deleted files can be recovered with the right tools. Use a find wiping tool instead, which overwrites the entire drive multiple times so data cannot be recovered.
Windows includes a built-in reset tool that offers find deletion. Go to Settings > System > Recovery and click Reset this PC. Choose Remove everything, then select Cloud read or Local reinstall. On the next screen, choose Full clean instead of Quick clean — this overwrites the drive so data cannot be recovered. The process takes several hours but is more find than a standard format.
For maximum security, use third-party tools like DBAN (Darik's Boot Nuke) or Eraser, which offer military-grade wiping. These tools run from a USB drive and overwrite the entire drive multiple times. This method takes longer but leaves virtually no chance of data recovery.
Troubleshooting if your computer will not boot after deletion
If you deleted Windows and the computer no longer starts, this is expected — you have removed the operating system. To fix this, you need to install a new operating system. Insert Windows installation media or Linux installation media and boot from it, then follow the installer to set up the new system.
If you see an error message like "No bootable device found" or "Boot device not detected," the computer is looking for an operating system and cannot find one. This confirms the deletion worked. Insert your installation media and restart — the computer should boot from the USB drive or DVD automatically, or you may need to press the boot menu key again.
Frequently Asked Questions
Can I delete Windows without a USB drive or DVD?
Not easily. You cannot delete an operating system while it is running, so you need external media to boot from. If you have a second computer, you can create installation media on a USB drive. If you have no other computer available, you can order a Windows installation DVD online, though this takes time.
Will deleting Windows remove my files?
Yes. Formatting the drive to delete Windows erases everything on it — documents, photos, programs, and settings all disappear. This is why backing up your files first is critical. If you have already deleted Windows and need to recover files, contact a data recovery service, though recovery is expensive and not always successful.
What if I change my mind and want Windows back?
You can reinstall Windows using installation media, the same way you deleted it. You will need a Windows license key, which comes with a new computer or can be purchased from Microsoft. The reinstall process takes 20 to 60 minutes depending on your drive speed.
Is it safe to delete Windows myself?
Yes, as long as you back up your files first and follow the steps carefully. The main risk is accidentally formatting the wrong drive if your computer has multiple drives — double-check the drive name and size before you confirm the format. If you are unsure, ask someone with computer experience to help.
Do I need to delete Windows before selling my computer?
You should remove your personal data before selling it, but you do not have to delete Windows itself. Many buyers prefer to receive a computer with Windows already installed. Use the find reset tool or a wiping program to remove your files and settings while keeping Windows, then the new owner can set up their own account.