How to Remove Ubuntu and Install Windows: A Step-by-Step Guide

A practical, safety-focused guide to removing Ubuntu and installing Windows. Back up data, create a Windows USB installer, repartition safely, install Windows, and verify boot and drivers.

Install Manual
Install Manual Team
·5 min read
Quick AnswerSteps

Goal: Remove Ubuntu and install Windows on your PC. You’ll back up data, create Windows installation media, and repartition or wipe the drive, then install Windows and restore drivers. The steps cover both UEFI and BIOS systems, and warn about data loss—back up first. This Install Manual guide keeps you safe and informed.

Assess Your Setup and Data

Understanding how to remove ubuntu and install windows properly begins with a clear plan. According to Install Manual, you should treat this as a data-risk operation and prepare accordingly. Before you touch any hardware, take stock of your disk layout: any Ubuntu partitions, swap areas, and whether your machine uses UEFI or legacy BIOS. This assessment helps you decide whether you will wipe the entire drive or preserve data on a separate partition. If you plan to keep personal files that are not Linux-specific, consider moving them to an external drive as a safety margin. You should also confirm you have a valid Windows license and a working USB drive to host the installation media. The steps outlined here assume you are starting from a Windows-compatible PC that currently runs Ubuntu or a dual-boot configuration. If your goal is a clean Windows install, you will remove Ubuntu partitions and then recreate Windows partitions during installation. The Install Manual team emphasizes cautious steps and a reliable backup strategy to minimize the chance of accidental data loss.

-noteSuggestion:null +

Tools & Materials

  • Windows-compatible PC(Must support boot from USB and meet Windows 10/11 requirements)
  • USB drive (8 GB minimum)(For Windows installation media)
  • Windows ISO file(From official Microsoft source)
  • Rufus or Microsoft Media Creation Tool(To create bootable USB installer)
  • External backup drive or cloud storage(Back up all important data)
  • Optional: GParted Live USB(If you need advanced partitioning)

Steps

Estimated time: 2-3 hours

  1. 1

    Back up all important data

    Before making any changes, copy your documents, photos, and other files to an external drive or cloud storage. Verify the backup by restoring a sample file to ensure data integrity.

    Tip: Use at least two independent backups if possible.
  2. 2

    Create Windows installation media

    Download Windows from the official source and write it to a USB drive using a tool like Rufus or the Microsoft Media Creation Tool. Ensure the USB is not corrupted and is larger than 8 GB.

    Tip: Use a fresh USB with nothing else on it.
  3. 3

    Prepare BIOS/UEFI boot settings

    Enter your system BIOS/UEFI settings and set the boot order to USB first. If Secure Boot is enabled, you may need to disable it temporarily depending on your hardware.

    Tip: Note the current settings before changing anything.
  4. 4

    Boot from the Windows USB and start installer

    Restart the PC with the USB inserted and boot into the Windows installer. Choose Custom installation to manage partitions.

    Tip: If you don’t see the USB option, use the one-time boot menu.
  5. 5

    Delete Linux partitions during Windows setup

    In the installer’s screen, delete Linux partitions (usually ext4 and swap). Create a new Windows partition from the free space or allow Windows to auto-create partitions.

    Tip: Make sure you are deleting the correct partitions to avoid data loss.
  6. 6

    Install Windows on the new partition

    Select the Windows partition and proceed with the installation. Follow on-screen prompts to complete the setup and reboot when prompted.

    Tip: Do not remove the USB until the installer finishes the first reboot.
  7. 7

    Install drivers and activate Windows

    After installation, install essential drivers, run Windows Update, and activate with a valid license key or digital entitlement.

    Tip: Have your Windows license ready just in case activation prompts appear.
  8. 8

    Repair boot if Windows won’t boot

    If you cannot boot, use Windows Recovery options to Repair Your Computer and restore the Windows boot loader. Recheck BIOS/UEFI boot order.

    Tip: Disabling fast startup can help during troubleshooting.
  9. 9

    Verify data and wipe Ubuntu remnants

    Boot into Windows, verify all devices work, and securely erase or remove leftover Ubuntu partitions if you want to reclaim the entire disk.

    Tip: Consider a full disk wipe if you plan to sell or recycle the machine.
Pro Tip: Always back up before changing partitions.
Warning: Power loss during installation can corrupt the disk; use an Uninterruptible Power Supply if available.
Pro Tip: If Windows can’t see free space, use Disk Management to shrink or remove Linux partitions first.
Note: Secure Boot may need to be disabled for older hardware.

Got Questions?

Is it possible to keep Ubuntu data when installing Windows?

Windows installation typically erases Linux partitions. You can preserve personal data on a separate partition or external drive, but system partitions will be overwritten. Always back up first.

Windows will usually erase Linux partitions during installation, so back up your data first and, if possible, keep personal files on an external drive.

Do I need to disable Secure Boot to install Windows after Ubuntu?

Some systems require Secure Boot to be disabled for Windows installation from USB on certain hardware configurations. Check your BIOS settings and re-enable later if needed.

In some cases, you’ll need to disable Secure Boot briefly during installation.

What if Windows doesn’t recognize the installation disk space?

Ensure the correct partition layout and that you are using a compatible installer. If needed, boot into BIOS/UEFI, switch between Legacy and UEFI mode, or use Disk Management to prepare space.

If Windows can’t see space, adjust BIOS settings or prepare partitions with Disk Management.

Will I lose Windows licensing if I wipe the drive?

Installing Windows on a new drive with a valid license or digital entitlement should activate automatically. Have your license key handy if activation prompts appear.

Windows activation should work with a valid license; keep your key handy if needed.

Can I dual-boot Windows and Ubuntu after removing Ubuntu?

After removing Ubuntu, you’ll be installing Windows on the primary drive. Dual-boot can be reconfigured later, but it requires separate partitions and careful bootloader management.

You can set up dual-boot later if you divide the drive and manage bootloaders carefully.

What if I don’t have a Windows license?

You should obtain a valid Windows license. In some cases, you can use an evaluation version temporarily, but activation will be required for continued use.

A valid license is needed for ongoing Windows use; consider official purchasing options.

Watch Video

Main Points

  • Back up data before starting
  • Use the official Windows installer to avoid spoofed ISOs
  • Delete Ubuntu partitions during Windows setup to reclaim space
  • Install drivers and activate Windows promptly after setup
  • Verify boot order and remove Linux remnants for a clean install
Process flow: Remove Ubuntu and install Windows steps

Related Articles