When a hard drive fails, Windows won’t boot, and your data may seem lost. This guide walks you through replacing the failed drive, creating a bootable Windows installer, and reinstalling Windows from scratch. You’ll need a working computer to prepare the installer and a new drive to install onto.
What You’ll Need
- A new hard drive or SSD (SATA or NVMe, depending on your system)
- A USB flash drive with at least 8 GB capacity
- A working computer with internet access to download Windows
- Your Windows product key (optional, but helpful for activation)
- A screwdriver and anti-static precautions (if opening a desktop)
Step-by-Step
- Back up what you can (if possible). If the old drive still spins up occasionally, try to copy important files to an external drive or cloud storage before removing it. If it’s completely dead, skip this step.
- Create a Windows installation USB. On a working computer, go to the official Microsoft software download page and download the Media Creation Tool. Run it, select “Create installation media for another PC,” choose your language and edition, then select “USB flash drive.” Insert your USB drive and follow the prompts. This will erase the USB and make it bootable.
- Install the new hard drive. Power off your computer, unplug it, and open the case. Ground yourself by touching a metal part of the case. Remove the old drive (if still installed) and mount the new drive in the same bay. Connect the SATA data cable and power cable, or secure an NVMe drive in its M.2 slot. Close the case and plug the computer back in.
- Boot from the USB drive. Turn on the computer and press the boot menu key (usually F12, F10, Esc, or Del, depending on the manufacturer) repeatedly as it starts. Select the USB drive from the boot menu. If it doesn’t appear, enter BIOS/UEFI settings and change the boot order to prioritize USB.
- Start Windows Setup. When the Windows logo appears, choose your language, time, and keyboard layout, then click “Next” and “Install now.” If prompted for a product key, enter it or click “I don’t have a product key” to continue (you can activate later).
- Select the custom install. When asked for the installation type, choose “Custom: Install Windows only (advanced).” This is essential when replacing a drive.
- Delete old partitions (if any). If the new drive has existing partitions (from a previous use), select each partition and click “Delete.” This will show as unallocated space. Be absolutely sure you’re on the correct drive—deleting partitions erases all data.
- Install to unallocated space. Select the unallocated space and click “Next.” Windows will automatically create the necessary partitions and begin copying files. The computer will restart several times; do not remove the USB until setup completes.
- Complete out-of-box setup. After the final restart, Windows will guide you through setting up your region, keyboard, and account. Sign in with a Microsoft account or create a local account. Follow the prompts to finish.
- Install drivers and updates. Once on the desktop, go to Settings > Windows Update and run updates. Install drivers for your motherboard, graphics card, and other hardware from the manufacturer’s website if Windows doesn’t automatically find them.
Common Mistakes
- Deleting the wrong drive: During custom install, you might accidentally wipe a secondary data drive. Double-check the drive number and size.
- Forgetting to change boot order: If the computer boots from the old drive or shows a black screen, the USB may not be first in the boot order.
- Using a USB with less than 8 GB: The installer won’t fit, or it may fail midway.
- Pulling the USB too early: If you remove the USB before the first restart, setup may fail.
- Skipping driver installation: Without proper drivers, you may have no network, no sound, or poor display.
Tips
- Use an SSD if possible; it will make Windows feel much faster than a mechanical drive.
- Keep your product key handy—it’s often on a sticker on the case or in your Microsoft account.
- If you have a laptop, check the service manual for how to access the drive bay; it may require removing the bottom panel.
- After installation, enable BitLocker (Windows Pro) or use device encryption to protect your data.
- Consider cloning your old drive before replacing it if it still works—this saves reinstalling apps.
Troubleshooting
- Computer doesn’t boot from USB: Enter BIOS/UEFI (usually Del or F2), disable Secure Boot temporarily, and ensure USB is first in boot order. On some systems, you need to enable “Legacy Boot” or “CSM” for the USB to appear.
- Setup says “Windows cannot be installed to this drive”: This often happens on GPT/UEFI systems when the drive is MBR. Delete all partitions to create unallocated space, or use Shift+F10 to open Command Prompt and run
diskpart, thencleanto wipe the drive. - Blue screen or freeze during installation: This can be a failing USB, bad RAM, or overheating. Try a different USB port (preferably USB 2.0), recreate the USB with the Media Creation Tool, or test your RAM with MemTest86.
- No network after install: Windows may not have the driver for your Ethernet or Wi-Fi chip. Download the driver on another device and transfer it via USB, or connect via Ethernet if that works.
- Activation fails: If you replaced the drive, Windows may not auto-activate. Use the Activation troubleshooter in Settings > System > Activation, or enter your product key manually.
Frequently Asked Questions
Can I reinstall Windows without a product key?
Yes. You can skip the key during setup. Windows will run unactivated, with some personalization disabled. If your PC previously had Windows 10 or 11, it will often activate automatically based on the digital license tied to your hardware.
Will I lose all my data?
If the old drive is dead, the data is likely unrecoverable without professional services. If the drive still works, you can back up files before reinstalling. The new drive will be wiped during installation.
How do I know if my new drive is detected?
In BIOS/UEFI, check the storage section. If it doesn’t appear, reseat the cables, try a different SATA port, or check if the M.2 slot is compatible with your SSD type.
Can I install Windows on an external drive?
It’s possible but not recommended. Windows can be installed on a USB or Thunderbolt drive, but performance will be poor, and some features like BitLocker may not work.
How long does the installation take?
Typically 20-40 minutes for the file copy and setup, depending on the drive speed and system. The entire process, including updates and drivers, may take 1-2 hours.
What if I don’t have a USB drive?
You can use a DVD if your computer has an optical drive, or use the Windows Media Creation Tool to create an ISO file and burn it to a DVD. Alternatively, you can run setup from within an existing Windows installation, but that won’t work if the drive is dead.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Unfortunately App Has Stopped: Step-by-Step
- Restart a Frozen Samsung Galaxy A12
- HomePod Stereo Pair with AirPlay 2 from iPhone
- Pixel & Pixel XL No Sound: Solved?
- How to Edit Playlists on iPhone
- Open Apps From Anywhere on macOS Sierra