This guide walks you through installing Windows on a new or replacement hard drive, covering both the clean install process and the key settings that affect how your system boots. You’ll learn how to create installation media, boot from it, partition the drive correctly, and finish the setup so Windows runs reliably on the new hardware.
What You’ll Need
- A Windows installation USB drive (8 GB or larger) or a DVD with Windows installation files
- Another working computer to create the installation media
- Your Windows product key (if you’re not reinstalling the same digital license tied to your Microsoft account)
- Access to your PC’s BIOS/UEFI settings (usually by pressing Del, F2, F10, or Esc during startup)
- An internet connection for driver updates and activation (recommended, not always required)
Step-by-Step
- Create Windows installation media. On another computer, go to Microsoft’s official software download page and download the Media Creation Tool. Run it, choose “Create installation media for another PC,” select your language and edition, and choose USB flash drive. Follow the prompts to write the installer to the drive.
- Back up any data you need. If the old drive still works, copy important files to an external drive or cloud storage. Replacing the drive means the old data won’t be on the new one unless you clone it.
- Install the new hard drive. Power off the PC, unplug the power cable, open the case, and mount the new drive in a free bay. Connect the SATA data cable to the motherboard and the SATA power cable from the power supply. For NVMe drives, insert into the M.2 slot and secure with the screw. Close the case and plug everything back in.
- Enter BIOS/UEFI. Turn on the PC and press the key shown on the screen (often Del or F2) to enter setup. Confirm the new drive is detected in the storage or boot section.
- Set boot order to the USB drive. In BIOS/UEFI, go to Boot Options or Boot Order, and move the USB drive (or DVD) to the top. If you have UEFI mode, make sure the USB is listed as a UEFI device. Save changes and exit.
- Boot from the installation media. The PC should restart and show the Windows logo. If you see “Press any key to boot from CD or DVD,” press a key quickly.
- Start the installer. Choose your language, time, and keyboard, then click Next and “Install now.” Accept the license terms.
- Choose Custom install. When asked for installation type, select “Custom: Install Windows only (advanced).” This is essential when installing on a new drive.
- Partition the drive. You’ll see a list of unallocated space. Select the unallocated space and click “New,” then “Apply.” Windows may create several small partitions (System, MSR, Recovery) – that’s normal. Select the largest partition (usually named Primary) and click Next.
- Wait for the installation. Windows will copy files, expand them, install features, and restart several times. Don’t remove the USB drive until you see the desktop setup screen.
- Complete the out-of-box experience. Choose your region, keyboard layout, and sign in with a Microsoft account or create a local account. Set a PIN or password.
- Install drivers and updates. After reaching the desktop, go to Settings > Windows Update and check for updates. Install any missing drivers, especially for the chipset, network, and graphics. Most modern Windows versions handle this automatically.
- Activate Windows. Go to Settings > System > Activation. If you had a digital license linked to your Microsoft account, it should activate automatically. Otherwise, enter your product key.
Common Mistakes
- Not changing the boot order, so the PC boots from the old drive or shows a “No bootable device” error.
- Choosing “Upgrade” instead of “Custom” – this can cause errors when the old OS isn’t on the drive.
- Deleting all partitions and installing on unallocated space – this is fine, but you might lose the recovery partition if you delete it. Windows recreates what it needs.
- Installing on a drive that isn’t properly connected – check SATA cables and power connections if the drive isn’t listed.
- Forgetting to back up data from the old drive before removing it.
- Using a USB 3.0 port for a USB 2.0 installation media – this can cause boot issues on older systems.
Tips
- If your PC is older and uses BIOS (not UEFI), make sure the USB is formatted as MBR. The Media Creation Tool handles this automatically, but if you’re using a custom ISO, you may need to use a tool like Rufus.
- During partitioning, if you see multiple partitions, delete them all and start with unallocated space. This gives a clean slate.
- Have your Wi-Fi password ready, as Windows will ask for a network connection during setup.
- If you have an SSD, make sure it’s connected to a SATA port that supports the full speed (often SATA 3 or 6 Gb/s).
- After installation, run Windows Update multiple times until no more updates are found.
- Consider creating a system restore point right after installation, so you can revert if something goes wrong later.
Troubleshooting
- PC doesn’t boot from USB: Re-enter BIOS and check the boot order. Try a different USB port (preferably a rear port). If it still doesn’t work, recreate the media with the Media Creation Tool, ensuring the USB is properly formatted.
- “No bootable device” error: This means the installer didn’t write boot files correctly, or the drive isn’t recognized. Check SATA connections, and in BIOS, ensure the drive is detected. If you have multiple drives, temporarily disconnect the old one to avoid confusion.
- Windows installation freezes: Sometimes caused by faulty RAM or a bad USB drive. Try a different USB port, re-create the media, or test your RAM with MemTest86.
- Partitioning error: If you get “Windows cannot be installed to this disk,” you may need to convert the disk to GPT if you’re using UEFI. In the installer, press Shift+F10 to open Command Prompt, type
diskpart, thenlist disk,select disk 0,clean,convert gpt, and then refresh the partition window. - Activation fails: If Windows doesn’t activate, run the Activation troubleshooter in Settings > System > Activation. Sign in with the Microsoft account that was linked to your previous installation.
- No drivers for network: Windows usually includes basic drivers, but if not, download the network driver from the motherboard manufacturer’s website on another PC and transfer it via USB.
Frequently Asked Questions
- Do I need a new product key if I replace the hard drive? No, if you had a digital license tied to your Microsoft account, you can reactivate without a key. If you have a retail key, you can reuse it. Only OEM keys tied to the original motherboard may not transfer if you also changed the motherboard.
- Can I clone my old drive instead of doing a fresh install? Yes, you can use cloning software to copy the old drive to the new one. This is faster if the old drive is still working. However, a clean install is often more reliable and avoids driver conflicts.
- How long does the installation take? Typically 20-40 minutes for the core installation, depending on the drive speed and system. After that, updates and driver installation can take another 30-60 minutes.
- Should I install Windows on an SSD or HDD? SSD is strongly recommended for faster boot times and overall responsiveness. If you have both, install Windows on the SSD and use the HDD for storage.
- What if my new drive isn’t showing up in BIOS? Check the SATA power and data cables. For M.2 drives, ensure it’s fully seated and the screw is tight. Some motherboards disable certain SATA ports when an M.2 is installed – check your motherboard manual.
- Can I install Windows without a product key? Yes, you can skip entering a key during installation, and Windows will run in an unactivated state with limited customization options. You can activate later with a key or digital license.
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
- Spotify Jam Not Working on Mobile? Fixes That Work
- Windows 10 No Internet Secured WiFi Error Fix
- Multi-Cloud GPU Failover Design Guide
- Error Code Currant Destiny? Meaning & Fixes
- AirPlay with Roku Multi-Device Setup: A How-To
- How to Set a Timer on iPhone (iOS 18 & 17)