How to Install Windows Directly From Your Hard Drive
In this article
Installing Windows directly from your hard drive means you copy the Windows setup files to a folder on a drive that is already in (or attached to) the PC, then boot the installer from there instead of from a USB stick or DVD. It works, but only in a narrow set of situations, and it is not the method Microsoft recommends for a clean install. The short version: extract the Windows ISO to a folder on a secondary drive or partition, add a small boot entry with the installer's boot files, and start Setup from that entry. Before you begin, back up everything you care about, because any install can go wrong and a failed attempt can leave the machine unbootable until you fix it with a USB drive.
What You'll Need
- A Windows PC that currently boots, with enough free space for the extracted ISO (roughly 5–6 GB for Windows 10 or 11) on a drive other than the one you plan to install to.
- The official Windows ISO, downloaded from Microsoft's own download page for Windows 10 or Windows 11. Do not use third-party mirrors.
- A tool that can mount or extract an ISO. Windows itself can mount an ISO by double-clicking it in File Explorer, and built-in extraction works for copying the files out.
- Administrator rights on the PC.
- A working USB drive (8 GB or larger) kept nearby as a fallback. If the hard-drive boot entry fails, the USB installer is how you recover.
- A note of your product key or a Microsoft account linked to the licence, in case Setup asks for activation.
Step-by-Step
- Back up your data first. Copy personal files, browser profiles, licence keys and anything irreplaceable to an external drive or cloud storage. A clean install wipes the target partition, and a failed boot attempt can make the current Windows unbootable until you repair it.
- Download the official ISO. Go to Microsoft's Windows download page in a browser, choose the version you are licensed for, and save the ISO to a folder on a drive that is not the install target. The download is several gigabytes, so use a wired connection if you can.
- Create a folder for the setup files. On a secondary drive or a separate partition, make a folder such as WinSetup. It must not be on the partition you intend to format during installation, because Setup cannot read its own source files from a drive it is wiping.
- Mount the ISO. In File Explorer, right-click the ISO and choose Mount (or double-click it). Windows assigns it a drive letter and shows the contents as if it were a disc. If your version of Windows does not offer Mount, use a reputable archive tool to extract the ISO instead.
- Copy the contents. Select everything inside the mounted ISO and copy it into your WinSetup folder. Wait for the copy to finish completely before closing the mounted drive; a half-copied source is the most common cause of Setup failing partway through.
- Make the folder bootable. This is the part most guides skip. Copying files alone does not create a boot entry. You need to add the installer's boot files to the PC's boot menu. The reliable way is to use the built-in bcdboot command: open Command Prompt as administrator, then run bcdboot X:\boot /s C: /l en-us, replacing X: with the drive letter of your WinSetup folder and C: with the drive letter of your current system partition. This copies the boot manager and creates a new entry pointing at the installer.
- Restart and pick the new entry. Reboot the PC and open the boot menu (usually F12, F11 or Esc at startup, depending on the manufacturer). Choose the entry that bcdboot created. If your firmware does not show it, you may need to select it from the Windows boot menu instead.
- Run Setup. Windows Setup starts from the hard drive. Choose your language and keyboard, then pick Custom: Install Windows only (advanced) for a clean install. Select the target partition, format it if needed, and let Setup copy files and restart. During the restarts, do not boot back into the old entry; let the new installation continue.
- Remove the temporary entry afterwards. Once Windows is running normally, open an elevated Command Prompt and use bcdedit to delete the extra boot entry, then delete the WinSetup folder to reclaim the space.
Common Mistakes
The biggest one is putting the setup files on the same partition you plan to format. Setup needs to read those files throughout the install, and once the partition is wiped the source disappears mid-install. Another frequent error is copying only part of the ISO, or copying from a mounted ISO and closing the mount before the copy finishes, which produces a source that looks complete but is missing files. People also forget the bcdboot step entirely and wonder why the PC never offers to boot from the folder. Finally, do not download ISOs from unofficial sites: modified images can contain malware and may fail activation.
Tips
Keep a USB installer on hand even if you plan to use the hard-drive method; it is the fastest recovery if the boot entry does not work. Use a wired connection for the ISO download and verify the copy finished by checking the folder size against the ISO. If you are installing to a laptop with limited ports, do the copy work while plugged in so a power loss does not corrupt the source. Note the drive letters before you start, since they can shift between reboots. And if you are not comfortable with command-line tools, the USB method is simpler and better supported, so use that instead.
Troubleshooting
If the new boot entry does not appear, re-run the bcdboot command and check that you used the correct drive letters; drive letters can change after a reboot. If Setup starts but fails partway with a missing-file error, the source copy is incomplete: recopy the ISO contents and try again. If the PC boots straight into the old Windows, open the boot menu manually at startup rather than relying on the default order. If Setup cannot see the target drive, you may need to load a storage driver during Setup, which is easier from a USB installer. If the machine will not boot at all after a failed attempt, start from the USB installer, choose Repair your computer, and use the startup repair option. As a last resort, a clean install from USB will get you running again, though it wipes the target drive.
Frequently Asked Questions
Can I install Windows from a folder on the same drive I'm installing to?
No. Setup reads its source files during installation, and formatting that partition removes them. Use a different drive or partition.
Is this method officially supported by Microsoft?
Microsoft's documented method is a USB or DVD installer. Booting from a hard-drive folder works but is not the recommended path, which is why keeping a USB fallback matters.
Will this delete my files?
A custom (clean) install formats the target partition and removes everything on it. Back up first, and choose the correct partition carefully.
Do I need a product key?
Often Windows activates automatically from a digital licence tied to the hardware or your Microsoft account. Keep the key handy in case Setup asks.
Can I do this on a PC that won't boot?
No. This method needs a working Windows to prepare the files and boot entry. Use a USB installer instead.