Windows 10 was preinstalled as the default operating system on my computer. I accidentally erased the Windows operating system from my primary drive and replaced it with Ubuntu Linux. I'm unable to undo it and reinstall Windows 10 on that drive. I want to install Windows 10 on the Ubuntu-containing drive and erase Ubuntu via a USB, but how can I do that?
To replace Ubuntu with Windows 10 via a USB on your computer, you need to format the hard drive (your primary hard drive) to remove the installed Ubuntu OS and perform a clean installation of Windows 10. It is worth noting that installing a fresh copy of Windows 10 will erase data and programs on your PC.
Here are some things you should know about this:
1️⃣You need to prepare a USB flash drive with at least 8GB of space and a disk partition with 20 - 50GB of storage space to install Windows 10.
2️⃣Once you download an ISO image of Windows 10 from Microsoft to create a bootable USB or use EaseUS OS2Go to create one.
3️⃣Boot from the bootable USB drive to install Windows 10.
There are the detailed steps you need to follow to do that:
When it comes to making a bootable USB, it is recommended to use a professional bootable USB creator - EaseUS OS2Go. It can help you create Windows bootable media without downloading the ISO file from Microsoft's official website.
If you clean install Windows 10, all of the data, including applications and files you installed on Ubuntu, will be lost. Therefore, remember to create a backup of your data before installing Windows 10.
🔗Related article: How to Create Windows 10 Live USB
Download the all-compatible Windows To Go creator.
Use EaseUS OS2Go to create portable Windows USB drive, and use your customized Windows serttings on any other PC or Mac .
How Long Does it Take to Install Windows 10 from a USB Drive?
Do you know how long does it take to install Windows 10 from a USB drive? This article will tell you the average time to install Windows 10 from a USB and offer a tool called EaseUS Todo Backup to protect your data.
Jerry
Jan 21, 2026
Can I Use My Bootable USB Again?
Can I use my bootable USB again? Can I reuse it as a regular USB? And how to create a bootable USB easily? Do not worry, you will get all tips you need in this post.
Rel
Jan 21, 2026
Can't Install Windows 10 on Nvme
If you can't install Windows on NVMe drive, don't be concerned. This post will help you do it successfully.
Larissa
Jan 21, 2026
What Size USB is Needed for Windows 10 Recovery?
What size USB is needed for Windows 10 recovery? 16GB, 20GB, or a larger one? For this kind of question, you can find the right answer on this page.
Jane Zhou
Jan 21, 2026
How Do I Uninstall Ubuntu and Install Windows 10?
I want to uninstall my Ubuntu and get Windows 10 backup, but how do I uninstall Ubuntu and install Windows 10? Do not worry. This article will tell you how to uninstall Ubuntu and install Windows 10 and offer a tool to help you.
Jerry
Jan 21, 2026
Do You Need to Reinstall Windows After Replacing the CPU?
Do you need to reinstall Windows after replacing the CPU? Are you curious about the answer? This article will tell whether you need to reinstall Windows after upgrading your CPU.
Jerry
Jan 21, 2026