sodcalculator

10 Tech How-To

Install Windows 10 From a Hard Drive: Step-by-Step

Guide 10-20804 · Updated · Step by step

This guide shows you how to install Windows 10 directly from a system hard drive, bypassing the need for a USB flash drive or DVD. You’ll use a partition on your existing drive to hold the Windows 10 setup files, then boot from that partition to start the installation. This method is useful when you don’t have a spare USB drive, your system lacks a DVD drive, or you simply prefer to work with what you already have.

What You’ll Need

  • A working computer with an internet connection to download the Windows 10 ISO file.
  • A system hard drive with at least 8 GB of free space (a separate partition is recommended, but not strictly required).
  • Software to extract the ISO file (e.g., 7-Zip, WinRAR, or built-in Windows tools).
  • A tool to set the partition active (DiskPart works fine, or a third-party partition manager).
  • Your Windows 10 product key (if you have one; you can also install without one and activate later).

Step-by-Step

  1. Download the Windows 10 ISO – Go to Microsoft’s official download page and download the Windows 10 ISO file. Choose the edition and language that match your needs.
  2. Prepare a partition – Open Disk Management (right-click Start → Disk Management). Shrink your main partition or use free space to create a new partition (e.g., 10 GB). Format it as NTFS and assign a drive letter (e.g., D:).
  3. Extract the ISO contents – Mount the ISO by double-clicking it, or extract it using 7-Zip/WinRAR. Copy all files and folders from the ISO to the new partition (D:). Make sure the root of D: contains the setup.exe file and folders like sources.
  4. Set the partition active – Open Command Prompt as Administrator. Type diskpart, then list disk, select disk X (where X is the disk number), list partition, select partition Y (where Y is the partition you prepared), and finally active. Close DiskPart.
  5. Restart your computer – Restart the PC and enter the BIOS/UEFI setup (usually by pressing Del, F2, or F12 during boot). Change the boot order to boot from the hard drive first (the same drive you prepared). If your system supports it, you may see a boot menu option for the partition.
  6. Boot from the partition – Save changes and exit BIOS. Your computer should now boot from the partition you made, launching the Windows Setup. If it doesn’t, go back to BIOS and ensure the drive is first in boot order, and that UEFI/Legacy boot mode matches your disk type (GPT for UEFI, MBR for Legacy).
  7. Run Windows Setup – Once the setup loads, choose your language and click “Install now”. Enter your product key if you have one, or click “I don’t have a product key” to continue (you can activate later).
  8. Select installation type – Choose “Custom: Install Windows only (advanced)”. Select the partition where you want to install Windows (usually the main partition, not the one with the setup files). You can format it if needed, but be aware that this erases all data on that partition.
  9. Complete installation – Follow the on-screen prompts to finish the installation. The PC will restart several times. After the last restart, you’ll go through the out-of-box experience (OOBE) – setting up your account, privacy settings, etc.
  10. Clean up – After installation, you can delete the partition that contained the setup files to reclaim space. Use Disk Management to remove it and extend your main partition if desired.

Common Mistakes

  • Not setting the partition active – If you skip the active command, the BIOS won’t recognize the partition as bootable, and you’ll get an error like “No bootable device”.
  • Copying files to the wrong location – The setup files must be at the root of the partition, not inside a subfolder. Double-check that setup.exe is directly on the drive.
  • Choosing the wrong partition during installation – Selecting the partition with your setup files as the installation target will overwrite the setup files mid-installation, causing errors. Always install to a different partition.
  • Incorrect boot mode – If your disk is GPT, you need UEFI boot; if MBR, Legacy. Mismatched modes will prevent booting.
  • Forgetting to back up data – Any partition you format during installation will lose all data. Always back up important files beforehand.

Tips

  • Use a separate partition for the setup files – it’s safer and makes cleanup easier.
  • If you’re installing over an existing Windows system, you can run setup.exe from within Windows to start an upgrade, but for a clean install, booting from the partition is more reliable.
  • Keep your product key handy, but note that Windows 10 can be installed without a key and activated later.
  • If your BIOS doesn’t show a boot option for the partition, try using a boot manager like EasyBCD to add an entry for the partition.
  • Make sure your hard drive has enough space – at least 20 GB free for Windows 10 itself, plus extra for updates and programs.

Troubleshooting

  • “No bootable device” error – Check that the partition is active (repeat the DiskPart steps). Also verify the boot order in BIOS and that the drive is recognized. Try resetting BIOS to defaults if needed.
  • Setup doesn’t start, but the partition is bootable – Ensure the partition is NTFS and the files are extracted correctly. Re-copy the ISO contents, making sure no files are corrupted.
  • Installation fails with “Windows cannot be installed to this disk” – This often means the disk is GPT while booting in Legacy mode, or vice versa. Switch the boot mode in BIOS, or use DiskPart to convert the disk (this erases all data).
  • Boot loop after installation – This may be due to leftover boot entries. Use the Windows installation media (or the setup partition) to access “Repair your computer” and run Startup Repair.
  • Partition not showing in BIOS boot menu – Some BIOSes don’t list individual partitions. Try using a boot manager like GRUB or EasyBCD to add an entry, or re-check that the partition is active.
  • Setup asks for a driver – If you’re installing on a RAID or NVMe drive, you may need to load the driver manually. Download the driver from the manufacturer and have it on a USB drive.

Frequently Asked Questions

Can I install Windows 10 from the same hard drive I’m installing to?

Yes, you can, as long as you create a separate partition for the setup files and boot from it. The installation will target a different partition, so the setup files remain intact during the process.

Do I need a product key to install Windows 10?

No, you can install without a key by clicking “I don’t have a product key”. Windows will run unactivated, with minor customization restrictions, until you activate it later.

Will this method work on a laptop?

Yes, as long as the laptop’s BIOS allows booting from an internal hard drive partition. Most do. Some UEFI systems may require secure boot to be disabled.

How long does the installation take?

The installation itself typically takes 20-30 minutes, but the total time depends on your hardware speed, especially the hard drive and CPU. The file extraction and copying steps add another 10-15 minutes.

Can I delete the setup partition after installation?

Yes, after Windows is installed, you can delete the partition to reclaim space. Use Disk Management to delete it and then extend your main partition if needed.

What if I don’t have a Windows 10 ISO?

You can download the official ISO from Microsoft’s website for free. You’ll need a valid product key to activate, but the ISO itself is freely available.

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

The whole Tech How-To bed →