How to Get Windows 10 Back After Replacing Your Hard Drive
In this article
You can get Windows 10 back after replacing a hard drive by reinstalling it from official Microsoft media and then restoring your files from a backup. The new drive is blank, so Windows has to be installed fresh; the license usually reactivates automatically because it is tied to your PC's hardware, not the old disk. Before you start, confirm you have your files backed up somewhere else, because the old drive will no longer be in the machine.
What You'll Need
- A working Windows PC (any modern version) and a blank USB flash drive of at least 8 GB. Everything on the USB drive will be erased.
- Your new hard drive or SSD already installed in the PC, plus the small SATA or power cables connected correctly if it is a desktop.
- Your Microsoft account details, or the product key if Windows came with a key sticker or you bought a retail copy.
- A backup of your personal files from the old drive, on an external drive or cloud storage.
- Internet access during setup, and ideally the network driver for your PC on a second USB stick in case Windows Setup cannot see your Wi-Fi or Ethernet adapter.
Step-by-Step
- Back up the old drive first if you have not already. Connect it to another working PC with a USB-to-SATA adapter or put it in an external enclosure, then copy your Documents, Pictures, Desktop and any other folders you need. If the old drive is failing, copy the most important files first.
- Create the Windows 10 installation USB. On a working PC, go to Microsoft's official Windows 10 download page and use the Media Creation Tool. Choose the option to create installation media for another PC, select the language and edition, choose USB flash drive, and let the tool write the files. This takes a while and the USB drive will be wiped.
- Shut down the PC and disconnect the old drive if it is still inside. With the new drive installed, unplug any other data drives so Windows Setup cannot accidentally write to them. Leave only the new drive and the USB installer connected.
- Boot from the USB drive. Power on and press the boot menu key for your PC (commonly F12, F11, F8 or Esc; the exact key varies by manufacturer and is shown briefly on the splash screen). Select the USB drive from the list. If the PC boots straight into an old system or a "no bootable device" message, enter the BIOS/UEFI settings and set the USB drive first in the boot order.
- Start the installation. Choose your language and keyboard layout, then click Install now. When asked for a product key, click "I don't have a product key" if Windows was previously activated on this PC; it will activate later over the internet. Select the edition that matches what you had (usually Windows 10 Home or Pro).
- Choose Custom: Install Windows only (advanced). This is the option for a blank drive. Select the unallocated space on the new drive and click Next; Setup creates the required partitions automatically. Do not format or delete partitions on any other drive you may have left connected.
- Wait for the files to copy and the PC to restart. Do not remove the USB drive until Setup tells you it will restart, and if the PC boots from the USB again, remove it at that restart or change the boot order back to the internal drive.
- Complete the out-of-box setup. Choose your region, keyboard, network and account. Sign in with the same Microsoft account you used before if you want your settings and Store purchases to follow you. Let Windows check for updates.
- Check activation. Open Settings > Update & Security > Activation. It should say Windows is activated with a digital license. If it does not, run the activation troubleshooter from that same screen and sign in with the Microsoft account linked to the license.
- Install drivers and updates. Run Windows Update repeatedly until no updates remain, then install the chipset, graphics, audio and network drivers from your PC or motherboard manufacturer's support page. Device Manager can show any devices still missing drivers.
- Restore your files and reinstall your programs. Copy your backup back into the appropriate user folders. Reinstall applications from their official installers or stores; do not copy old program folders from the previous drive, because registry entries and dependencies will be missing.
Common Mistakes
- Not backing up before removing the old drive. Once the drive is out, a failed install leaves you with no working system and no access to your files unless you can connect the old drive elsewhere.
- Leaving other drives connected during setup. Windows Setup can place boot files on a second drive, which then breaks booting if that drive is removed later. Disconnect everything except the target drive.
- Choosing the Upgrade option instead of Custom. Upgrade expects an existing Windows installation. On a blank drive, Custom is the correct choice.
- Downloading Windows from a third-party site. Use only Microsoft's official download page and Media Creation Tool. Modified ISOs can contain malware or break activation.
- Assuming a new drive includes Windows. New internal drives are blank. Only some pre-built PCs ship with a recovery partition or media; a bare replacement drive does not.
- Forgetting the network driver. A fresh install may not include the Wi-Fi or Ethernet driver for newer hardware, leaving you offline. Keep the driver on a separate USB stick.
Tips
- If your PC originally came with Windows 10 and you never changed the motherboard, the digital license normally reactivates on its own after the install connects to the internet. Linking the license to your Microsoft account beforehand makes recovery easier.
- Use an SSD rather than a mechanical hard drive if you are buying a replacement; the difference in boot and app load times is large.
- Keep the installation USB drive. It doubles as a recovery tool for startup repairs later.
- After setup, turn on System Restore and set up File History or another backup so the next drive failure is less painful.
- If you need to read files from the old drive after installing Windows, connect it with a USB adapter rather than swapping it back in; the new install stays intact.
Troubleshooting
The PC will not boot from the USB drive. Re-enter the BIOS/UEFI settings and check the boot order, and make sure the USB was written by the Media Creation Tool rather than copied as files. On some systems, Secure Boot or a USB 3.0 port can interfere; try another port and check the boot menu again.
Setup cannot find the new drive. Check the SATA and power cables, and confirm the drive appears in the BIOS. Some newer laptops need a storage driver loaded during setup from the manufacturer's support page; put it on a USB stick and use the Load driver option on the drive selection screen.
Windows installs but will not activate. Open Settings > Update & Security > Activation and run the troubleshooter. If it still fails, confirm you installed the same edition (Home versus Pro) that was previously activated, and that you are signed in with the Microsoft account the license is linked to. A retail product key can also be entered manually on that screen.
No internet after setup. Install the network driver from the manufacturer's support page using another PC and a USB stick, then run Windows Update.
The PC boots to a black screen or "no bootable device". Reconnect the USB installer, boot from it, and use Repair your computer > Startup Repair. If that fails, reinstall Windows, this time with only the target drive connected.
Frequently Asked Questions
Do I have to buy Windows 10 again after replacing the hard drive?
No, in most cases. The digital license is tied to the PC's hardware, so a new drive does not invalidate it. Reinstall the same edition and let it activate online.
Can I move my old Windows installation to the new drive instead of reinstalling?
Yes, with disk-cloning software that copies the old drive to the new one before you swap them. The new drive must be equal to or larger than the used space on the old one. Cloning preserves your programs and files, but a clean install is more reliable if the old system was unstable.
Will I lose my files when I replace the hard drive?
The new drive starts empty, so your files are only on the old drive until you copy them. Back them up to an external drive or cloud storage before removing the old drive.
Where do I download Windows 10?
From Microsoft's official Windows 10 download page, using the Media Creation Tool. Avoid third-party ISO sites.
Can I install Windows 10 on a new drive without a product key?
Yes. Click "I don't have a product key" during setup if the PC was previously activated. Windows will activate automatically once it connects to the internet and recognises the hardware.
What if my PC came with Windows 11 and I want Windows 10 back?
You can install Windows 10 from Microsoft's media, but check that your PC's manufacturer provides Windows 10 drivers for that model first. Some newer hardware is only fully supported on Windows 11.