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 .
Can Windows 10 Boot from NTFS USB?
Can Windows 10 boot from NTFS USB? Do you want to know the answer? If so, this short post can help you. After reading this post, you will learn whether Windows 10 can boot from an NTFS USB.
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 I Use exFAT for Bootable USB on Windows 10?
exFAT is usually used for bootable USB on Mac. And some people are wondering: Can I use exFAT for bootable USB Windows 10? Here we give you the answer and some necessary information about it.
Alin
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
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
Jun 12, 2026
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