What "deleting Windows" actually means

Deleting Windows means removing the Windows operating system from your computer entirely. This is different from uninstalling a single program — you are removing the foundation that everything else runs on. After you delete Windows, your computer will not start up normally unless you install a different operating system (like Linux or macOS) or reinstall Windows itself.

Most people delete Windows for one of three reasons: they want to replace it with a different operating system, they are selling or giving away the computer and want to erase everything on it, or they are troubleshooting a severely broken installation. The steps you follow depend on which situation you are in.

Before you start, understand that this process will erase all your files, programs, and settings. Back up anything you want to keep to an external drive or cloud storage first. Once Windows is gone, recovering deleted files becomes much harder.

Key Takeaways

  • Deleting Windows erases your entire operating system and all files on the drive, so back up everything important before you start.
  • The safest method is to boot from a Windows installation USB drive and use the built-in setup tool to format the drive and remove Windows.
  • If you are replacing Windows with Linux or another operating system, you can use that operating system's installer to overwrite Windows automatically.
  • If you cannot boot into Windows at all, you will need a bootable USB drive or DVD to access the deletion tools.
  • After deleting Windows, your computer will not start unless you install a new operating system or reinstall Windows.

Back up your files before you start

This is the step most people skip and then regret. Deleting Windows removes everything on the drive where Windows is installed — usually your C: drive. Any files, photos, documents, or programs stored there will be gone permanently.

Connect an external hard drive or USB drive with enough space for your files. Open File Explorer, navigate to the folders you want to keep (Documents, Pictures, Desktop, Downloads), and drag them to the external drive. If you use cloud storage like OneDrive, Google Drive, or Dropbox, make sure your important files have synced to the cloud first.

If you have programs you paid for or custom settings you want to remember, take screenshots of your desktop and any program settings. Write down the names of programs you use regularly so you can reinstall them later if needed.

Delete Windows by reinstalling it (safest method)

The safest way to delete Windows is to use Windows' own installation tool. This method works even if Windows is broken or running slowly, because you are not relying on Windows itself to do the work.

First, you need a Windows installation USB drive. On another computer, go to microsoft.com/software-download/windows and download the Windows installation tool (the version depends on whether you want Windows 10 or Windows 11). You will need a blank USB drive with at least 8 GB of space. The tool will format the drive and copy the Windows installer onto it.

Plug the USB drive into the computer where you want to delete Windows. Restart the computer and watch for a message that says "Press any key to boot from USB" or similar — this message appears for only a few seconds. Press a key immediately. If you miss it, restart again and try once more.

The Windows Setup screen will appear. Click Install Now, then accept the license terms. When you reach the screen that asks "Where do you want to install Windows?", you will see your hard drive listed. Click on it, then click Delete. Windows will ask you to confirm — click Delete again. The drive is now blank, and Windows is deleted.

At this point, you can either continue installing Windows on the blank drive, or you can stop here and install a different operating system instead. If you want to stop, shut down the computer and remove the USB drive.

Delete Windows to install a different operating system

If you want to replace Windows with Linux, macOS, or another operating system, the process is similar but you use that operating system's installer instead of the Windows tool.

For Linux, download an ISO file from the distribution you want (Ubuntu, Fedora, Linux Mint, and others are free). Use a tool like Balena Etcher or Rufus to write the ISO file to a USB drive. Boot from the USB drive the same way you would for Windows — restart, press the key to boot from USB, and watch for the installer. Most Linux installers will ask if you want to erase the entire disk and install Linux. Say yes, and Linux will delete Windows and install itself in one process.

For macOS, you can only install it on Apple computers. If you have a Mac and want to remove Windows that was installed through Boot Camp, restart the computer, hold down the Option key, and select the macOS drive. Once you are back in macOS, open System Preferences, go to Startup Disk, and select the macOS drive as your default. Then use Disk Utility to erase the Windows partition.

Delete Windows when your computer will not start

If your computer will not start at all, or Windows is so broken that you cannot access the installation tool, you still have options.

Create a bootable USB drive on another computer using the Windows installation tool or a Linux installer, as described above. Plug it into the broken computer and restart. If the computer does not automatically boot from the USB drive, you may need to enter the boot menu during startup. This is usually done by pressing Delete, F2, F12, or Esc during the first few seconds after you turn the computer on — the exact key depends on your computer's manufacturer.

Once you are in the boot menu, select the USB drive as the device to boot from. The installer will load, and you can proceed to delete Windows using the steps above. If you cannot get into the boot menu, check your computer's manual or search online for "[your computer model] boot menu key".

What happens after you delete Windows

Once Windows is deleted and you have not installed anything else, your computer will show an error message when you turn it on. This is normal — the computer is looking for an operating system and cannot find one. The computer is not broken; it simply has nothing to run.

At this point, you have three choices. You can insert the Windows installation USB drive and reinstall Windows by following the on-screen prompts. You can insert a Linux installation USB drive and install Linux instead. Or you can leave the computer off until you decide what to do next.

If you are selling or giving away the computer and do not plan to install anything else, the hard drive is now blank and secure. The previous owner's data is gone. You can include the Windows installation USB drive with the computer so the new owner can install an operating system themselves, or you can keep it and let them handle their own installation.

Troubleshooting common problems

If the computer does not boot from the USB drive, the USB drive may not have been created correctly. On another computer, use the Windows installation tool or Balena Etcher again, making sure to select the correct USB drive. Some computers also have a setting in the BIOS that prevents booting from USB — if this is the case, you will need to restart, enter the BIOS setup (usually by pressing Delete or F2 during startup), and look for a setting called "Boot Order" or "Secure Boot". Change it to allow USB boot.

If you see a message that says "No bootable device found" after deleting Windows, this is expected. Insert the installation USB drive for the operating system you want to install, restart, and boot from the USB drive again.

If the deletion process stops or freezes, force shut down the computer by holding the power button for 10 seconds. Wait a minute, then restart and try again. If it freezes repeatedly, the USB drive may be corrupted — try creating it again on another computer.

Frequently Asked Questions

Can I delete just part of Windows and keep the rest?

No. Windows is a complete system, and removing pieces of it will break the entire operating system. If you want to remove programs or features, uninstall them individually through Settings. If you want to delete Windows itself, you must remove all of it and install a new operating system or reinstall Windows.

Will deleting Windows erase my files on other drives?

No, but only if your files are on a different physical drive. If you have a C: drive (where Windows lives) and a D: drive (where you store files), deleting Windows from C: will not touch D:. However, if your files are on the same drive as Windows, they will be erased. Check File Explorer to see which drive your files are on before you start.

Can I undo deleting Windows?

Not easily. Once the drive is formatted during the deletion process, recovering files requires specialized software and is often unsuccessful. This is why backing up before you start is so important. If you accidentally deleted Windows and need your files back, stop using the computer immediately and contact a data recovery service.

Do I need a product key to delete Windows?

No. Deleting Windows requires no key, no account, and no permission. You can delete it from any computer you physically own or have permission to modify. If you later want to reinstall Windows, you may need a product key depending on your version.

What if my computer came with Windows pre-installed?

You can still delete it. The steps are the same. However, if you ever want to reinstall Windows later, you may need the product key that came with your computer. Check your computer's documentation or look for a sticker on the back or bottom of the device that shows the key.